GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
MSparse.cc File Reference
#include <functional>
#include "quit.h"
#include "lo-error.h"
#include "MArray.h"
#include "Array-util.h"
#include "MSparse.h"
#include "MSparse-defs.h"
Include dependency graph for MSparse.cc:
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

template<typename T >
MSparse<T> operator* ( const MSparse< T > &  a,
const T &  s 
)

Definition at line 185 of file MSparse.cc.

References times_or_divide().

template<class T >
MSparse<T> operator* ( const T &  s,
const MSparse< T > &  a 
)

Definition at line 252 of file MSparse.cc.

References times_or_divides().

template<typename T >
MArray<T> operator+ ( const MSparse< T > &  a,
const T &  s 
)

Definition at line 149 of file MSparse.cc.

References plus_or_minus().

template<typename T >
MArray<T> operator+ ( const T &  s,
const MSparse< T > &  a 
)

Definition at line 217 of file MSparse.cc.

References plus_or_minus().

template<class T >
MSparse<T> operator+ ( const MSparse< T > &  a,
const MSparse< T > &  b 
)

Definition at line 389 of file MSparse.cc.

References plus_or_minus().

template<class T >
MSparse<T> operator+ ( const MSparse< T > &  a)

Definition at line 620 of file MSparse.cc.

template<typename T >
MSparse<T>& operator+= ( MSparse< T > &  a,
const MSparse< T > &  b 
)

Definition at line 117 of file MSparse.cc.

References plus_or_minus().

template<typename T >
MArray<T> operator- ( const MSparse< T > &  a,
const T &  s 
)

Definition at line 156 of file MSparse.cc.

References plus_or_minus().

template<typename T >
MArray<T> operator- ( const T &  s,
const MSparse< T > &  a 
)

Definition at line 224 of file MSparse.cc.

References plus_or_minus().

template<class T >
MSparse<T> operator- ( const MSparse< T > &  a,
const MSparse< T > &  b 
)

Definition at line 396 of file MSparse.cc.

References plus_or_minus().

template<class T >
MSparse<T> operator- ( const MSparse< T > &  a)

Definition at line 627 of file MSparse.cc.

References Sparse< T >::data(), and Sparse< T >::nnz().

template<typename T >
MSparse<T>& operator-= ( MSparse< T > &  a,
const MSparse< T > &  b 
)

Definition at line 124 of file MSparse.cc.

References plus_or_minus().

template<typename T >
MSparse<T> operator/ ( const MSparse< T > &  a,
const T &  s 
)

Definition at line 192 of file MSparse.cc.

References times_or_divide().

template<class T >
MSparse<T> operator/ ( const T &  s,
const MSparse< T > &  a 
)

Definition at line 259 of file MSparse.cc.

References times_or_divides().

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 
)