MatrixPower_optimal.cpp File Reference

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 6 of file MatrixPower_optimal.cpp.

7 {
10 
11  std::cout << "The matrix A is:\n" << A << "\n\n"
12  "A^3.1 is:\n" << Apow(3.1) << "\n\n"
13  "A^3.3 is:\n" << Apow(3.3) << "\n\n"
14  "A^3.7 is:\n" << Apow(3.7) << "\n\n"
15  "A^3.9 is:\n" << Apow(3.9) << std::endl;
16  return 0;
17 }
SparseMatrix< double > A(n, n)
static const RandomReturnType Random()
Class for computing matrix powers.
Definition: MatrixPower.h:340