OpenWalnut
1.4.0
|
Implements the operator () for an order of 1 as well as a cast to WValue. More...
#include <WTensorBase.h>
Public Member Functions | |
Data_T & | operator() (std::size_t i0) |
Access operator. | |
Data_T const & | operator() (std::size_t i0) const |
Access operator. | |
operator WValue< Data_T > () const | |
Cast this tensor to a WValue. |
Implements the operator () for an order of 1 as well as a cast to WValue.
TensorBase_T | Either WTensorBase<> or WTensorBaseSym<> |
dim | The dimension of the tensor, i.e. the number of components in each direction. |
Data_T | The datatype of the components, double by default. |
Definition at line 1626 of file WTensorBase.h.
WTensorFunc< TensorBase_T, 1, dim, Data_T >::operator WValue< Data_T > | ( | ) | const |
Cast this tensor to a WValue.
Definition at line 1667 of file WTensorBase.h.
Data_T & WTensorFunc< TensorBase_T, 1, dim, Data_T >::operator() | ( | std::size_t | i0 | ) |
Access operator.
i0 | An index. |
Definition at line 1654 of file WTensorBase.h.
Data_T const & WTensorFunc< TensorBase_T, 1, dim, Data_T >::operator() | ( | std::size_t | i0 | ) | const |
Access operator.
i0 | An index. |
Definition at line 1660 of file WTensorBase.h.