|
Intrepid
|
#include <Intrepid_MiniTensor_Vector.h>
Public Types | |
| typedef vector_store< T, N >::type | Store |
Public Member Functions | |
| Vector () | |
| Vector (Index const dimension) | |
| Vector (ComponentValue const value) | |
| Vector (Index const dimension, ComponentValue const value) | |
| Vector (T const *data_ptr) | |
| Vector (Index const dimension, T const *data_ptr) | |
| Vector (Vector< T, N > const &v) | |
| Vector (T const &s0, T const &s1) | |
| Vector (T const &s0, T const &s1, T const &s2) | |
| ~Vector () | |
| T const & | operator() (Index const i) const |
| T & | operator() (Index const i) |
| Index | get_dimension () const |
| void | set_dimension (Index const dimension) |
Static Public Member Functions | |
| static Index | get_order () |
Static Public Attributes | |
| static Index const | ORDER = 1 |
| static bool const | IS_DYNAMIC = N == DYNAMIC |
Vector class.
Definition at line 64 of file Intrepid_MiniTensor_Vector.h.
| typedef vector_store<T, N>::type Intrepid::Vector< T, N >::Store |
Storage type
Definition at line 86 of file Intrepid_MiniTensor_Vector.h.
| Intrepid::Vector< T, N >::Vector | ( | ) | [inline, explicit] |
Construction that initializes to NaNs
| dimension | the space dimension |
Definition at line 53 of file Intrepid_MiniTensor_Vector.i.h.
| Intrepid::Vector< T, N >::Vector | ( | ComponentValue const | value | ) | [inline, explicit] |
Create vector from a specified value
| dimension | the space dimension |
| value | all components are set equal to this |
Definition at line 83 of file Intrepid_MiniTensor_Vector.i.h.
| Intrepid::Vector< T, N >::Vector | ( | Index const | dimension, |
| ComponentValue const | value | ||
| ) | [inline, explicit] |
Create vector from a specified value
Definition at line 75 of file Intrepid_MiniTensor_Vector.i.h.
| Intrepid::Vector< T, N >::Vector | ( | T const * | data_ptr | ) | [inline] |
Create vector from array.
| dimension | the space dimension |
| data_ptr | pointer into the array |
Definition at line 102 of file Intrepid_MiniTensor_Vector.i.h.
| Intrepid::Vector< T, N >::Vector | ( | Vector< T, N > const & | v | ) | [inline] |
Copy constructor
Definition at line 113 of file Intrepid_MiniTensor_Vector.i.h.
| Intrepid::Vector< T, N >::Vector | ( | T const & | s0, |
| T const & | s1 | ||
| ) | [inline] |
Create vector specifying components
| s0 | s1 are the vector components in the R^2 canonical basis |
Definition at line 124 of file Intrepid_MiniTensor_Vector.i.h.
References Intrepid::Vector< T, N >::set_dimension().
| Intrepid::Vector< T, N >::Vector | ( | T const & | s0, |
| T const & | s1, | ||
| T const & | s2 | ||
| ) | [inline] |
Create vector specifying components the vector components in the R^3 canonical basis
| s0 | s1 s2 are the vector components in the R^3 canonical basis |
Definition at line 142 of file Intrepid_MiniTensor_Vector.i.h.
References Intrepid::Vector< T, N >::set_dimension().
| Intrepid::Vector< T, N >::~Vector | ( | ) | [inline] |
Simple destructor
Definition at line 161 of file Intrepid_MiniTensor_Vector.i.h.
| Index Intrepid::Vector< T, N >::get_dimension | ( | ) | const [inline] |
Reimplemented from Intrepid::TensorBase< T, vector_store< T, N >::type >.
Definition at line 172 of file Intrepid_MiniTensor_Vector.i.h.
References Intrepid::TensorBase< T, ST >::get_dimension().
Referenced by Intrepid::ParametricGrid< T, N >::ParametricGrid().
| static Index Intrepid::Vector< T, N >::get_order | ( | ) | [inline, static] |
Vector order
Definition at line 93 of file Intrepid_MiniTensor_Vector.h.
| T const & Intrepid::Vector< T, N >::operator() | ( | Index const | i | ) | const [inline] |
Indexing for constant vector
| i | the index |
Definition at line 201 of file Intrepid_MiniTensor_Vector.i.h.
| T & Intrepid::Vector< T, N >::operator() | ( | Index const | i | ) | [inline] |
Vector indexing
| i | the index |
Definition at line 212 of file Intrepid_MiniTensor_Vector.i.h.
| void Intrepid::Vector< T, N >::set_dimension | ( | Index const | dimension | ) | [inline] |
| dimension | of vector |
Definition at line 183 of file Intrepid_MiniTensor_Vector.i.h.
References Intrepid::TensorBase< T, ST >::set_dimension().
Referenced by Intrepid::Vector< T, N >::Vector().
bool const Intrepid::Vector< T, N >::IS_DYNAMIC = N == DYNAMIC [static] |
Static or dynamic
Definition at line 80 of file Intrepid_MiniTensor_Vector.h.
Index const Intrepid::Vector< T, N >::ORDER = 1 [static] |
Order
Definition at line 73 of file Intrepid_MiniTensor_Vector.h.
Referenced by Intrepid::Vector< Index, N >::get_order().
1.7.6.1