LifeV
|
#include <VectorSmall.hpp>
Constructors and destructors | |
VectorSmall () | |
Empty constructor (all components are set to zero) More... | |
VectorSmall (const Real value) | |
Non Empty constructor. More... | |
VectorSmall< Dim > & | operator= (VectorSmall< Dim > const &vector) |
Assignment operator. More... | |
VectorSmall (VectorSmall< Dim > const &vector) | |
Copy constructor. More... | |
Static initializations | |
static VectorSmall< Dim > | Constant (Real const &value) |
Constant initialization. More... | |
static VectorSmall< Dim > | Zero () |
Zero initialization. More... | |
Overloaded operators | |
VectorSmall< Dim > & | operator+= (VectorSmall< Dim > const &vector) |
Operator +=. More... | |
VectorSmall< Dim > | operator+ (VectorSmall< Dim > const &vector) const |
Operator +. More... | |
VectorSmall< Dim > & | operator-= (VectorSmall< Dim > const &vector) |
Operator -=. More... | |
VectorSmall< Dim > | operator- (VectorSmall< Dim > const &vector) const |
Operator -. More... | |
VectorSmall< Dim > & | operator*= (Real const &factor) |
Operator *= (multiplication by scalar) More... | |
VectorSmall< Dim > & | operator/= (Real const &factor) |
Operator /= (division by scalar) More... | |
VectorSmall< Dim > | operator/ (Real const &factor) const |
Operator / (division by scalar) More... | |
Real const & | operator[] (UInt const &i) const |
Operator []. More... | |
Real & | operator[] (UInt const &i) |
Operator []. More... | |
Real const & | operator() (UInt const &i) const |
Operator () More... | |
Real & | operator() (UInt const &i) |
Operator () More... | |
Geometric Methods | |
Real | dot (VectorSmall< Dim > const &vector) const |
Scalar product. More... | |
MatrixSmall< Dim, Dim > | outerProduct (VectorSmall< Dim > const &vector) const |
Real | norm () const |
norm More... | |
void | normalize () |
Normalize vector. More... | |
VectorSmall< Dim > | normalized () |
Create the versor associated to this VectorSmall. More... | |
Tools | |
static UInt | size () |
function to get the size of the VectorSmall ( for compatibility with Eigen) More... | |
Data | |
Real | M_coords [Dim] |
Data storage. More... | |
Definition at line 71 of file VectorSmall.hpp.
|
inline |
Empty constructor (all components are set to zero)
Definition at line 80 of file VectorSmall.hpp.
|
inline |
Non Empty constructor.
Definition at line 89 of file VectorSmall.hpp.
|
inline |
Copy constructor.
Definition at line 108 of file VectorSmall.hpp.
|
inline |
Assignment operator.
Definition at line 98 of file VectorSmall.hpp.
|
inlinestatic |
Constant initialization.
Definition at line 119 of file VectorSmall.hpp.
|
inlinestatic |
Zero initialization.
Definition at line 130 of file VectorSmall.hpp.
|
inline |
Operator +=.
Definition at line 141 of file VectorSmall.hpp.
|
inline |
Operator +.
Definition at line 151 of file VectorSmall.hpp.
|
inline |
Operator -=.
Definition at line 158 of file VectorSmall.hpp.
|
inline |
Operator -.
Definition at line 168 of file VectorSmall.hpp.
|
inline |
Operator *= (multiplication by scalar)
Definition at line 175 of file VectorSmall.hpp.
|
inline |
Operator /= (division by scalar)
Definition at line 185 of file VectorSmall.hpp.
|
inline |
Operator / (division by scalar)
Definition at line 193 of file VectorSmall.hpp.
Operator [].
Definition at line 200 of file VectorSmall.hpp.
Operator [].
Definition at line 207 of file VectorSmall.hpp.
Operator ()
Definition at line 214 of file VectorSmall.hpp.
Operator ()
Definition at line 221 of file VectorSmall.hpp.
|
inline |
Scalar product.
vector | second operand |
Definition at line 237 of file VectorSmall.hpp.
|
inline |
Definition at line 247 of file VectorSmall.hpp.
|
inline |
norm
Definition at line 263 of file VectorSmall.hpp.
|
inline |
Normalize vector.
Definition at line 269 of file VectorSmall.hpp.
|
inline |
Create the versor associated to this VectorSmall.
Definition at line 278 of file VectorSmall.hpp.
|
inlinestatic |
function to get the size of the VectorSmall ( for compatibility with Eigen)
Definition at line 292 of file VectorSmall.hpp.
|
private |
Data storage.
Definition at line 305 of file VectorSmall.hpp.