SpECTRE  v2024.04.12
lapack Namespace Reference

LAPACK wrappers. More...

Functions

int general_matrix_linear_solve (gsl::not_null< DataVector * > rhs_in_solution_out, gsl::not_null< Matrix * > matrix_operator, int number_of_rhs=0)
 Wrapper for LAPACK dgesv, which solves the general linear equation \(A x = b\) by LUP (Lower-triangular, upper-triangular, and permutation) decomposition. More...
 
int general_matrix_linear_solve (gsl::not_null< DataVector * > rhs_in_solution_out, gsl::not_null< std::vector< int > * > pivots, gsl::not_null< Matrix * > matrix_operator, int number_of_rhs=0)
 Wrapper for LAPACK dgesv, which solves the general linear equation \(A x = b\) by LUP (Lower-triangular, upper-triangular, and permutation) decomposition. More...
 
int general_matrix_linear_solve (gsl::not_null< DataVector * > solution, gsl::not_null< Matrix * > matrix_operator, const DataVector &rhs, int number_of_rhs=0)
 Wrapper for LAPACK dgesv, which solves the general linear equation \(A x = b\) by LUP (Lower-triangular, upper-triangular, and permutation) decomposition. More...
 
int general_matrix_linear_solve (gsl::not_null< DataVector * > solution, gsl::not_null< std::vector< int > * > pivots, gsl::not_null< Matrix * > matrix_operator, const DataVector &rhs, int number_of_rhs=0)
 Wrapper for LAPACK dgesv, which solves the general linear equation \(A x = b\) by LUP (Lower-triangular, upper-triangular, and permutation) decomposition. More...
 
int general_matrix_linear_solve (gsl::not_null< DataVector * > rhs_in_solution_out, const Matrix &matrix_operator, int number_of_rhs=0)
 Wrapper for LAPACK dgesv, which solves the general linear equation \(A x = b\) by LUP (Lower-triangular, upper-triangular, and permutation) decomposition. More...
 
int general_matrix_linear_solve (gsl::not_null< DataVector * > solution, const Matrix &matrix_operator, const DataVector &rhs, int number_of_rhs=0)
 Wrapper for LAPACK dgesv, which solves the general linear equation \(A x = b\) by LUP (Lower-triangular, upper-triangular, and permutation) decomposition. More...
 

Detailed Description

LAPACK wrappers.