QDOS::Matrix< T > Class Template Reference

#include <Matrix.h>

Inheritance diagram for QDOS::Matrix< T >:

QDOS::MatrixRes< T > QDOS::QdCMatrix

List of all members.

Classes

class  iterator
class  ListInitialization
class  ListInitializer

Public Member Functions

 Matrix ()
 Matrix (const T &val)
template<class U >
 Matrix (const vector< U > &v)
 Matrix (const Dim &d)
 Matrix (const Dim &d, const T &val)
 Matrix (const Dim &d, size_t n, const T *p)
template<class U >
 Matrix (const Dim &d, const vector< U > &v)
 Matrix (const Dim &d, const valarray< T > &v)
 Matrix (const Matrix< T > &m)
template<class U >
 Matrix (const Matrix< U > &m)
 Matrix (Dim_var d)
iterator begin () const
iterator end () const
void assign_val (const T &t) const
void assign_array (const valarray< T > &v) const
template<class U >
void assign_array (const valarray< U > &v) const
void assign_ptr (size_t n, const T *p) const
template<class U >
void assign_vector (const vector< U > &v) const
void copy (const Matrix< T > &m) const
template<class U >
void copy (const Matrix< U > &m) const
void assign_matrix (const Matrix< T > &m)
void assign_matrix_deep (const Matrix< T > &m)
template<class U >
void assign_matrix (const Matrix< U > &m)
template<class U >
void assign_matrix (const Matrix< U > &m) const
scalar () const
 operator T () const
 operator vector< T > () const
T * ptr ()
T * copy_to_ptr () const
ListInitialization operator= (const T &t)
ListInitialization operator= (const T &t) const
template<class U >
Matrix< T > & operator= (const vector< U > &v)
template<class U >
const Matrix< T > & operator= (const vector< U > &v) const
Matrix< T > & operator= (const Matrix< T > &m)
const Matrix< T > & operator= (const Matrix< T > &m) const
template<class U >
Matrix< T > & operator= (const Matrix< U > &m)
template<class U >
const Matrix< T > & operator= (const Matrix< U > &m) const
Matrix< T > operator[] (const DummyArg &arg) const
Matrix< T > operator[] (const size_t i) const
Matrix< T > operator[] (const slice &sl) const
Matrix< T > operator[] (const gslice &g) const
T & operator() (const size_t i) const
Matrix< T > operator() (const slice &sl) const
T & operator() (const size_t i, const size_t j) const
Matrix< T > operator() (const slice &sl1, const size_t j) const
Matrix< T > operator() (const size_t i, const slice &sl2) const
Matrix< T > operator() (const slice &sl1, const slice &sl2) const
Matrix< T > operator() (const DummyArg &arg, const size_t j) const
Matrix< T > operator() (const DummyArg &arg, const slice &sl) const
Matrix< T > operator() (const size_t i, const DummyArg &arg) const
Matrix< T > operator() (const slice &sl, const DummyArg &arg) const
T & operator() (const size_t i, const size_t j, const size_t k) const
Matrix< T > operator() (const slice &sl1, const size_t j, const size_t k) const
Matrix< T > operator() (const size_t i, const slice &sl2, const size_t k) const
Matrix< T > operator() (const size_t i, const size_t j, const slice &sl3) const
Matrix< T > operator() (const slice &sl1, const slice &sl2, const size_t k) const
Matrix< T > operator() (const slice &sl1, const size_t j, const slice &sl3) const
Matrix< T > operator() (const size_t i, const slice &sl1, const slice &sl2) const
Matrix< T > operator() (const slice &sl1, const slice &sl2, const slice &sl3) const
Matrix< T > operator() (const DummyArg &arg, const size_t j, const size_t k) const
Matrix< T > operator() (const DummyArg &arg, const slice &sl, const size_t k) const
Matrix< T > operator() (const DummyArg &arg, const size_t j, const slice &sl) const
Matrix< T > operator() (const DummyArg &arg, const slice &sl1, const slice &sl2) const
Matrix< T > operator() (const size_t i, const DummyArg &arg, const size_t k) const
Matrix< T > operator() (const slice &sl, const DummyArg &arg, const size_t k) const
Matrix< T > operator() (const size_t i, const DummyArg &arg, const slice &sl) const
Matrix< T > operator() (const slice &sl1, const DummyArg &arg, const slice &sl2) const
Matrix< T > operator() (const size_t i, const size_t j, const DummyArg &arg) const
Matrix< T > operator() (const slice &sl, const size_t j, const DummyArg &arg) const
Matrix< T > operator() (const size_t i, const slice &sl, const DummyArg &arg) const
Matrix< T > operator() (const slice &sl1, const slice &sl2, const DummyArg &arg) const
Matrix< T > operator() (const DummyArg &arg1, const DummyArg &arg2, const size_t k) const
Matrix< T > operator() (const DummyArg &arg1, const DummyArg &arg2, const slice &sl) const
Matrix< T > operator() (const DummyArg &arg1, const size_t j, const DummyArg &arg2) const
Matrix< T > operator() (const DummyArg &arg1, const slice &sl, const DummyArg &arg2) const
Matrix< T > operator() (const size_t i, const DummyArg &arg1, const DummyArg &arg2) const
Matrix< T > operator() (const slice &sl, const DummyArg &arg1, const DummyArg &arg2) const
Matrix< T > operator() (const gslice &g) const
MatrixRes< T > operator- () const
MatrixRes< T > operator+ () const
MatrixRes< T > operator~ () const
MatrixRes< typename
promote_trait< T, double >
::T_promote > 
operator^ (const double &n) const
template<class U >
MatrixResSeq< typename
promote_trait< T, double >
::T_promote > 
operator^ (const vector< U > &v) const
MatrixRes< T > operator+ (const T &t) const
template<class U >
MatrixRes< typename
promote_trait< T, U >
::T_promote > 
operator+ (const Scalar< U > &s) const
MatrixRes< T > operator+ (const Matrix< T > &m) const
template<class U >
MatrixRes< typename
promote_trait< T, U >
::T_promote > 
operator+ (const Matrix< U > &m) const
MatrixRes< T > operator- (const T &t) const
template<class U >
MatrixRes< typename
promote_trait< T, U >
::T_promote > 
operator- (const Scalar< U > &s) const
MatrixRes< T > operator- (const Matrix< T > &m) const
template<class U >
MatrixRes< typename
promote_trait< T, U >
::T_promote > 
operator- (const Matrix< U > &m) const
Matrix< T > & operator+= (const T &t)
template<class U >
Matrix< T > & operator+= (const Scalar< U > &s)
const Matrix< T > & operator+= (const T &t) const
template<class U >
const Matrix< T > & operator+= (const Scalar< U > &s) const
Matrix< T > & operator+= (const Matrix< T > &m)
const Matrix< T > & operator+= (const Matrix< T > &m) const
template<class U >
Matrix< T > & operator+= (const Matrix< U > &m)
template<class U >
const Matrix< T > & operator+= (const Matrix< U > &m) const
Matrix< T > & operator-= (const T &t)
template<class U >
Matrix< T > & operator-= (const Scalar< U > &s)
const Matrix< T > & operator-= (const T &t) const
template<class U >
const Matrix< T > & operator-= (const Scalar< U > &s) const
Matrix< T > & operator-= (const Matrix< T > &m)
const Matrix< T > & operator-= (const Matrix< T > &m) const
template<class U >
Matrix< T > & operator-= (const Matrix< U > &m)
template<class U >
const Matrix< T > & operator-= (const Matrix< U > &m) const
MatrixRes< T > operator* (const T &t) const
template<class U >
MatrixRes< typename
promote_trait< T, U >
::T_promote > 
operator* (const Scalar< U > &s) const
MatrixRes< T > operator* (const Matrix< T > &m) const
template<class U >
MatrixRes< typename
promote_trait< T, U >
::T_promote > 
operator* (const Matrix< U > &m) const
template<class U >
MatrixRes< typename
promote_trait< T, U >
::T_promote > 
operator/ (const Scalar< U > &t) const
MatrixRes< T > operator/ (const Matrix< T > &m) const
template<class U >
MatrixRes< typename
promote_trait< T, U >
::T_promote > 
operator/ (const Matrix< U > &m) const
Matrix< T > & operator*= (const T &t)
template<class U >
Matrix< T > & operator*= (const Scalar< U > &s)
const Matrix< T > & operator*= (const T &t) const
template<class U >
const Matrix< T > & operator*= (const Scalar< U > &s) const
Matrix< T > & operator*= (const Matrix< T > &t)
template<class U >
Matrix< T > & operator*= (const Matrix< U > &m)
Matrix< T > & operator/= (const T &t)
template<class U >
Matrix< T > & operator/= (const Scalar< U > &s)
const Matrix< T > & operator/= (const T &t) const
template<class U >
const Matrix< T > & operator/= (const Scalar< U > &s) const
Matrix< T > & operator/= (const Matrix< T > &t)
const Matrix< T > & operator/= (const Matrix< T > &t) const
template<class U >
Matrix< T > & operator/= (const Matrix< U > &m)
template<class U >
const Matrix< T > & operator/= (const Matrix< U > &m) const
bool operator== (const Matrix< T > &m) const
bool operator!= (const Matrix< T > &m) const
size_t cdimno () const
void changerank (const size_t rk)
Matrix< T > col (const size_t i) const
Matrix< T > col (const slice &sl) const
MatrixCopyOption copyoption () const
template<class U >
MatrixRes< typename
promote_trait< T, U >
::T_promote > 
cross (const Matrix< U > &m) const
valarray< T > & data ()
const valarray< T > & data () const
ValarrayObj_var data_objvar () const
valarray< T > * data_ptr () const
Matrix< T > & deepcopy ()
Matrix< T > diagonal () const
size_t & dimno ()
Void display () const
MatrixRes< T > duplicate (MatrixCopyOption option=DEEP) const
bool empty () const
MatrixRes< T > fortranarray () const
Matrix< T > indexdim (const size_t idim, const size_t i) const
Matrix< T > indexdim (const size_t idim, const slice &sl) const
template<class U >
promote_trait< T, U >::T_promote dot (const Matrix< U > &m) const
Matrix< T > layer (const size_t i) const
Matrix< T > layer (const slice &sl) const
T & matrix_indexelt (size_t *ind, size_t nel) const
T & matrix_indexelt (valarray< size_t > v) const
T & matrix_indexelt (const vector< int > &v) const
MatrixResSeq< T > matrix_to_seq (size_t dimno=1) const
MatrixRes< T > mult_element (const Matrix< T > &m) const
void null_matrix () const
MatrixRes< typename
promote_trait< T, double >
::T_promote > 
pinverse () const
MatrixRes< T > plusreduce (const size_t idim=1) const
void plusreduce (const size_t idim, Matrix< T > &mres) const
MatrixRes< typename
promote_trait< T, double >
::T_promote > 
power (const double &n) const
void reshape (const Dim &d)
void resize (const Dim &d)
Matrix< T > row (const size_t i) const
Matrix< T > row (const slice &sl) const
void set_copyoption (MatrixCopyOption copyopt=DEEP)
void set_storageorder (DimStorageOption order)
Matrix< T > & shallowcopy ()
MatrixRes< typename
promote_trait< T, double >
::T_promote > 
solve (const Matrix< T > &B) const
void storage (DimStorageOption order=ROW_MAJOR_ORDER)
bool subarray () const
sum () const
trace () const
void transpose ()
void unit_matrix () const
virtual Dim_var dimvar () const
Dimdimdata () const
valarray< size_t > dims () const
gslice & getgslice () const
void get_dims (vector< int > &dms) const
void get_strides (vector< int > &str) const
bool is_symmetric () const
size_t rank () const
template<class U >
bool samesize (const Matrix< U > &m) const
size_t size () const
size_t start () const
DimStorageOption storageorder () const
valarray< size_t > strides () const

