Go to the source code of this file.
Namespaces | |
namespace | la |
Matrix Predicates | |
template<class matT> | |
bool | la::is_zero (const matT &mat) |
template<class matT> | |
bool | la::equal (const matT &mat1, const matT &mat2) |
Create elementary matrices | |
template<class matT> | |
void | la::zeros (matT &mat, int N, int M=0) |
template<class matT> | |
void | la::ones (matT &mat, int N, int M=0) |
template<class matT> | |
void | la::eye (matT &mat, int N, int M=0) |
template<class matT> | |
void | la::rand (matT &A, typename matT::value_type low=0, typename matT::value_type high=1) |
template<class matT> | |
void | la::int_rand (matT &A, typename matT::value_type low=0, typename matT::value_type high=1) |
template<class matT> | |
void | la::from_diag (matT &mat, const matT &vect) |
Constructors for elementary and special matrices | |
template<class matT> | |
matT | la::zeros (int N, int M=0) |
template<class matT> | |
matT | la::ones (int N, int M=0) |
template<class matT> | |
matT | la::eye (int N, int M=0) |
template<class matT> | |
matT | la::rand (int N, int M, typename matT::value_type low=0, typename matT::value_type high=1) |
template<class matT> | |
matT | la::int_rand (int N, int M, typename matT::value_type low=0, typename matT::value_type high=1) |
template<class matT> | |
matT | la::from_diag (const matT &vect) |
template<class destT, class srcT> | |
destT | la::convert_mat (const srcT &src) |
template<class matT> | |
matT | la::linspace (typename matT::value_type start, typename matT::value_type end, int nr_points) |
template<class matT> | |
matT | la::repmat (const matT &A, int M, int N) |
Calculate some matrix measures | |
template<class matT> | |
matT::value_type | la::trace (const matT &mat) |
template<class matT> | |
matT | la::diag (const matT &mat) |
The definition of template functions for easier usage of lapackpp's matrix classes.