|
template<typename L > |
void | gmm::clear (L &l) |
| clear (fill with zeros) a vector or matrix. More...
|
|
template<typename L > |
size_type | gmm::nnz (const L &l) |
| count the number of non-zero entries of a vector or matrix. More...
|
|
template<typename L > |
void | gmm::fill (L &l, typename gmm::linalg_traits< L >::value_type x) |
| */ More...
|
|
template<typename L > |
void | gmm::fill_random (L &l) |
| fill a vector or matrix with random value (uniform [-1,1]). More...
|
|
template<typename L > |
void | gmm::fill_random (L &l, double cfill) |
| */ More...
|
|
template<typename V > |
void | gmm::resize (V &v, size_type n) |
| */ More...
|
|
template<typename M > |
void | gmm::resize (M &v, size_type m, size_type n) |
| */ More...
|
|
template<typename M > |
void | gmm::reshape (M &v, size_type m, size_type n) |
| */ More...
|
|
template<typename V1 , typename V2 > |
strongest_value_type< V1, V2 >::value_type | gmm::vect_sp (const V1 &v1, const V2 &v2) |
| */ More...
|
|
template<typename MATSP , typename V1 , typename V2 > |
strongest_value_type3< V1, V2, MATSP >::value_type | gmm::vect_sp (const MATSP &ps, const V1 &v1, const V2 &v2) |
| scalar product between two vectors, using a matrix. More...
|
|
template<typename V1 , typename V2 > |
strongest_value_type< V1, V2 >::value_type | gmm::vect_hp (const V1 &v1, const V2 &v2) |
| */ More...
|
|
template<typename MATSP , typename V1 , typename V2 > |
strongest_value_type3< V1, V2, MATSP >::value_type | gmm::vect_hp (const MATSP &ps, const V1 &v1, const V2 &v2) |
| Hermitian product with a matrix. More...
|
|
template<typename M > |
linalg_traits< M >::value_type | gmm::mat_trace (const M &m) |
| Trace of a matrix.
|
|
template<typename V > |
number_traits< typename linalg_traits< V >::value_type >::magnitude_type | gmm::vect_norm2_sqr (const V &v) |
| squared Euclidean norm of a vector. More...
|
|
template<typename V > |
number_traits< typename linalg_traits< V >::value_type >::magnitude_type | gmm::vect_norm2 (const V &v) |
| Euclidean norm of a vector. More...
|
|
template<typename V1 , typename V2 > |
number_traits< typename linalg_traits< V1 >::value_type >::magnitude_type | gmm::vect_dist2_sqr (const V1 &v1, const V2 &v2) |
| squared Euclidean distance between two vectors
|
|
template<typename V1 , typename V2 > |
number_traits< typename linalg_traits< V1 >::value_type >::magnitude_type | gmm::vect_dist2 (const V1 &v1, const V2 &v2) |
| Euclidean distance between two vectors.
|
|
template<typename M > |
number_traits< typename linalg_traits< M >::value_type >::magnitude_type | gmm::mat_euclidean_norm_sqr (const M &m) |
| */ More...
|
|
template<typename M > |
number_traits< typename linalg_traits< M >::value_type >::magnitude_type | gmm::mat_euclidean_norm (const M &m) |
| Euclidean norm of a matrix. More...
|
|
template<typename V > |
number_traits< typename linalg_traits< V >::value_type >::magnitude_type | gmm::vect_norm1 (const V &v) |
| 1-norm of a vector
|
|
template<typename V1 , typename V2 > |
number_traits< typename linalg_traits< V1 >::value_type >::magnitude_type | gmm::vect_dist1 (const V1 &v1, const V2 &v2) |
| 1-distance between two vectors
|
|
template<typename V > |
number_traits< typename linalg_traits< V >::value_type >::magnitude_type | gmm::vect_norminf (const V &v) |
| Infinity norm of a vector. More...
|
|
template<typename V1 , typename V2 > |
number_traits< typename linalg_traits< V1 >::value_type >::magnitude_type | gmm::vect_distinf (const V1 &v1, const V2 &v2) |
| Infinity distance between two vectors.
|
|
template<typename M > |
number_traits< typename linalg_traits< M >::value_type >::magnitude_type | gmm::mat_norm1 (const M &m) |
| */ More...
|
|
template<typename M > |
number_traits< typename linalg_traits< M >::value_type >::magnitude_type | gmm::mat_norminf (const M &m) |
| */ More...
|
|
template<typename M > |
number_traits< typename linalg_traits< M >::value_type >::magnitude_type | gmm::mat_maxnorm (const M &m) |
| */ More...
|
|
template<typename L > |
void | gmm::clean (L &l, double threshold) |
| Clean a vector or matrix (replace near-zero entries with zeroes). More...
|
|
template<typename L1 , typename L2 > |
void | gmm::copy (const L1 &l1, L2 &l2) |
| */ More...
|
|
template<typename L1 , typename L2 > |
void | gmm::add (const L1 &l1, L2 &l2) |
| */ More...
|
|
template<typename L1 , typename L2 , typename L3 > |
void | gmm::add (const L1 &l1, const L2 &l2, L3 &l3) |
| */ More...
|
|
template<typename L1 , typename L2 , typename L3 > |
void | gmm::mult (const L1 &l1, const L2 &l2, L3 &l3) |
| */ More...
|
|
template<typename L1 , typename L2 , typename L3 > |
void | gmm::mult_add (const L1 &l1, const L2 &l2, L3 &l3) |
| */ More...
|
|
template<typename MAT > |
bool | gmm::is_symmetric (const MAT &A, magnitude_of_linalg(MAT) tol=magnitude_of_linalg(MAT)(-1)) |
| */ More...
|
|
template<typename MAT > |
bool | gmm::is_hermitian (const MAT &A, magnitude_of_linalg(MAT) tol=magnitude_of_linalg(MAT)(-1)) |
| */ More...
|
|