ug4
|
#include <densematrix.h>
Public Types | |
enum | { is_static = TStorage::is_static } |
enum | { static_num_rows = TStorage::static_num_rows } |
enum | { static_num_cols = TStorage::static_num_cols } |
typedef TStorage | base |
typedef TStorage::size_type | size_type |
typedef DenseMatrix< TStorage > | this_type |
typedef TStorage::value_type | value_type |
Public Member Functions | |
DenseMatrix () | |
DenseMatrix (const this_type &rhs) | |
DenseMatrix (double val) | |
value_type & | entry (size_type r, size_type c) |
const value_type & | entry (size_type r, size_type c) const |
void | maple_print (const char *name) |
template<typename T2 > | |
bool | operator!= (const T2 &t) const |
template<typename TStorage2 > | |
bool | operator!= (const TStorage2 &t) const |
template<typename TStorage2 > | |
DenseVector< TStorage2 > | operator* (const DenseVector< TStorage2 > &vec) const |
this_type | operator* (const this_type &mat) const |
this_type | operator* (double alpha) const |
this_type & | operator*= (const this_type &mat) |
this_type & | operator*= (double alpha) |
this_type | operator+ (const this_type &other) const |
template<typename T > | |
this_type & | operator+= (const T &t) |
template<typename T2 > | |
DenseMatrix< TStorage > & | operator+= (const T2 &t) |
this_type & | operator+= (double alpha) |
this_type | operator- () const |
this_type | operator- (const this_type &other) const |
template<typename T > | |
this_type & | operator-= (const T &t) |
template<typename T2 > | |
DenseMatrix< TStorage > & | operator-= (const T2 &t) |
this_type & | operator-= (double alpha) |
this_type | operator/ (this_type &other) |
this_type & | operator/= (double alpha) |
this_type & | operator/= (this_type &other) |
template<typename T > | |
this_type & | operator= (const T &t) |
template<typename T2 > | |
DenseMatrix< TStorage > & | operator= (const T2 &t) |
this_type & | operator= (const this_type &t) |
this_type & | operator= (double alpha) |
template<typename TStorage2 > | |
bool | operator== (const DenseMatrix< TStorage2 > &t) const |
bool | operator== (double t) const |
template<typename TStorage2 > | |
void | subassign (size_t r, size_t c, const TStorage2 &t) |
void | subassign (size_t r, size_t c, const value_type &t) |
this_type | T () const |
Static Public Attributes | |
static const eMatrixOrdering | ordering = TStorage::ordering |
DenseMatrix is a mathematical matrix class, which inherits its storage behaviour (fixed/variable size, RowMajor/ColMajor ordering) from TStorage.
TStorage | storage policy with interface of VariableArray2. |
typedef TStorage ug::DenseMatrix< TStorage >::base |
typedef TStorage::size_type ug::DenseMatrix< TStorage >::size_type |
typedef DenseMatrix<TStorage> ug::DenseMatrix< TStorage >::this_type |
typedef TStorage::value_type ug::DenseMatrix< TStorage >::value_type |
ug::DenseMatrix< TStorage >::DenseMatrix |
ug::DenseMatrix< TStorage >::DenseMatrix | ( | double | val | ) |
References ug::DenseMatrix< TStorage >::operator=().
ug::DenseMatrix< TStorage >::DenseMatrix | ( | const this_type & | rhs | ) |
|
inline |
References operator()().
|
inline |
References operator()().
Referenced by ug::LocalDoFSubspace< TDomain, TAlgebra, TObject >::extract_matrix(), and ug::DenseMatrix< TStorage >::subassign().
void ug::DenseMatrix< TStorage >::maple_print | ( | const char * | name | ) |
References ug::MatlabString(), name, and UG_LOG.
bool ug::DenseMatrix< TStorage >::operator!= | ( | const T2 & | t | ) | const |
References ug::operator==().
|
inline |
DenseVector< TStorage2 > ug::DenseMatrix< TStorage >::operator* | ( | const DenseVector< TStorage2 > & | vec | ) | const |
References num_cols(), num_rows(), and UG_ASSERT.
|
inline |
References ug::AddMult(), num_cols(), num_rows(), and UG_ASSERT.
|
inline |
References alpha, num_cols(), and num_rows().
|
inline |
|
inline |
|
inline |
References num_cols(), num_rows(), and UG_ASSERT.
|
inline |
DenseMatrix<TStorage>& ug::DenseMatrix< TStorage >::operator+= | ( | const T2 & | t | ) |
|
inline |
|
inline |
References num_cols(), and num_rows().
|
inline |
References num_cols(), num_rows(), and UG_ASSERT.
|
inline |
DenseMatrix<TStorage>& ug::DenseMatrix< TStorage >::operator-= | ( | const T2 & | t | ) |
|
inline |
References alpha, num_cols(), and num_rows().
DenseMatrix< TStorage > ug::DenseMatrix< TStorage >::operator/ | ( | this_type & | other | ) |
References ug::Invert().
|
inline |
References alpha, num_cols(), and num_rows().
|
inline |
References ug::Invert(), and UG_COND_THROW.
|
inline |
DenseMatrix<TStorage>& ug::DenseMatrix< TStorage >::operator= | ( | const T2 & | t | ) |
|
inline |
Referenced by ug::DenseMatrix< TStorage >::DenseMatrix().
|
inline |
References num_cols(), and num_rows().
|
inline |
References num_cols(), and num_rows().
|
inline |
References num_cols(), and num_rows().
|
inline |
|
inline |
References ug::DenseMatrix< TStorage >::entry().
|
inline |
References num_cols(), and num_rows().
|
static |