numerics 0.1.0
Loading...
Searching...
No Matches
cholesky.hpp
Go to the documentation of this file.
1/// @file factorization/cholesky.hpp
2/// @brief Dense Cholesky factorization for SPD matrices.
3/// @todo Add LAPACK dpotrf/dpotrs backend dispatch and batched/block variants.
4#pragma once
5
6#include "core/matrix.hpp"
7#include "core/vector.hpp"
9
10namespace num {
11
12/// @brief Lower-triangular factorization \f$A=LL^T\f$.
15 bool success = false;
16};
17
19
21
22void cholesky_solve(const CholeskyResult& f, const Vector& b, Vector& x);
23
24} // namespace num
Dense row-major matrix templated over scalar type T.
Declared mathematical properties for stored matrices.
CholeskyResult cholesky(const linalg::SPDMatrix< Matrix > &A)
Definition cholesky.cpp:7
void cholesky_solve(const CholeskyResult &f, const Vector &b, Vector &x)
Definition cholesky.cpp:40
Lower-triangular factorization .
Definition cholesky.hpp:13
Dense vector storage and operations.