|
Intrepid
|
#include <Intrepid_MiniTensor_Definitions.h>
Public Member Functions | |
| Vector () | |
| Vector (Index const dimension) | |
| Vector (Index const dimension, ComponentValue value) | |
| Vector (Index const dimension, T const &s) | |
| Vector (T const &s0, T const &s1) | |
| Vector (T const &s0, T const &s1, T const &s2) | |
| Vector (Index const dimension, T const *data_ptr) | |
| Vector (Vector< T > const &v) | |
| ~Vector () | |
| T const & | operator() (Index const i) const |
| T & | operator() (Index const i) |
| Index | get_order () const |
Public Member Functions inherited from Intrepid::TensorBase< T > | |
| TensorBase () | |
| TensorBase (Index const dimension, Index const order) | |
| TensorBase (Index const dimension, Index const order, ComponentValue value) | |
| TensorBase (Index const dimension, Index const order, T const &s) | |
| TensorBase (Index const dimension, Index const order, T const *data_ptr) | |
| TensorBase (TensorBase< T > const &X) | |
| virtual | ~TensorBase () |
| T const & | operator[] (Index const i) const |
| T & | operator[] (Index const i) |
| Index | get_dimension () const |
| void | set_dimension (Index const dimension) |
| Index | get_number_components () const |
| void | fill (ComponentValue value) |
| void | fill (T const *data_ptr) |
| TensorBase< T > & | operator= (TensorBase< T > const &X) |
| TensorBase< T > & | operator+= (TensorBase< T > const &X) |
| TensorBase< T > & | operator-= (TensorBase< T > const &X) |
| void | clear () |
Static Public Attributes | |
| static Index const | order = 1U |
Additional Inherited Members | |
Public Types inherited from Intrepid::TensorBase< T > | |
| typedef T | type |
Protected Member Functions inherited from Intrepid::TensorBase< T > | |
| void | set_number_components (Index const number_components) |
Protected Attributes inherited from Intrepid::TensorBase< T > | |
| Index | dimension_ |
| MiniTensor::StorageRCPArray< T > | components_ |
The classes
Vector class.
Definition at line 75 of file Intrepid_MiniTensor_Definitions.h.
|
inline |
Default constructor
Definition at line 53 of file Intrepid_MiniTensor_Vector.i.h.
|
inlineexplicit |
Construction that initializes to NaNs
| dimension | the space dimension |
Definition at line 64 of file Intrepid_MiniTensor_Vector.i.h.
|
inlineexplicit |
Create vector from a specified value
| dimension | the space dimension |
| value | all components are set equal to this |
Create vector from a specified value
Definition at line 75 of file Intrepid_MiniTensor_Vector.i.h.
|
inlineexplicit |
Create vector from a scalar
| dimension | the space dimension |
| s | all components are set equal to this value |
Definition at line 86 of file Intrepid_MiniTensor_Vector.i.h.
|
inline |
Create vector specifying components
| s0 | s1 are the vector components in the R^2 canonical basis |
Definition at line 97 of file Intrepid_MiniTensor_Vector.i.h.
References Intrepid::TensorBase< T >::set_dimension().
|
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 115 of file Intrepid_MiniTensor_Vector.i.h.
References Intrepid::TensorBase< T >::set_dimension().
|
inline |
Create vector from array.
| dimension | the space dimension |
| data_ptr | pointer into the array |
Definition at line 134 of file Intrepid_MiniTensor_Vector.i.h.
|
inline |
Copy constructor
Definition at line 145 of file Intrepid_MiniTensor_Vector.i.h.
|
inline |
Simple destructor
Definition at line 156 of file Intrepid_MiniTensor_Vector.i.h.
|
inlinevirtual |
Vector order
Implements Intrepid::TensorBase< T >.
Definition at line 147 of file Intrepid_MiniTensor_Vector.h.
|
inline |
Indexing for constant vector
| i | the index |
Definition at line 167 of file Intrepid_MiniTensor_Vector.i.h.
|
inline |
Vector indexing
| i | the index |
Definition at line 178 of file Intrepid_MiniTensor_Vector.i.h.
References Intrepid::TensorBase< T >::get_dimension().
|
static |
Order
Definition at line 69 of file Intrepid_MiniTensor_Vector.h.
Referenced by Intrepid::Vector< Index >::get_order().
1.8.11