Loading...
Searching...
No Matches
gpr::linalg::LocalDenseBackend Concept Reference

#include <gpr/linalg/Backend.h>

Concept definition

template<class B>
requires(const typename BackendTraits<B>::matrix_type& a,
const typename BackendTraits<B>::matrix_type& b,
const typename BackendTraits<B>::vector_type& v) {
{
} -> std::same_as<bool>;
{
} -> std::same_as<bool>;
{
} -> std::same_as<typename BackendTraits<B>::vector_type>;
{
back_solve(a, v)
} -> std::same_as<typename BackendTraits<B>::vector_type>;
{
} -> std::same_as<typename BackendTraits<B>::matrix_type>;
{
} -> std::same_as<typename BackendTraits<B>::matrix_type>;
{
} -> std::same_as<typename BackendTraits<B>::vector_type>;
{
} -> std::same_as<typename BackendTraits<B>::matrix_type>;
{
} -> std::same_as<double>;
{
} -> std::same_as<double>;
}
eon_relax_band_t eon_relax_surface_fn void eon_relax_outcome_t * out
EigenMatrix back_solve_mat(const EigenMatrix &L, const EigenMatrix &B)
Back triangular solve with matrix RHS (BLAS equivalent: dtrsm with side=L, uplo=L,...
Eigen::VectorXd forward_solve(const EigenMatrix &L, const Eigen::VectorXd &b)
Forward triangular solve with vector RHS (BLAS equivalent: dtrsv).
bool cholesky_rank_update(EigenMatrix &lower, const Eigen::VectorXd &vector)
Update the selected backend's live Cholesky factor in its existing layout.
EigenMatrix forward_solve_mat(const EigenMatrix &L, const EigenMatrix &B)
Forward triangular solve with matrix RHS (BLAS equivalent: dtrsm).
Eigen::VectorXd forward_solve_mat_colwise_squared_norm(const EigenMatrix &L, const EigenMatrix &B)
Forward triangular solve followed by columnwise squared norms.
double log_det_cholesky(const EigenMatrix &L)
Half log-determinant from Cholesky factor.
Eigen::VectorXd back_solve(const EigenMatrix &L, const Eigen::VectorXd &b)
Back triangular solve with vector RHS (BLAS equivalent: dtrsv).
double trace_product(const EigenMatrix &A, const EigenMatrix &B)
Frobenius inner product / trace of matrix product.
EigenMatrix cholesky_inverse(const EigenMatrix &L)
Symmetric inverse from Cholesky factor (LAPACK equivalent: dpotri).
bool cholesky(const EigenMatrix &C, EigenMatrix &L)
Cholesky decomposition (LAPACK equivalent: dpotrf).

Detailed Description

The operation set of a local dense backend: the free functions above, on the operand types the backend's traits name.

Definition at line 220 of file Backend.h.