ug4
|
#include <densevector.h>
Public Types | |
enum | { is_static = storage_traits1<TStorage>::is_static } |
enum | { static_size = storage_traits1<TStorage>::static_size } |
typedef TStorage | base |
typedef TStorage::size_type | size_type |
typedef DenseVector< TStorage > | this_type |
typedef TStorage::value_type | value_type |
Public Member Functions | |
template<typename Type > | |
DenseVector< TStorage > & | assign (const Type &t) |
DenseVector (const DenseVector< TStorage > &rhs) | |
DenseVector (double alpha=0.0) | |
value_type & | entry (size_t i) |
const value_type & | entry (size_t i) const |
void | maple_print (const char *name) |
size_t | num_cols () const |
size_t | num_rows () const |
bool | operator!= (double d) const |
value_type & | operator() (size_t r, size_t c) |
const value_type & | operator() (size_t r, size_t c) const |
this_type | operator* (double alpha) const |
template<typename T > | |
this_type & | operator*= (const T &alpha) |
template<typename T > | |
DenseVector< TStorage > & | operator*= (const T &alpha) |
this_type | operator+ (const this_type &other) const |
this_type & | operator+= (const this_type &rhs) |
this_type & | operator+= (const value_type &alpha) |
this_type | operator- () const |
this_type | operator- (const this_type &other) const |
this_type & | operator-= (const this_type &rhs) |
this_type & | operator-= (const value_type &alpha) |
this_type & | operator/= (const value_type &alpha) |
bool | operator< (double d) const |
bool | operator<= (double d) const |
template<typename T > | |
this_type & | operator= (const double &alpha) |
template<typename T > | |
this_type & | operator= (const T &alpha) |
template<typename T > | |
DenseVector< TStorage > & | operator= (const T &alpha) |
this_type & | operator= (const this_type &rhs) |
bool | operator== (double d) const |
bool | operator> (double d) const |
bool | operator>= (double d) const |
template<typename T2 > | |
void | subassign (size_t i, const T2 &t) |
void | subassign (size_t i, const value_type &t) |
DenseVector is a one-dimensional mathematical vector of objects TStorage::value_type. Use DenseVector with FixedArray1, VariableArray1 or stl::vector. Depending on TStorage, DenseVector is of fixed size or variable size, and inheritates the interface or TStorage.
TStorage | storage policy with interface of VariableArray1. |
typedef TStorage ug::DenseVector< TStorage >::base |
typedef TStorage::size_type ug::DenseVector< TStorage >::size_type |
typedef DenseVector<TStorage> ug::DenseVector< TStorage >::this_type |
typedef TStorage::value_type ug::DenseVector< TStorage >::value_type |
ug::DenseVector< TStorage >::DenseVector | ( | double | alpha = 0.0 | ) |
References alpha.
ug::DenseVector< TStorage >::DenseVector | ( | const DenseVector< TStorage > & | rhs | ) |
DenseVector< TStorage > & ug::DenseVector< TStorage >::assign | ( | const Type & | t | ) |
References ug::VectorAssign().
|
inline |
|
inline |
Referenced by ug::DenseVector< TStorage >::operator!=(), ug::DenseVector< TStorage >::operator()(), ug::DenseVector< TStorage >::operator*(), ug::DenseVector< TStorage >::operator+(), ug::DenseVector< TStorage >::operator-(), ug::DenseVector< TStorage >::operator<(), ug::DenseVector< TStorage >::operator<=(), ug::DenseVector< TStorage >::operator=(), ug::DenseVector< TStorage >::operator==(), ug::DenseVector< TStorage >::operator>(), ug::DenseVector< TStorage >::operator>=(), and ug::DenseVector< TStorage >::subassign().
void ug::DenseVector< TStorage >::maple_print | ( | const char * | name | ) |
Referenced by ug::SolveDeficit().
|
inline |
|
inline |
|
inline |
References ug::DenseVector< TStorage >::entry().
|
inline |
References ug::DenseVector< TStorage >::entry(), and UG_ASSERT.
|
inline |
References ug::DenseVector< TStorage >::entry(), and UG_ASSERT.
|
inline |
References alpha, and ug::DenseVector< TStorage >::entry().
|
inline |
DenseVector<TStorage>& ug::DenseVector< TStorage >::operator*= | ( | const T & | alpha | ) |
|
inline |
References ug::DenseVector< TStorage >::entry(), and UG_ASSERT.
|
inline |
|
inline |
|
inline |
|
inline |
References ug::DenseVector< TStorage >::entry(), and UG_ASSERT.
|
inline |
|
inline |
|
inline |
References alpha.
|
inline |
References ug::DenseVector< TStorage >::entry().
|
inline |
References ug::DenseVector< TStorage >::entry().
|
inline |
References alpha, and ug::DenseVector< TStorage >::entry().
|
inline |
DenseVector<TStorage>& ug::DenseVector< TStorage >::operator= | ( | const T & | alpha | ) |
References alpha.
|
inline |
References resize().
|
inline |
References ug::DenseVector< TStorage >::entry().
|
inline |
References ug::DenseVector< TStorage >::entry().
|
inline |
References ug::DenseVector< TStorage >::entry().
|
inline |
References ug::DenseVector< TStorage >::entry(), and UG_ASSERT.
|
inline |