.. _label-factorization-func: 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 :ref:`label-linear-algebra-advanced`. .. _label-aca: aca --- .. doxygenfunction:: aca(matrix const &A, matrix const &B, double tol = 1e-6, std::size_t rmax = 1e6) :project: castor .. doxygenfunction:: aca(matrix const &M, double tol = 1e-6, std::size_t rmax = 1e6) :project: castor .. doxygenfunction:: aca(matrix I, matrix J, std::function>(matrix, matrix)> const &fct, double tol = 1e-6, std::size_t rmax = 1e6) :project: castor .. doxygenfunction:: aca(matrix I, matrix J, std::function(matrix, matrix)> const &fct, double tol = 1e-6, std::size_t rmax = 1e6) :project: castor See :ref:`label-svd`, :ref:`label-rank`. .. _label-lu: lu -- .. doxygenfunction:: lu(matrix> const &A) :project: castor .. doxygenfunction:: lu(matrix const &A) :project: castor .. doxygenfunction:: lu(matrix> const &A) :project: castor .. doxygenfunction:: lu(matrix const &A) :project: castor See :ref:`label-qr`, :ref:`label-linsolve`, :ref:`label-inv`. .. _label-qr: qr -- .. doxygenfunction:: qr(matrix> const &A) :project: castor .. doxygenfunction:: qr(matrix const &A) :project: castor .. doxygenfunction:: qr(matrix> const &A) :project: castor .. doxygenfunction:: qr(matrix const &A) :project: castor See :ref:`label-eig`, :ref:`label-svd`, :ref:`label-lu`.