![]() |
GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <functional>#include "quit.h"#include "lo-error.h"#include "MArray.h"#include "Array-util.h"#include "MSparse.h"#include "MSparse-defs.h"

Go to the source code of this file.
Functions | |
| template<typename T > | |
| MSparse< T > | operator* (const MSparse< T > &a, const T &s) |
| template<class T > | |
| MSparse< T > | operator* (const T &s, const MSparse< T > &a) |
| 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<class T > | |
| MSparse< T > | operator+ (const MSparse< T > &a, const MSparse< T > &b) |
| template<class T > | |
| MSparse< T > | operator+ (const MSparse< T > &a) |
| template<typename T > | |
| MSparse< T > & | operator+= (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<class T > | |
| MSparse< T > | operator- (const MSparse< T > &a, const MSparse< T > &b) |
| template<class T > | |
| MSparse< T > | operator- (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<class T > | |
| MSparse< T > | operator/ (const T &s, const MSparse< T > &a) |
| template<class T , class OP > | |
| MSparse< T > & | plus_or_minus (MSparse< T > &a, const MSparse< T > &b, OP op, const char *op_name) |
| template<class T , class OP > | |
| MArray< T > | plus_or_minus (const MSparse< T > &a, const T &s, OP op) |
| template<class T , class OP > | |
| MArray< T > | plus_or_minus (const T &s, const MSparse< T > &a, OP op) |
| template<class T , class OP > | |
| MSparse< T > | plus_or_minus (const MSparse< T > &a, const MSparse< T > &b, OP op, const char *op_name, bool negate) |
| template<class T > | |
| MSparse< T > | product (const MSparse< T > &a, const MSparse< T > &b) |
| template<class T > | |
| MSparse< T > | quotient (const MSparse< T > &a, const MSparse< T > &b) |
| template<class T , class OP > | |
| MSparse< T > | times_or_divide (const MSparse< T > &a, const T &s, OP op) |
| template<class T , class OP > | |
| MSparse< T > | times_or_divides (const T &s, const MSparse< T > &a, OP op) |
Definition at line 185 of file MSparse.cc.
References times_or_divide().
Definition at line 252 of file MSparse.cc.
References times_or_divides().
Definition at line 149 of file MSparse.cc.
References plus_or_minus().
Definition at line 217 of file MSparse.cc.
References plus_or_minus().
Definition at line 389 of file MSparse.cc.
References plus_or_minus().
Definition at line 620 of file MSparse.cc.
Definition at line 117 of file MSparse.cc.
References plus_or_minus().
Definition at line 156 of file MSparse.cc.
References plus_or_minus().
Definition at line 224 of file MSparse.cc.
References plus_or_minus().
Definition at line 396 of file MSparse.cc.
References plus_or_minus().
Definition at line 627 of file MSparse.cc.
References Sparse< T >::data(), and Sparse< T >::nnz().
Definition at line 124 of file MSparse.cc.
References plus_or_minus().
Definition at line 192 of file MSparse.cc.
References times_or_divide().
Definition at line 259 of file MSparse.cc.
References times_or_divides().
| MSparse<T>& plus_or_minus | ( | MSparse< T > & | a, |
| const MSparse< T > & | b, | ||
| OP | op, | ||
| const char * | op_name | ||
| ) |
Definition at line 44 of file MSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
Referenced by operator+(), operator+=(), operator-(), and operator-=().
| MArray<T> plus_or_minus | ( | const MSparse< T > & | a, |
| const T & | s, | ||
| OP | op | ||
| ) |
Definition at line 134 of file MSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::elem(), Sparse< T >::ridx(), and Sparse< T >::rows().
| MArray<T> plus_or_minus | ( | const T & | s, |
| const MSparse< T > & | a, | ||
| OP | op | ||
| ) |
Definition at line 202 of file MSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::elem(), Sparse< T >::ridx(), and Sparse< T >::rows().
| MSparse<T> plus_or_minus | ( | const MSparse< T > & | a, |
| const MSparse< T > & | b, | ||
| OP | op, | ||
| const char * | op_name, | ||
| bool | negate | ||
| ) |
Definition at line 269 of file MSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::elem(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
Definition at line 403 of file MSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::elem(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
Definition at line 501 of file MSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::elem(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
| MSparse<T> times_or_divide | ( | const MSparse< T > & | a, |
| const T & | s, | ||
| OP | op | ||
| ) |
Definition at line 164 of file MSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
Referenced by operator*(), and operator/().
| MSparse<T> times_or_divides | ( | const T & | s, |
| const MSparse< T > & | a, | ||
| OP | op | ||
| ) |
Definition at line 231 of file MSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
Referenced by operator*(), and operator/().
1.8.1.2