Public Types | |
enum | { Options = Options_, NumIndices = NumIndices_ } |
typedef IndexType | Index |
typedef Scalar_ | Scalar |
Public Member Functions | |
EIGEN_DEVICE_FUNC | Tensor (Index dim1) |
EIGEN_DEVICE_FUNC | Tensor (Index dim1, Index dim2) |
EIGEN_DEVICE_FUNC | Tensor (Index dim1, Index dim2, Index dim3) |
EIGEN_DEVICE_FUNC | Tensor (Index dim1, Index dim2, Index dim3, Index dim4) |
EIGEN_DEVICE_FUNC | Tensor (Index dim1, Index dim2, Index dim3, Index dim4, Index dim5) |
EIGEN_DEVICE_FUNC Scalar * | data () |
EIGEN_DEVICE_FUNC const Scalar * | data () const |
EIGEN_DEVICE_FUNC Index | dimension (std::size_t n) const |
EIGEN_DEVICE_FUNC const Scalar & | operator() (Index i0) const |
EIGEN_DEVICE_FUNC const Scalar & | operator() (Index i0, Index i1) const |
EIGEN_DEVICE_FUNC const Scalar & | operator() (Index i0, Index i1, Index i2) const |
EIGEN_DEVICE_FUNC const Scalar & | operator() (Index i0, Index i1, Index i2, Index i3) const |
EIGEN_DEVICE_FUNC const Scalar & | operator() (Index i0, Index i1, Index i2, Index i3, Index i4) const |
EIGEN_DEVICE_FUNC Index | rank () const |
EIGEN_DEVICE_FUNC Tensor & | setConstant (const Scalar &val) |
EIGEN_DEVICE_FUNC Tensor & | setRandom () |
EIGEN_DEVICE_FUNC Tensor & | setZero () |
EIGEN_DEVICE_FUNC Index | size () const |
Protected Types | |
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, 1, Options > | StorageType |
Protected Attributes | |
Index | m_dimensions [NumIndices] |
StorageType | m_storage |
Definition at line 25 of file tensor.hpp.