NUMCXX  0.13.20181108
Numerical library for small projects and teaching purposes
Functions
tlapack.cxx File Reference
+ Include dependency graph for tlapack.cxx:

Go to the source code of this file.

Functions

int main (void)
 

Function Documentation

int main ( void  )

Definition at line 11 of file tlapack.cxx.

12 {
13 
14  std::cout.precision(2);
15  std::cout<< std::setw(10);
16  numcxx::DMatrix A{
17  {3,1,0,1,0},
18  {0,3,0,0,1},
19  {0,0,3,0,0},
20  {1,0,0,3,0},
21  {0,1,0,0,3},
22  };
23  std::cout << A << std::endl;
24  numcxx::DSolverLapackLU LapackSolver(A);
25 
26  std::cout << LapackSolver;
27 }
Dense matrix class.
Definition: tmatrix.hxx:38
Lapack LU factorization class.