Polymetic
1.1
A c++ library for polynomial and matrix arithmetic, focused on applications in Kinematics.
|
Functions | |
template<typename EntryT > | |
EntryT | trace (const Matrix< EntryT > &M) |
Finds trace of a square matrix. More... | |
template<typename MatrixT > | |
bool | isSquare (const MatrixT &M) |
Convinience function to check if a matrix is square or not. More... | |
bool boost::numeric::ublas::isSquare | ( | const MatrixT & | M | ) |
Convinience function to check if a matrix is square or not.
Definition at line 44 of file Matrix_impl.ipp.
Referenced by det(), anonymous_namespace{MatrixAlgorithms_impl.ipp}::exp_by_squaring(), and anonymous_namespace{MatrixAlgorithms_impl.ipp}::trace().
EntryT boost::numeric::ublas::trace | ( | const Matrix< EntryT > & | M | ) |
Finds trace of a square matrix.
Detailed description of the function {strong}{Throws std::invalid_argument if the supplied matrix is now square}
Definition at line 25 of file Matrix_impl.ipp.
Referenced by anonymous_namespace{Test_MatrixAlgorithms_double.cpp}::TEST_F(), anonymous_namespace{Test_MatrixAlgorithms_polynomial_double.cpp}::TEST_F(), and anonymous_namespace{Test_Matrix_Operations.cpp}::TEST_F().