Go to the source code of this file.
◆ main()
Definition at line 6 of file MatrixPower_optimal.cpp.
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;
SparseMatrix< double > A(n, n)
static const RandomReturnType Random()
Class for computing matrix powers.