AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
LU.hpp File Reference

Namespaces

 axom
 
 axom::numerics
 

Enumerations

enum  axom::numerics::ReturnCodes { axom::numerics::LU_SUCCESS , axom::numerics::LU_SINGULAR_MATRIX , axom::numerics::LU_NONSQUARE_MATRIX }
 

Functions

Matrix Operators
template<typename T >
int axom::numerics::lu_decompose (Matrix< T > &A, int *pivots)
 Perform LU-decomposition on a given square matrix, \( A \) using partial pivoting. More...
 
template<typename T >
int axom::numerics::lu_solve (const Matrix< T > &A, const int *pivots, const T *b, T *x)
 Solve the system \( Ax=b \) by back-substitution, where, A is an LU decomposed matrix produced via a call to lu_decompose(). More...