ug4
|
#include <math_vector.h>
Public Types | |
typedef std::size_t | size_type |
typedef T | value_type |
Public Member Functions | |
value_type & | coord (std::size_t index) |
value_type | coord (std::size_t index) const |
MathVector () | |
MathVector (const MathVector< 0, T > &v) | |
MathVector (value_type x) | |
value_type | operator* (const MathVector &v) const |
MathVector & | operator*= (const value_type &val) |
MathVector & | operator+= (const MathVector &v) |
MathVector & | operator+= (const value_type &val) |
MathVector & | operator- () |
MathVector & | operator-= (const MathVector &v) |
MathVector & | operator-= (const value_type &val) |
MathVector & | operator/= (const value_type &val) |
MathVector & | operator= (const MathVector &v) |
MathVector & | operator= (const value_type &val) |
value_type & | operator[] (std::size_t index) |
const value_type & | operator[] (std::size_t index) const |
void | set_coord (std::size_t index, value_type v) |
std::size_t | size () const |
value_type & | x () |
const value_type & | x () const |
Static Public Member Functions | |
static MathVector | from (const MathVector< 0, T > &v) |
static MathVector | from (const MathVector< 1, T > &v) |
static MathVector | from (const MathVector< 2, T > &v) |
static MathVector | from (const MathVector< 3, T > &v) |
static MathVector | from (const MathVector< 4, T > &v) |
template<std::size_t fromN> | |
static MathVector | from (const MathVector< fromN, T > &v) |
Public Attributes | |
value_type | m_data [1] |
Static Public Attributes | |
static const std::size_t | Size = 1 |
Protected Member Functions | |
void | assign (const MathVector< 0, T > &v) |
THIS IS A TEMPORARY STUB. Some discretization routines use MathVector<0>, requiring a single coordinate. A mathematical Vector with 1 entry and static storage
typedef std::size_t ug::MathVector< 0, T >::size_type |
typedef T ug::MathVector< 0, T >::value_type |
|
inline |
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::assign().
|
inlineprotected |
References m_data, and ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inlinestatic |
|
inlinestatic |
References ug::MathVector< N, T >::MathVector().
|
inlinestatic |
References ug::MathVector< N, T >::MathVector().
|
inlinestatic |
References ug::MathVector< N, T >::MathVector().
|
inlinestatic |
References ug::MathVector< N, T >::MathVector().
|
inlinestatic |
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::assign().
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
value_type ug::MathVector< 0, T >::m_data[1] |
Referenced by assign().
|
static |