#include <RectMDArray.H>
Version of Tensor used with const functions.
Public Member Functions | |
CTensor (std::function< const T &(unsigned int, decltype(RestD)...)> &a_input) | |
Constructor. | |
void | operator= (std::function< const T &(unsigned int, decltype(RestD)...)> &a_input) |
Assignment operator. This is necessary for inheritance from std::function to work properly. |
CTensor< T, C, RestD >::CTensor | ( | std::function< const T &(unsigned int, decltype(RestD)...)> & | a_input | ) | [inline] |
Constructor.
void CTensor< T, C, RestD >::operator= | ( | std::function< const T &(unsigned int, decltype(RestD)...)> & | a_input | ) | [inline] |
Assignment operator. This is necessary for inheritance from std::function to work properly.