Factorization¶
This section regroups all of the linear algebra functions concerning factorization which are currently implemented within castor. In order to access these functions, the user must include castor/linalg.hpp
. Two levels of interface are available. The high-level interface provides functions with simplified arguments while the low-level interface is much closer to the BLAS/LAPACK API.
Some examples of use may also be found at Linear algebra.
aca¶
Warning
doxygenfunction: Unable to resolve function “aca” with arguments (matrix<T> const&, matrix<T> const&, double, std::size_t) in doxygen xml output for project “castor” from directory: ../xml. Potential matches:
- auto aca(matrix<std::size_t> I, matrix<std::size_t> J, std::function<matrix<double>(matrix<std::size_t>, matrix<std::size_t>)> const &fct, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- auto aca(matrix<std::size_t> I, matrix<std::size_t> J, std::function<matrix<std::complex<double>>(matrix<std::size_t>, matrix<std::size_t>)> const &fct, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- template<typename T> auto aca(matrix<T> const &A, matrix<T> const &B, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- template<typename T> auto aca(matrix<T> const &M, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
Warning
doxygenfunction: Unable to resolve function “aca” with arguments (matrix<T> const&, double, std::size_t) in doxygen xml output for project “castor” from directory: ../xml. Potential matches:
- auto aca(matrix<std::size_t> I, matrix<std::size_t> J, std::function<matrix<double>(matrix<std::size_t>, matrix<std::size_t>)> const &fct, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- auto aca(matrix<std::size_t> I, matrix<std::size_t> J, std::function<matrix<std::complex<double>>(matrix<std::size_t>, matrix<std::size_t>)> const &fct, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- template<typename T> auto aca(matrix<T> const &A, matrix<T> const &B, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- template<typename T> auto aca(matrix<T> const &M, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
Warning
doxygenfunction: Unable to resolve function “aca” with arguments (matrix<std::size_t>, matrix<std::size_t>, std::function<matrix<std::complex<double>>(matrix<std::size_t>, matrix<std::size_t>)> const&, double, std::size_t) in doxygen xml output for project “castor” from directory: ../xml. Potential matches:
- auto aca(matrix<std::size_t> I, matrix<std::size_t> J, std::function<matrix<double>(matrix<std::size_t>, matrix<std::size_t>)> const &fct, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- auto aca(matrix<std::size_t> I, matrix<std::size_t> J, std::function<matrix<std::complex<double>>(matrix<std::size_t>, matrix<std::size_t>)> const &fct, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- template<typename T> auto aca(matrix<T> const &A, matrix<T> const &B, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- template<typename T> auto aca(matrix<T> const &M, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
Warning
doxygenfunction: Unable to resolve function “aca” with arguments (matrix<std::size_t>, matrix<std::size_t>, std::function<matrix<double>(matrix<std::size_t>, matrix<std::size_t>)> const&, double, std::size_t) in doxygen xml output for project “castor” from directory: ../xml. Potential matches:
- auto aca(matrix<std::size_t> I, matrix<std::size_t> J, std::function<matrix<double>(matrix<std::size_t>, matrix<std::size_t>)> const &fct, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- auto aca(matrix<std::size_t> I, matrix<std::size_t> J, std::function<matrix<std::complex<double>>(matrix<std::size_t>, matrix<std::size_t>)> const &fct, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- template<typename T> auto aca(matrix<T> const &A, matrix<T> const &B, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)
- template<typename T> auto aca(matrix<T> const &M, double tol = 1e-6, std::size_t rmax = 1e6, bool acaplus = true)