#include <RectMDArray.H>
Tensor is used mostly for implementing pointwise operators on RectMDArrays. See the documentation for forall for more information.
Public Member Functions | |
Tensor (std::function< T &(unsigned int, decltype(RestD)...)> &a_input) | |
Constructor. A Tensor is built from a function a_input with return type T. | |
void | operator= (std::function< T &(unsigned int, decltype(RestD)...)> &a_input) |
Assignment operator. This is necessary for inheritance from std::function to work properly. |
Tensor< T, C, RestD >::Tensor | ( | std::function< T &(unsigned int, decltype(RestD)...)> & | a_input | ) | [inline] |
Constructor. A Tensor is built from a function a_input with return type T.
void Tensor< T, C, RestD >::operator= | ( | std::function< T &(unsigned int, decltype(RestD)...)> & | a_input | ) | [inline] |
Assignment operator. This is necessary for inheritance from std::function to work properly.