Navigation

Operators and Keywords

Function List:

C++ API

MSparse< T > Class Template Reference

#include <MSparse.h>

Inherits Sparse< T >.

Collaboration diagram for MSparse< T >:

List of all members.


Public Member Functions

 MSparse (void)
 MSparse (octave_idx_type n, octave_idx_type m)
 MSparse (const dim_vector &dv, octave_idx_type nz=0)
 MSparse (const MSparse< T > &a)
 MSparse (const MSparse< T > &a, const dim_vector &dv)
 MSparse (const Sparse< T > &a)
 MSparse (const Array< T > a, const Array< octave_idx_type > &r, const Array< octave_idx_type > &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true)
 MSparse (const Array< T > a, const Array< double > &r, const Array< double > &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true)
 MSparse (octave_idx_type r, octave_idx_type c, T val)
 MSparse (octave_idx_type r, octave_idx_type c, octave_idx_type num_nz)
 ~MSparse (void)
MSparse< T > & operator= (const MSparse< T > &a)
MSparse< T > & insert (const Sparse< T > &a, octave_idx_type r, octave_idx_type c)
MSparse< T > & insert (const Sparse< T > &a, const Array< octave_idx_type > &indx)
MSparse< Ttranspose (void) const
MSparse< Tsqueeze (void) const
MSparse< Tindex (idx_vector &i, int resize_ok) const
MSparse< Tindex (idx_vector &i, idx_vector &j, int resize_ok) const
MSparse< Tindex (Array< idx_vector > &ra_idx, int resize_ok) const
MSparse< Treshape (const dim_vector &new_dims) const
MSparse< Tpermute (const Array< octave_idx_type > &vec, bool inv=false) const
MSparse< Tipermute (const Array< octave_idx_type > &vec) const
MSparse< Tdiag (octave_idx_type k=0) const
template<class U , class F >
MSparse< U > map (F fcn) const

template<class T>
class MSparse< T >


Constructor & Destructor Documentation

template<class T>
MSparse< T >::MSparse ( void   )  [inline]

template<class T>
MSparse< T >::MSparse ( octave_idx_type  n,
octave_idx_type  m 
) [inline]

template<class T>
MSparse< T >::MSparse ( const dim_vector dv,
octave_idx_type  nz = 0 
) [inline]

template<class T>
MSparse< T >::MSparse ( const MSparse< T > &  a  )  [inline]

template<class T>
MSparse< T >::MSparse ( const MSparse< T > &  a,
const dim_vector dv 
) [inline]

template<class T>
MSparse< T >::MSparse ( const Sparse< T > &  a  )  [inline]

template<class T>
MSparse< T >::MSparse ( const Array< T a,
const Array< octave_idx_type > &  r,
const Array< octave_idx_type > &  c,
octave_idx_type  nr = -1,
octave_idx_type  nc = -1,
bool  sum_terms = true 
) [inline]

template<class T>
MSparse< T >::MSparse ( const Array< T a,
const Array< double > &  r,
const Array< double > &  c,
octave_idx_type  nr = -1,
octave_idx_type  nc = -1,
bool  sum_terms = true 
) [inline]

template<class T>
MSparse< T >::MSparse ( octave_idx_type  r,
octave_idx_type  c,
T  val 
) [inline, explicit]

template<class T>
MSparse< T >::MSparse ( octave_idx_type  r,
octave_idx_type  c,
octave_idx_type  num_nz 
) [inline]

template<class T>
MSparse< T >::~MSparse ( void   )  [inline]


Member Function Documentation

template<class T>
MSparse<T> MSparse< T >::diag ( octave_idx_type  k = 0  )  const [inline]

Reimplemented from Sparse< T >.

Reimplemented in SparseComplexMatrix, and SparseMatrix.

template<class T>
MSparse<T> MSparse< T >::index ( Array< idx_vector > &  ra_idx,
int  resize_ok 
) const [inline]

Reimplemented from Sparse< T >.

Reimplemented in SparseComplexMatrix, and SparseMatrix.

template<class T>
MSparse<T> MSparse< T >::index ( idx_vector i,
idx_vector j,
int  resize_ok 
) const [inline]

Reimplemented from Sparse< T >.

Reimplemented in SparseComplexMatrix, and SparseMatrix.

template<class T>
MSparse<T> MSparse< T >::index ( idx_vector i,
int  resize_ok 
) const [inline]

Reimplemented from Sparse< T >.

Reimplemented in SparseComplexMatrix, and SparseMatrix.

template<class T>
MSparse<T>& MSparse< T >::insert ( const Sparse< T > &  a,
const Array< octave_idx_type > &  indx 
) [inline]

Reimplemented from Sparse< T >.

template<class T>
MSparse<T>& MSparse< T >::insert ( const Sparse< T > &  a,
octave_idx_type  r,
octave_idx_type  c 
) [inline]

Reimplemented from Sparse< T >.

template<class T>
MSparse<T> MSparse< T >::ipermute ( const Array< octave_idx_type > &  vec  )  const [inline]

Reimplemented from Sparse< T >.

Reimplemented in SparseComplexMatrix, and SparseMatrix.

template<class T>
template<class U , class F >
MSparse<U> MSparse< T >::map ( fcn  )  const [inline]

Reimplemented from Sparse< T >.

template<class T>
MSparse<T>& MSparse< T >::operator= ( const MSparse< T > &  a  )  [inline]

template<class T>
MSparse<T> MSparse< T >::permute ( const Array< octave_idx_type > &  vec,
bool  inv = false 
) const [inline]

Reimplemented from Sparse< T >.

Reimplemented in SparseComplexMatrix, and SparseMatrix.

template<class T>
MSparse<T> MSparse< T >::reshape ( const dim_vector new_dims  )  const [inline]

Reimplemented from Sparse< T >.

Reimplemented in SparseComplexMatrix, and SparseMatrix.

template<class T>
MSparse<T> MSparse< T >::squeeze ( void   )  const [inline]

Reimplemented from Sparse< T >.

Reimplemented in SparseComplexMatrix, and SparseMatrix.

template<class T>
MSparse<T> MSparse< T >::transpose ( void   )  const [inline]

Reimplemented from Sparse< T >.

Reimplemented in SparseComplexMatrix, and SparseMatrix.


The documentation for this class was generated from the following file: