18 #ifndef _MATRIXALGORITHMS_HPP_
19 #define _MATRIXALGORITHMS_HPP_
27 template<
typename MatrixT>
28 MatrixT
exp(
const MatrixT& M,
size_t n);
36 template<
typename MatrixT>
37 typename MatrixT::value_type
det(
const MatrixT& M);
38 #endif // _MATRIXALGORITHMS_H
MatrixT exp(const MatrixT &M, size_t n)
Finds the M^n for a square matrix M.
MatrixT::value_type det(const MatrixT &M)
Finds the determinant of a square matrix.