Go to the source code of this file.
Functions | |
template<typename T > | |
MSparse< T > | operator* (const MSparse< T > &a, const T &s) |
template<typename T > | |
MSparse< T > | operator* (const T &s, const MSparse< T > &a) |
template<typename T > | |
MSparse< T > | operator+ (const MSparse< T > &a) |
template<typename T > | |
MSparse< T > | operator+ (const MSparse< T > &a, const MSparse< T > &b) |
template<typename T > | |
MArray< T > | operator+ (const MSparse< T > &a, const T &s) |
template<typename T > | |
MArray< T > | operator+ (const T &s, const MSparse< T > &a) |
template<typename T > | |
MSparse< T > & | operator+= (MSparse< T > &a, const MSparse< T > &b) |
template<typename T > | |
MSparse< T > | operator- (const MSparse< T > &a) |
template<typename T > | |
MSparse< T > | operator- (const MSparse< T > &a, const MSparse< T > &b) |
template<typename T > | |
MArray< T > | operator- (const MSparse< T > &a, const T &s) |
template<typename T > | |
MArray< T > | operator- (const T &s, const MSparse< T > &a) |
template<typename T > | |
MSparse< T > & | operator-= (MSparse< T > &a, const MSparse< T > &b) |
template<typename T > | |
MSparse< T > | operator/ (const MSparse< T > &a, const T &s) |
template<typename T > | |
MSparse< T > | operator/ (const T &s, const MSparse< T > &a) |
template<typename T , typename OP > | |
MSparse< T > | plus_or_minus (const MSparse< T > &a, const MSparse< T > &b, OP op, const char *op_name, bool negate) |
template<typename T , typename OP > | |
MArray< T > | plus_or_minus (const MSparse< T > &a, const T &s, OP op) |
template<typename T , typename OP > | |
MArray< T > | plus_or_minus (const T &s, const MSparse< T > &a, OP op) |
template<typename T , typename OP > | |
MSparse< T > & | plus_or_minus (MSparse< T > &a, const MSparse< T > &b, OP op, const char *op_name) |
template<typename T > | |
MSparse< T > | product (const MSparse< T > &a, const MSparse< T > &b) |
template<typename T > | |
MSparse< T > | quotient (const MSparse< T > &a, const MSparse< T > &b) |
template<typename T , typename OP > | |
MSparse< T > | times_or_divide (const MSparse< T > &a, const T &s, OP op) |
template<typename T , typename OP > | |
MSparse< T > | times_or_divides (const T &s, const MSparse< T > &a, OP op) |
Definition at line 168 of file MSparse.cc.
References times_or_divide().
Definition at line 234 of file MSparse.cc.
References times_or_divides().
Definition at line 596 of file MSparse.cc.
Definition at line 369 of file MSparse.cc.
References plus_or_minus().
Definition at line 133 of file MSparse.cc.
References plus_or_minus().
Definition at line 199 of file MSparse.cc.
References plus_or_minus().
Definition at line 102 of file MSparse.cc.
References plus_or_minus().
Definition at line 603 of file MSparse.cc.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
Definition at line 376 of file MSparse.cc.
References plus_or_minus().
Definition at line 140 of file MSparse.cc.
References plus_or_minus().
Definition at line 206 of file MSparse.cc.
References plus_or_minus().
Definition at line 109 of file MSparse.cc.
References plus_or_minus().
Definition at line 175 of file MSparse.cc.
References times_or_divide().
Definition at line 241 of file MSparse.cc.
References times_or_divides().
MSparse<T> plus_or_minus | ( | const MSparse< T > & | a, |
const MSparse< T > & | b, | ||
OP | op, | ||
const char * | op_name, | ||
bool | negate | ||
) |
Definition at line 250 of file MSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::elem(), err_nonconformant(), Sparse< T, Alloc >::nnz(), r, Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
MArray<T> plus_or_minus | ( | const MSparse< T > & | a, |
const T & | s, | ||
OP | op | ||
) |
Definition at line 118 of file MSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), r, Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
MArray<T> plus_or_minus | ( | const T & | s, |
const MSparse< T > & | a, | ||
OP | op | ||
) |
Definition at line 184 of file MSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), r, Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
MSparse<T>& plus_or_minus | ( | MSparse< T > & | a, |
const MSparse< T > & | b, | ||
OP | op, | ||
const char * | op_name | ||
) |
Definition at line 32 of file MSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), err_nonconformant(), Sparse< T, Alloc >::nnz(), r, Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
Referenced by operator+(), operator+=(), operator-(), and operator-=().
Definition at line 383 of file MSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::elem(), err_nonconformant(), Sparse< T, Alloc >::nnz(), r, Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
Definition at line 480 of file MSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::elem(), err_nonconformant(), Sparse< T, Alloc >::nnz(), r, Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
MSparse<T> times_or_divide | ( | const MSparse< T > & | a, |
const T & | s, | ||
OP | op | ||
) |
Definition at line 147 of file MSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::nnz(), r, Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
Referenced by operator*(), and operator/().
MSparse<T> times_or_divides | ( | const T & | s, |
const MSparse< T > & | a, | ||
OP | op | ||
) |
Definition at line 213 of file MSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::nnz(), r, Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
Referenced by operator*(), and operator/().