Public Member Functions | List of all members
o2scl_linalg::linear_solver_LU< vec_t, mat_t > Class Template Reference

Generic linear solver using LU decomposition. More...

#include <linear_solver.h>

Inheritance diagram for o2scl_linalg::linear_solver_LU< vec_t, mat_t >:
o2scl_linalg::linear_solver< boost::numeric::ublas::vector< double >, boost::numeric::ublas::matrix< double > >

Detailed Description

template<class vec_t = boost::numeric::ublas::vector<double>, class mat_t = boost::numeric::ublas::matrix<double>>
class o2scl_linalg::linear_solver_LU< vec_t, mat_t >

Definition at line 67 of file linear_solver.h.

Public Member Functions

virtual void solve (size_t n, mat_t &A, vec_t &b, vec_t &x)
 Solve square linear system $ A x = b $ of size n.
 
- Public Member Functions inherited from o2scl_linalg::linear_solver< boost::numeric::ublas::vector< double >, boost::numeric::ublas::matrix< double > >
virtual void solve (size_t n, boost::numeric::ublas::matrix< double > &a, boost::numeric::ublas::vector< double > &b, boost::numeric::ublas::vector< double > &x)=0
 Solve square linear system $ A x = b $ of size n.
 

The documentation for this class was generated from the following file:

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).