ug4
|
a mathematical Vector with N entries. More...
#include <math_vector.h>
Public Types | |
typedef std::size_t | size_type |
typedef T | value_type |
Public Member Functions | |
value_type & | coord (size_t index) |
value_type | coord (size_t index) const |
MathVector () | |
MathVector (const MathVector &v) | |
MathVector (const value_type &val) | |
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- () const |
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[] (size_t index) |
const value_type & | operator[] (size_t index) const |
void | set_coord (std::size_t index, value_type v) |
std::size_t | size () const |
Static Public Member Functions | |
template<std::size_t fromN> | |
static MathVector | from (const MathVector< fromN, T > &v) |
Static Public Attributes | |
static const std::size_t | Size = N |
Protected Member Functions | |
void | assign (const MathVector< N > &v) |
Protected Attributes | |
value_type | m_data [N] |
a mathematical Vector with N entries.
A mathematical Vector with N entries and static storage
typedef std::size_t ug::MathVector< N, T >::size_type |
typedef T ug::MathVector< N, T >::value_type |
|
inline |
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::assign().
|
inlineprotected |
References ug::MathVector< N, T >::coord(), and ug::MathVector< N, T >::m_data.
Referenced by ug::MathVector< N, T >::MathVector(), ug::MathVector< 0, T >::MathVector(), ug::MathVector< 1, T >::MathVector(), ug::MathVector< 2, T >::MathVector(), ug::MathVector< 3, T >::MathVector(), ug::MathVector< 4, T >::MathVector(), ug::MathVector< N, T >::operator=(), ug::MathVector< 0, T >::operator=(), ug::MathVector< 1, T >::operator=(), ug::MathVector< 2, T >::operator=(), ug::MathVector< 3, T >::operator=(), and ug::MathVector< 4, T >::operator=().
|
inline |
References ug::MathVector< N, T >::m_data.
Referenced by ug::MathVector< N, T >::assign(), ug::MathVector< N, T >::operator*(), ug::MathVector< 2, T >::operator*(), ug::MathVector< 3, T >::operator*(), ug::MathVector< 4, T >::operator*(), ug::MathVector< N, T >::operator+=(), ug::MathVector< 2, T >::operator+=(), ug::MathVector< 3, T >::operator+=(), ug::MathVector< 4, T >::operator+=(), ug::MathVector< N, T >::operator-=(), ug::MathVector< 2, T >::operator-=(), ug::MathVector< 3, T >::operator-=(), ug::MathVector< 4, T >::operator-=(), ug::operator<<(), ug::read_plain_txt(), and ug::write_plain_txt().
|
inline |
References ug::MathVector< N, T >::m_data.
|
inlinestatic |
|
inline |
References ug::MathVector< N, T >::coord(), and ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::coord(), and ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data.
|
inline |
References ug::MathVector< N, T >::m_data, and ug::MathVector< N, T >::set_coord().
|
inline |
References ug::MathVector< N, T >::coord(), and 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.
Referenced by ug::MathVector< N, T >::operator-().
|
inline |
Referenced by ug::ArteExpandFracs3D::establishNewVertices< false, ArteExpandFracs3D::VrtxFracProptsStatus::oneFracSuDoAtt >(), ug::bp_defect_and_gradient(), ug::node_tree::CreateSubOctrees(), ug::bridge::Evaluate::VectorValuedUserDataEvaluator< TDomain, TAlgebra >::evaluateOnThisProcessNeighbouring(), ug::IsFiniteAndNotTooBig(), ug::operator<<(), ug::operator>>(), ug::OrderDownwindForDofDist(), ug::HFV1ManifoldGeometry< TElem, TWorldDim >::update(), and ug::DimHFV1Geometry< TDim, TWorldDim >::update().
|
protected |
Referenced by ug::MathVector< 0, T >::assign(), ug::MathVector< 1, T >::assign(), ug::MathVector< 2, T >::assign(), ug::MathVector< 3, T >::assign(), ug::MathVector< 4, T >::assign(), ug::MathVector< N, T >::assign(), ug::MathVector< N, T >::coord(), ug::MathVector< 0, T >::coord(), ug::MathVector< 1, T >::coord(), ug::MathVector< 2, T >::coord(), ug::MathVector< 3, T >::coord(), ug::MathVector< 4, T >::coord(), ug::Deserialize(), ug::MathVector< N, T >::MathVector(), ug::MathVector< 1, T >::MathVector(), ug::MathVector< 2, T >::MathVector(), ug::MathVector< 3, T >::MathVector(), ug::MathVector< 4, T >::MathVector(), ug::MathVector< 0, T >::MathVector(), ug::MathVector< N, T >::operator*(), ug::MathVector< 0, T >::operator*(), ug::MathVector< 1, T >::operator*(), ug::MathVector< 2, T >::operator*(), ug::MathVector< 3, T >::operator*(), ug::MathVector< 4, T >::operator*(), ug::MathVector< N, T >::operator*=(), ug::MathVector< 0, T >::operator*=(), ug::MathVector< 1, T >::operator*=(), ug::MathVector< 2, T >::operator*=(), ug::MathVector< 3, T >::operator*=(), ug::MathVector< 4, T >::operator*=(), ug::MathVector< N, T >::operator+=(), ug::MathVector< 0, T >::operator+=(), ug::MathVector< 1, T >::operator+=(), ug::MathVector< 2, T >::operator+=(), ug::MathVector< 3, T >::operator+=(), ug::MathVector< 4, T >::operator+=(), ug::MathVector< 0, T >::operator-(), ug::MathVector< N, T >::operator-(), ug::MathVector< 1, T >::operator-(), ug::MathVector< 2, T >::operator-(), ug::MathVector< 3, T >::operator-(), ug::MathVector< 4, T >::operator-(), ug::MathVector< N, T >::operator-=(), ug::MathVector< 0, T >::operator-=(), ug::MathVector< 1, T >::operator-=(), ug::MathVector< 2, T >::operator-=(), ug::MathVector< 3, T >::operator-=(), ug::MathVector< 4, T >::operator-=(), ug::MathVector< N, T >::operator/=(), ug::MathVector< 0, T >::operator/=(), ug::MathVector< 1, T >::operator/=(), ug::MathVector< 2, T >::operator/=(), ug::MathVector< 3, T >::operator/=(), ug::MathVector< 4, T >::operator/=(), ug::MathVector< N, T >::operator=(), ug::MathVector< 0, T >::operator=(), ug::MathVector< 1, T >::operator=(), ug::MathVector< 2, T >::operator=(), ug::MathVector< 3, T >::operator=(), ug::MathVector< 4, T >::operator=(), ug::MathVector< N, T >::operator[](), ug::MathVector< 0, T >::operator[](), ug::MathVector< 1, T >::operator[](), ug::MathVector< 2, T >::operator[](), ug::MathVector< 3, T >::operator[](), ug::MathVector< 4, T >::operator[](), ug::Serialize(), ug::MathVector< N, T >::set_coord(), ug::MathVector< 0, T >::set_coord(), ug::MathVector< 1, T >::set_coord(), ug::MathVector< 2, T >::set_coord(), ug::MathVector< 3, T >::set_coord(), ug::MathVector< 4, T >::set_coord(), ug::MathVector< 4, T >::w(), ug::MathVector< 0, T >::x(), ug::MathVector< 1, T >::x(), ug::MathVector< 2, T >::x(), ug::MathVector< 3, T >::x(), ug::MathVector< 4, T >::x(), ug::MathVector< 2, T >::y(), ug::MathVector< 3, T >::y(), ug::MathVector< 4, T >::y(), ug::MathVector< 3, T >::z(), and ug::MathVector< 4, T >::z().
|
static |
Referenced by ug::MathMatrix< N, M, T >::assign().