#include <MArray.h>
Inherits Array< T >.
Public Member Functions | |
MArray (void) | |
MArray (octave_idx_type n) | |
MArray (octave_idx_type n, const T &val) | |
MArray (const MArray< T > &a) | |
MArray (const Array< T > &a) | |
MArray (const dim_vector &dv) | |
~MArray (void) | |
MArray< T > & | operator= (const MArray< T > &a) |
void | resize (octave_idx_type n, const T &val=Array< T >::resize_fill_value()) |
MArray< T > | transpose (void) const |
MArray< T > | hermitian (T(*fcn)(const T &)=0) const |
octave_idx_type | nnz (void) const |
double | norm (double p) const |
float | norm (float p) const |
template<class U , class F > | |
MArray< U > | map (F fcn) const |
void | idx_add (const idx_vector &idx, T val) |
void | idx_add (const idx_vector &idx, const MArray< T > &vals) |
Protected Member Functions | |
MArray (T *d, octave_idx_type l) |
MArray< T >::MArray | ( | T * | d, | |
octave_idx_type | l | |||
) | [inline, protected] |
MArray< T >::MArray | ( | octave_idx_type | n | ) | [inline, explicit] |
MArray< T >::MArray | ( | const dim_vector & | dv | ) | [inline] |
Reimplemented from Array< T >.
void MArray< T >::idx_add | ( | const idx_vector & | idx, | |
const MArray< T > & | vals | |||
) | [inline] |
void MArray< T >::idx_add | ( | const idx_vector & | idx, | |
T | val | |||
) | [inline] |
Reimplemented from Array< T >.
octave_idx_type MArray< T >::nnz | ( | void | ) | const [inline] |
void MArray< T >::resize | ( | octave_idx_type | n, | |
const T & | val = Array<T>::resize_fill_value () | |||
) | [inline] |
Reimplemented from Array< T >.
Reimplemented from Array< T >.
Reimplemented in ComplexColumnVector, ComplexRowVector, ColumnVector, RowVector, FloatComplexColumnVector, FloatColumnVector, FloatComplexRowVector, and FloatRowVector.