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) |
T | 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 |
typedef ::FullMatrix<T> FullMatrixAccessor< T >::Base |
typedef Base::value_type FullMatrixAccessor< T >::value_type |
FullMatrixAccessor< T >::FullMatrixAccessor | ( | const unsigned int | n = 0 |
) | [inline] |
FullMatrixAccessor< T >::FullMatrixAccessor | ( | const unsigned int | rows, | |
const unsigned int | cols, | |||
bool | is_column_major = false | |||
) | [inline] |
FullMatrixAccessor< T >::FullMatrixAccessor | ( | const ::FullMatrix< T > & | other | ) | [inline] |
FullMatrixAccessor< T >::FullMatrixAccessor | ( | const ::FullMatrix< T > & | other, | |
bool | transpose_copy | |||
) | [inline] |
References FullMatrixAccessor< T >::reinit(), and FullMatrixAccessor< T >::val().
FullMatrixAccessor< T >::FullMatrixAccessor | ( | const unsigned int | rows, | |
const unsigned int | cols, | |||
const T * | entries | |||
) | [inline] |
FullMatrixAccessor< T >::FullMatrixAccessor | ( | const ::IdentityMatrix & | id | ) | [inline] |
void FullMatrixAccessor< T >::reinit | ( | size_t | nr, | |
size_t | nc | |||
) | [inline] |
Referenced by FullMatrixAccessor< T >::FullMatrixAccessor(), and FullMatrixAccessor< T >::operator=().
T * FullMatrixAccessor< T >::val | ( | ) | [inline] |
const T * FullMatrixAccessor< T >::val | ( | ) | const [inline] |
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator= | ( | const bw_types::Matrix< T, BW > & | A_d | ) | [inline] |
void FullMatrixAccessor< T >::push_to | ( | ::FullMatrix< T2 > & | dst | ) | const [inline] |
T & FullMatrixAccessor< T >::operator() | ( | const unsigned int | i, | |
const unsigned int | j | |||
) | [inline] |
References FullMatrixAccessor< T >::__is_col_major, and FullMatrixAccessor< T >::val().
const T & FullMatrixAccessor< T >::operator() | ( | const unsigned int | i, | |
const unsigned int | j | |||
) | const [inline] |
References FullMatrixAccessor< T >::__is_col_major, and FullMatrixAccessor< T >::val().
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator+= | ( | const FullMatrixAccessor< T > & | A | ) | [inline] |
References FullMatrixAccessor< T >::n_cols(), and FullMatrixAccessor< T >::n_rows().
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator-= | ( | const FullMatrixAccessor< T > & | A | ) | [inline] |
References FullMatrixAccessor< T >::n_cols(), and FullMatrixAccessor< T >::n_rows().
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator+= | ( | const ::FullMatrix< T > & | A_h | ) | [inline] |
References FullMatrixAccessor< T >::n_cols(), and FullMatrixAccessor< T >::n_rows().
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator-= | ( | const ::FullMatrix< T > & | A_h | ) | [inline] |
References FullMatrixAccessor< T >::n_cols(), and FullMatrixAccessor< T >::n_rows().
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator+= | ( | const ::IdentityMatrix & | I_h | ) | [inline] |
References FullMatrixAccessor< T >::n_cols(), and FullMatrixAccessor< T >::n_rows().
FullMatrixAccessor< T > & FullMatrixAccessor< T >::operator-= | ( | const ::IdentityMatrix & | I_h | ) | [inline] |
References FullMatrixAccessor< T >::n_cols(), and FullMatrixAccessor< T >::n_rows().
T FullMatrixAccessor< T >::frobenius_norm | ( | ) | const [inline] |
bool FullMatrixAccessor< T >::is_column_major | ( | ) | const [inline] |
unsigned int FullMatrixAccessor< T >::n_rows | ( | ) | const [inline] |
unsigned int FullMatrixAccessor< T >::n_cols | ( | ) | const [inline] |
unsigned int FullMatrixAccessor< T >::n_elements | ( | ) | const [inline] |
Referenced by bw_types::Matrix< T, BW >::operator=().
void FullMatrixAccessor< T >::print | ( | ) | [inline] |
bool FullMatrixAccessor< T >::__is_col_major [private] |