Protected Member Functions

void createval ()
void initialise ()
 Matrix (ValarrayObj_var v, Dim_var dim, size_t idim=1, bool sub=false, MatrixCopyOption copyopt=DEEP, bool not_empty=true)
Matrix< T > matrix_result () const
Matrix< T > & clone (const Matrix< T > &m)
void make_contiguous ()
void matmult (const Matrix< T > &m, Matrix< T > &mres) const

Protected Attributes

ValarrayObj_var _val
Dim_var _diminfo
bool _subarray
size_t _dimno
MatrixCopyOption _copyoption
bool _not_empty

Private Types

typedef Var< ValarrayObj< T > > ValarrayObj_var
typedef T value_type

Friends

class MatrixRes< T >

template<class T>
class QDOS::Matrix< T >


Member Typedef Documentation

template<class T >
typedef Var<ValarrayObj<T> > QDOS::Matrix< T >::ValarrayObj_var [private]

template<class T >
typedef T QDOS::Matrix< T >::value_type [private]


Constructor & Destructor Documentation

template<class T >
QDOS::Matrix< T >::Matrix ( ValarrayObj_var  v,
Dim_var  dim,
size_t  idim = 1,
bool  sub = false,
MatrixCopyOption  copyopt = DEEP,
bool  not_empty = true 
) [inline, protected]

template<class T >
QDOS::Matrix< T >::Matrix (  )  [inline]

template<class T >
QDOS::Matrix< T >::Matrix ( const T &  val  )  [inline]

template<class T >
template<class U >
QDOS::Matrix< T >::Matrix ( const vector< U > &  v  )  [inline]

template<class T >
QDOS::Matrix< T >::Matrix ( const Dim d  )  [inline]

template<class T >
QDOS::Matrix< T >::Matrix ( const Dim d,
const T &  val 
) [inline]

template<class T >
QDOS::Matrix< T >::Matrix ( const Dim d,
size_t  n,
const T *  p 
) [inline]

template<class T >
template<class U >
QDOS::Matrix< T >::Matrix ( const Dim d,
const vector< U > &  v 
) [inline]

template<class T >
QDOS::Matrix< T >::Matrix ( const Dim d,
const valarray< T > &  v 
) [inline]

template<class T >
QDOS::Matrix< T >::Matrix ( const Matrix< T > &  m  )  [inline]

template<class T >
template<class U >
QDOS::Matrix< T >::Matrix ( const Matrix< U > &  m  )  [inline]

template<class T >
QDOS::Matrix< T >::Matrix ( Dim_var  d  )  [inline]


Member Function Documentation

template<class T >
template<class U >
void QDOS::Matrix< T >::assign_array ( const valarray< U > &  v  )  const [inline]

template<class T >
void QDOS::Matrix< T >::assign_array ( const valarray< T > &  v  )  const [inline]

template<class T >
template<class U >
void QDOS::Matrix< T >::assign_matrix ( const Matrix< U > &  m  )  const [inline]

template<class T >
template<class U >
void QDOS::Matrix< T >::assign_matrix ( const Matrix< U > &  m  )  [inline]

template<class T >
void QDOS::Matrix< T >::assign_matrix ( const Matrix< T > &  m  )  [inline]

template<class T >
void QDOS::Matrix< T >::assign_matrix_deep ( const Matrix< T > &  m  )  [inline]

template<class T >
void QDOS::Matrix< T >::assign_ptr ( size_t  n,
const T *  p 
) const [inline]

template<class T >
void QDOS::Matrix< T >::assign_val ( const T &  t  )  const [inline]

template<class T >
template<class U >
void QDOS::Matrix< T >::assign_vector ( const vector< U > &  v  )  const [inline]

template<class T >
iterator QDOS::Matrix< T >::begin (  )  const [inline]

template<class T >
size_t QDOS::Matrix< T >::cdimno (  )  const [inline]

template<class T >
void QDOS::Matrix< T >::changerank ( const size_t  rk  )  [inline]

template<class T >
Matrix<T>& QDOS::Matrix< T >::clone ( const Matrix< T > &  m  )  [inline, protected]

template<class T >
Matrix< T > QDOS::Matrix< T >::col ( const slice &  sl  )  const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::col ( const size_t  i  )  const [inline]

template<class T >
template<class U >
void QDOS::Matrix< T >::copy ( const Matrix< U > &  m  )  const [inline]

template<class T >
void QDOS::Matrix< T >::copy ( const Matrix< T > &  m  )  const [inline]

template<class T >
T* QDOS::Matrix< T >::copy_to_ptr (  )  const [inline]

template<class T >
MatrixCopyOption QDOS::Matrix< T >::copyoption (  )  const [inline]

template<class T >
void QDOS::Matrix< T >::createval (  )  [inline, protected]

template<class T >
template<class U >
MatrixRes< typename promote_trait< T, U >::T_promote > QDOS::Matrix< T >::cross ( const Matrix< U > &  m  )  const [inline]

template<class T >
const valarray<T>& QDOS::Matrix< T >::data (  )  const [inline]

template<class T >
valarray<T>& QDOS::Matrix< T >::data (  )  [inline]

template<class T >
ValarrayObj_var QDOS::Matrix< T >::data_objvar (  )  const [inline]

template<class T >
valarray<T>* QDOS::Matrix< T >::data_ptr (  )  const [inline]

template<class T >
Matrix<T>& QDOS::Matrix< T >::deepcopy (  )  [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::diagonal (  )  const [inline]

template<class T >
Dim& QDOS::Matrix< T >::dimdata (  )  const [inline]

template<class T >
size_t& QDOS::Matrix< T >::dimno (  )  [inline]

template<class T >
valarray<size_t> QDOS::Matrix< T >::dims (  )  const [inline]

template<class T >
virtual Dim_var QDOS::Matrix< T >::dimvar (  )  const [inline, virtual]

template<class T >
Void QDOS::Matrix< T >::display (  )  const [inline]

template<class T >
template<class U >
promote_trait< T, U >::T_promote QDOS::Matrix< T >::dot ( const Matrix< U > &  m  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::duplicate ( MatrixCopyOption  option = DEEP  )  const [inline]

template<class T >
bool QDOS::Matrix< T >::empty (  )  const [inline]

template<class T >
iterator QDOS::Matrix< T >::end (  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::fortranarray (  )  const [inline]

template<class T >
void QDOS::Matrix< T >::get_dims ( vector< int > &  dms  )  const [inline]

template<class T >
void QDOS::Matrix< T >::get_strides ( vector< int > &  str  )  const [inline]

template<class T >
gslice& QDOS::Matrix< T >::getgslice (  )  const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::indexdim ( const size_t  idim,
const slice &  sl 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::indexdim ( const size_t  idim,
const size_t  i 
) const [inline]

template<class T >
void QDOS::Matrix< T >::initialise (  )  [inline, protected]

template<class T >
bool QDOS::Matrix< T >::is_symmetric (  )  const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::layer ( const slice &  sl  )  const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::layer ( const size_t  i  )  const [inline]

template<class T >
void QDOS::Matrix< T >::make_contiguous (  )  [inline, protected]

template<class T >
void QDOS::Matrix< T >::matmult ( const Matrix< T > &  m,
Matrix< T > &  mres 
) const [inline, protected]

template<class T >
T & QDOS::Matrix< T >::matrix_indexelt ( const vector< int > &  v  )  const [inline]

template<class T >
T & QDOS::Matrix< T >::matrix_indexelt ( valarray< size_t >  v  )  const [inline]

template<class T >
T & QDOS::Matrix< T >::matrix_indexelt ( size_t *  ind,
size_t  nel 
) const [inline]

template<class T >
Matrix<T> QDOS::Matrix< T >::matrix_result (  )  const [inline, protected]

template<class T >
MatrixResSeq< T > QDOS::Matrix< T >::matrix_to_seq ( size_t  dimno = 1  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::mult_element ( const Matrix< T > &  m  )  const [inline]

template<class T >
void QDOS::Matrix< T >::null_matrix (  )  const [inline]

template<class T >
QDOS::Matrix< T >::operator T (  )  const [inline]

template<class T >
QDOS::Matrix< T >::operator vector< T > (  )  const [inline]

template<class T >
bool QDOS::Matrix< T >::operator!= ( const Matrix< T > &  m  )  const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const gslice &  g  )  const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl,
const DummyArg arg1,
const DummyArg arg2 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const size_t  i,
const DummyArg arg1,
const DummyArg arg2 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const DummyArg arg1,
const slice &  sl,
const DummyArg arg2 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const DummyArg arg1,
const size_t  j,
const DummyArg arg2 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const DummyArg arg1,
const DummyArg arg2,
const slice &  sl 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const DummyArg arg1,
const DummyArg arg2,
const size_t  k 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl1,
const slice &  sl2,
const DummyArg arg 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const size_t  i,
const slice &  sl,
const DummyArg arg 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl,
const size_t  j,
const DummyArg arg 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const size_t  i,
const size_t  j,
const DummyArg arg 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl1,
const DummyArg arg,
const slice &  sl2 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const size_t  i,
const DummyArg arg,
const slice &  sl 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl,
const DummyArg arg,
const size_t  k 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const size_t  i,
const DummyArg arg,
const size_t  k 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const DummyArg arg,
const slice &  sl1,
const slice &  sl2 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const DummyArg arg,
const size_t  j,
const slice &  sl 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const DummyArg arg,
const slice &  sl,
const size_t  k 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const DummyArg arg,
const size_t  j,
const size_t  k 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl1,
const slice &  sl2,
const slice &  sl3 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const size_t  i,
const slice &  sl1,
const slice &  sl2 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl1,
const size_t  j,
const slice &  sl3 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl1,
const slice &  sl2,
const size_t  k 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const size_t  i,
const size_t  j,
const slice &  sl3 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const size_t  i,
const slice &  sl2,
const size_t  k 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl1,
const size_t  j,
const size_t  k 
) const [inline]

template<class T >
T & QDOS::Matrix< T >::operator() ( const size_t  i,
const size_t  j,
const size_t  k 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl,
const DummyArg arg 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const size_t  i,
const DummyArg arg 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const DummyArg arg,
const slice &  sl 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const DummyArg arg,
const size_t  j 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl1,
const slice &  sl2 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const size_t  i,
const slice &  sl2 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl1,
const size_t  j 
) const [inline]

template<class T >
T & QDOS::Matrix< T >::operator() ( const size_t  i,
const size_t  j 
) const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator() ( const slice &  sl  )  const [inline]

template<class T >
T & QDOS::Matrix< T >::operator() ( const size_t  i  )  const [inline]

template<class T >
template<class U >
MatrixRes< typename promote_trait< T, U >::T_promote > QDOS::Matrix< T >::operator* ( const Matrix< U > &  m  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::operator* ( const Matrix< T > &  m  )  const [inline]

template<class T >
template<class U >
MatrixRes< typename promote_trait< T, U >::T_promote > QDOS::Matrix< T >::operator* ( const Scalar< U > &  s  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::operator* ( const T &  t  )  const [inline]

template<class T >
template<class U >
Matrix< T > & QDOS::Matrix< T >::operator*= ( const Matrix< U > &  m  )  [inline]

template<class T >
Matrix< T > & QDOS::Matrix< T >::operator*= ( const Matrix< T > &  t  )  [inline]

template<class T >
template<class U >
const Matrix< T > & QDOS::Matrix< T >::operator*= ( const Scalar< U > &  s  )  const [inline]

template<class T >
const Matrix< T > & QDOS::Matrix< T >::operator*= ( const T &  t  )  const [inline]

template<class T >
template<class U >
Matrix< T > & QDOS::Matrix< T >::operator*= ( const Scalar< U > &  s  )  [inline]

template<class T >
Matrix< T > & QDOS::Matrix< T >::operator*= ( const T &  t  )  [inline]

template<class T >
template<class U >
MatrixRes< typename promote_trait< T, U >::T_promote > QDOS::Matrix< T >::operator+ ( const Matrix< U > &  m  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::operator+ ( const Matrix< T > &  m  )  const [inline]

template<class T >
template<class U >
MatrixRes< typename promote_trait< T, U >::T_promote > QDOS::Matrix< T >::operator+ ( const Scalar< U > &  s  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::operator+ ( const T &  t  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::operator+ (  )  const [inline]

template<class T >
template<class U >
const Matrix< T > & QDOS::Matrix< T >::operator+= ( const Matrix< U > &  m  )  const [inline]

template<class T >
template<class U >
Matrix< T > & QDOS::Matrix< T >::operator+= ( const Matrix< U > &  m  )  [inline]

template<class T >
const Matrix< T > & QDOS::Matrix< T >::operator+= ( const Matrix< T > &  m  )  const [inline]

template<class T >
Matrix< T > & QDOS::Matrix< T >::operator+= ( const Matrix< T > &  m  )  [inline]

template<class T >
template<class U >
const Matrix< T > & QDOS::Matrix< T >::operator+= ( const Scalar< U > &  s  )  const [inline]

template<class T >
const Matrix< T > & QDOS::Matrix< T >::operator+= ( const T &  t  )  const [inline]

template<class T >
template<class U >
Matrix< T > & QDOS::Matrix< T >::operator+= ( const Scalar< U > &  s  )  [inline]

template<class T >
Matrix< T > & QDOS::Matrix< T >::operator+= ( const T &  t  )  [inline]

template<class T >
template<class U >
MatrixRes< typename promote_trait< T, U >::T_promote > QDOS::Matrix< T >::operator- ( const Matrix< U > &  m  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::operator- ( const Matrix< T > &  m  )  const [inline]

template<class T >
template<class U >
MatrixRes< typename promote_trait< T, U >::T_promote > QDOS::Matrix< T >::operator- ( const Scalar< U > &  s  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::operator- ( const T &  t  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::operator- (  )  const [inline]

template<class T >
template<class U >
const Matrix< T > & QDOS::Matrix< T >::operator-= ( const Matrix< U > &  m  )  const [inline]

template<class T >
template<class U >
Matrix< T > & QDOS::Matrix< T >::operator-= ( const Matrix< U > &  m  )  [inline]

template<class T >
const Matrix< T > & QDOS::Matrix< T >::operator-= ( const Matrix< T > &  m  )  const [inline]

template<class T >
Matrix< T > & QDOS::Matrix< T >::operator-= ( const Matrix< T > &  m  )  [inline]

template<class T >
template<class U >
const Matrix< T > & QDOS::Matrix< T >::operator-= ( const Scalar< U > &  s  )  const [inline]

template<class T >
const Matrix< T > & QDOS::Matrix< T >::operator-= ( const T &  t  )  const [inline]

template<class T >
template<class U >
Matrix< T > & QDOS::Matrix< T >::operator-= ( const Scalar< U > &  s  )  [inline]

template<class T >
Matrix< T > & QDOS::Matrix< T >::operator-= ( const T &  t  )  [inline]

template<class T >
template<class U >
MatrixRes< typename promote_trait< T, U >::T_promote > QDOS::Matrix< T >::operator/ ( const Matrix< U > &  m  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::operator/ ( const Matrix< T > &  m  )  const [inline]

template<class T >
template<class U >
MatrixRes< typename promote_trait< T, U >::T_promote > QDOS::Matrix< T >::operator/ ( const Scalar< U > &  t  )  const [inline]

template<class T >
template<class U >
const Matrix< T > & QDOS::Matrix< T >::operator/= ( const Matrix< U > &  m  )  const [inline]

template<class T >
template<class U >
Matrix< T > & QDOS::Matrix< T >::operator/= ( const Matrix< U > &  m  )  [inline]

template<class T >
const Matrix< T > & QDOS::Matrix< T >::operator/= ( const Matrix< T > &  t  )  const [inline]

template<class T >
Matrix< T > & QDOS::Matrix< T >::operator/= ( const Matrix< T > &  t  )  [inline]

template<class T >
template<class U >
const Matrix< T > & QDOS::Matrix< T >::operator/= ( const Scalar< U > &  s  )  const [inline]

template<class T >
const Matrix< T > & QDOS::Matrix< T >::operator/= ( const T &  t  )  const [inline]

template<class T >
template<class U >
Matrix< T > & QDOS::Matrix< T >::operator/= ( const Scalar< U > &  s  )  [inline]

template<class T >
Matrix< T > & QDOS::Matrix< T >::operator/= ( const T &  t  )  [inline]

template<class T >
template<class U >
const Matrix<T>& QDOS::Matrix< T >::operator= ( const Matrix< U > &  m  )  const [inline]

template<class T >
template<class U >
Matrix<T>& QDOS::Matrix< T >::operator= ( const Matrix< U > &  m  )  [inline]

template<class T >
const Matrix<T>& QDOS::Matrix< T >::operator= ( const Matrix< T > &  m  )  const [inline]

template<class T >
Matrix<T>& QDOS::Matrix< T >::operator= ( const Matrix< T > &  m  )  [inline]

template<class T >
template<class U >
const Matrix<T>& QDOS::Matrix< T >::operator= ( const vector< U > &  v  )  const [inline]

template<class T >
template<class U >
Matrix<T>& QDOS::Matrix< T >::operator= ( const vector< U > &  v  )  [inline]

template<class T >
ListInitialization QDOS::Matrix< T >::operator= ( const T &  t  )  const [inline]

template<class T >
ListInitialization QDOS::Matrix< T >::operator= ( const T &  t  )  [inline]

template<class T >
bool QDOS::Matrix< T >::operator== ( const Matrix< T > &  m  )  const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator[] ( const gslice &  g  )  const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator[] ( const slice &  sl  )  const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator[] ( const size_t  i  )  const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::operator[] ( const DummyArg arg  )  const [inline]

template<class T >
template<class U >
MatrixResSeq< typename promote_trait< T, double >::T_promote > QDOS::Matrix< T >::operator^ ( const vector< U > &  v  )  const [inline]

template<class T >
MatrixRes< typename promote_trait< T, double >::T_promote > QDOS::Matrix< T >::operator^ ( const double &  n  )  const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::operator~ (  )  const [inline]

template<class T >
MatrixRes< typename promote_trait< T, double >::T_promote > QDOS::Matrix< T >::pinverse (  )  const [inline]

template<class T >
void QDOS::Matrix< T >::plusreduce ( const size_t  idim,
Matrix< T > &  mres 
) const [inline]

template<class T >
MatrixRes< T > QDOS::Matrix< T >::plusreduce ( const size_t  idim = 1  )  const [inline]

template<class T >
MatrixRes< typename promote_trait< T, double >::T_promote > QDOS::Matrix< T >::power ( const double &  n  )  const [inline]

template<class T >
T* QDOS::Matrix< T >::ptr (  )  [inline]

template<class T >
size_t QDOS::Matrix< T >::rank (  )  const [inline]

template<class T >
void QDOS::Matrix< T >::reshape ( const Dim d  )  [inline]

template<class T >
void QDOS::Matrix< T >::resize ( const Dim d  )  [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::row ( const slice &  sl  )  const [inline]

template<class T >
Matrix< T > QDOS::Matrix< T >::row ( const size_t  i  )  const [inline]

template<class T >
template<class U >
bool QDOS::Matrix< T >::samesize ( const Matrix< U > &  m  )  const [inline]

template<class T >
T QDOS::Matrix< T >::scalar (  )  const [inline]

template<class T >
void QDOS::Matrix< T >::set_copyoption ( MatrixCopyOption  copyopt = DEEP  )  [inline]

template<class T >
void QDOS::Matrix< T >::set_storageorder ( DimStorageOption  order  )  [inline]

template<class T >
Matrix<T>& QDOS::Matrix< T >::shallowcopy (  )  [inline]

template<class T >
size_t QDOS::Matrix< T >::size (  )  const [inline]

template<class T >
MatrixRes< typename promote_trait< T, double >::T_promote > QDOS::Matrix< T >::solve ( const Matrix< T > &  B  )  const [inline]

template<class T >
size_t QDOS::Matrix< T >::start (  )  const [inline]

template<class T >
void QDOS::Matrix< T >::storage ( DimStorageOption  order = ROW_MAJOR_ORDER  )  [inline]

template<class T >
DimStorageOption QDOS::Matrix< T >::storageorder (  )  const [inline]

template<class T >
valarray<size_t> QDOS::Matrix< T >::strides (  )  const [inline]

template<class T >
bool QDOS::Matrix< T >::subarray (  )  const [inline]

template<class T >
T QDOS::Matrix< T >::sum (  )  const [inline]

template<class T >
T QDOS::Matrix< T >::trace (  )  const [inline]

template<class T >
void QDOS::Matrix< T >::transpose (  )  [inline]

template<class T >
void QDOS::Matrix< T >::unit_matrix (  )  const [inline]


Friends And Related Function Documentation

template<class T >
friend class MatrixRes< T > [friend]


Member Data Documentation

template<class T >
MatrixCopyOption QDOS::Matrix< T >::_copyoption [protected]

template<class T >
Dim_var QDOS::Matrix< T >::_diminfo [mutable, protected]

template<class T >
size_t QDOS::Matrix< T >::_dimno [protected]

template<class T >
bool QDOS::Matrix< T >::_not_empty [mutable, protected]

template<class T >
bool QDOS::Matrix< T >::_subarray [protected]

template<class T >
ValarrayObj_var QDOS::Matrix< T >::_val [mutable, protected]


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

Generated on Fri Jan 8 12:51:31 2010 for QSAS by  doxygen 1.5.7