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)
template<class U >
 MSparse (const Sparse< U > &a)
 MSparse (const Array< T > &a, const idx_vector &r, const idx_vector &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true, octave_idx_type nzm=-1)
 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< T > transpose (void) const
MSparse< T > squeeze (void) const
MSparse< T > reshape (const dim_vector &new_dims) const
MSparse< T > permute (const Array< octave_idx_type > &vec, bool inv=false) const
MSparse< T > ipermute (const Array< octave_idx_type > &vec) const
MSparse< T > diag (octave_idx_type k=0) const
template<class U >
MSparse< U > map (U(&fcn)(T)) const
template<class U >
MSparse< U > map (U(&fcn)(const T &)) 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>
template<class U >
MSparse< T >::MSparse ( const Sparse< U > &  a  )  [inline]
template<class T>
MSparse< T >::MSparse ( const Array< T > &  a,
const idx_vector r,
const idx_vector c,
octave_idx_type  nr = -1,
octave_idx_type  nc = -1,
bool  sum_terms = true,
octave_idx_type  nzm = -1 
) [inline]
template<class T>
MSparse< T >::MSparse ( octave_idx_type  r,
octave_idx_type  c,
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 >::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 >::insert ( const Sparse< T > &  a,
const Array< octave_idx_type > &  indx 
) [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 >
MSparse<U> MSparse< T >::map ( U(&)(const T &)  fcn  )  const [inline]

Reimplemented from Sparse< T >.

template<class T>
template<class U >
MSparse<U> MSparse< T >::map ( U(&)(T)  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:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines