CUDA Lab Course Reference Manual 2011

FullMatrixAccessor< T > Class Template Reference

Inheritance diagram for FullMatrixAccessor< T >:

FullMatrix

List of all members.


Public Types

typedef ::FullMatrix< T > Base
typedef Base::value_type value_type

Public Member Functions

 FullMatrixAccessor (const unsigned int n=0)
 FullMatrixAccessor (const unsigned int rows, const unsigned int cols, bool is_column_major=false)
 FullMatrixAccessor (const ::FullMatrix< T > &other)
 FullMatrixAccessor (const ::FullMatrix< T > &other, bool transpose_copy)
 FullMatrixAccessor (const unsigned int rows, const unsigned int cols, const T *entries)
 FullMatrixAccessor (const ::IdentityMatrix &id)
void reinit (size_t nr, size_t nc)
T * val ()
const T * val () const
template<typename BW >
FullMatrixAccessor< T > & operator= (const bw_types::Matrix< T, BW > &A_d)
template<typename T2 >
void push_to (::FullMatrix< T2 > &dst) const
T & operator() (const unsigned int i, const unsigned int j)
const T & operator() (const unsigned int i, const unsigned int j) const
FullMatrixAccessor< T > & operator+= (const FullMatrixAccessor< T > &A)
FullMatrixAccessor< T > & operator-= (const FullMatrixAccessor< T > &A)
FullMatrixAccessor< T > & operator+= (const ::FullMatrix< T > &A_h)
FullMatrixAccessor< T > & operator-= (const ::FullMatrix< T > &A_h)
FullMatrixAccessor< T > & operator+= (const ::IdentityMatrix &I_h)
FullMatrixAccessor< T > & operator-= (const ::IdentityMatrix &I_h)
frobenius_norm () const
bool is_column_major () const
unsigned int n_rows () const
unsigned int n_cols () const
unsigned int n_elements () const
void print ()

Private Attributes

bool __is_col_major

template<typename T>
class FullMatrixAccessor< T >


Member Typedef Documentation

template<typename T >
typedef ::FullMatrix<T> FullMatrixAccessor< T >::Base

template<typename T >
typedef Base::value_type FullMatrixAccessor< T >::value_type


Constructor & Destructor Documentation

template<typename T >
FullMatrixAccessor< T >::FullMatrixAccessor ( const unsigned int  n = 0  )  [inline]

template<typename T >
FullMatrixAccessor< T >::FullMatrixAccessor ( const unsigned int  rows,
const unsigned int  cols,
bool  is_column_major = false 
) [inline]

template<typename T >
FullMatrixAccessor< T >::FullMatrixAccessor ( const ::FullMatrix< T > &  other  )  [inline]

template<typename T >
FullMatrixAccessor< T >::FullMatrixAccessor ( const ::FullMatrix< T > &  other,
bool  transpose_copy 
) [inline]

template<typename T >
FullMatrixAccessor< T >::FullMatrixAccessor ( const unsigned int  rows,
const unsigned int  cols,
const T *  entries 
) [inline]

template<typename T >
FullMatrixAccessor< T >::FullMatrixAccessor ( const ::IdentityMatrix &  id  )  [inline]


Member Function Documentation

template<typename T >
void FullMatrixAccessor< T >::reinit ( size_t  nr,
size_t  nc 
) [inline]

template<typename T >
T * FullMatrixAccessor< T >::val (  )  [inline]

template<typename T >
const T * FullMatrixAccessor< T >::val (  )  const [inline]

template<typename T >
template<typename BW >
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator= ( const bw_types::Matrix< T, BW > &  A_d  )  [inline]

template<typename T >
template<typename T2 >
void FullMatrixAccessor< T >::push_to ( ::FullMatrix< T2 > &  dst  )  const [inline]

template<typename T >
T & FullMatrixAccessor< T >::operator() ( const unsigned int  i,
const unsigned int  j 
) [inline]

template<typename T >
const T & FullMatrixAccessor< T >::operator() ( const unsigned int  i,
const unsigned int  j 
) const [inline]

template<typename T >
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator+= ( const FullMatrixAccessor< T > &  A  )  [inline]

template<typename T >
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator-= ( const FullMatrixAccessor< T > &  A  )  [inline]

template<typename T >
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator+= ( const ::FullMatrix< T > &  A_h  )  [inline]

template<typename T >
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator-= ( const ::FullMatrix< T > &  A_h  )  [inline]

template<typename T >
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator+= ( const ::IdentityMatrix &  I_h  )  [inline]

template<typename T >
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator-= ( const ::IdentityMatrix &  I_h  )  [inline]

template<typename T >
T FullMatrixAccessor< T >::frobenius_norm (  )  const [inline]

template<typename T >
bool FullMatrixAccessor< T >::is_column_major (  )  const [inline]

template<typename T >
unsigned int FullMatrixAccessor< T >::n_rows (  )  const [inline]

template<typename T >
unsigned int FullMatrixAccessor< T >::n_cols (  )  const [inline]

template<typename T >
unsigned int FullMatrixAccessor< T >::n_elements (  )  const [inline]

template<typename T >
void FullMatrixAccessor< T >::print (  )  [inline]


Member Data Documentation

template<typename T >
bool FullMatrixAccessor< T >::__is_col_major [private]


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

blanc++ documentation generated on Mon Jul 18 12:05:12 2011 by doxygen 1.5.7