Public Types | |
enum | { Options = Options_ , NumIndices = NumIndices_ } |
typedef Eigen::array< Index, NumIndices_ > | Dimensions |
typedef IndexType | Index |
typedef Scalar_ | Scalar |
Public Member Functions | |
EIGEN_DEVICE_FUNC | Tensor (const Tensor &other) |
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) |
Tensor & | base () |
const Tensor & | base () const |
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 Dimensions & | dimensions () |
EIGEN_DEVICE_FUNC const Dimensions & | dimensions () const |
EIGEN_DEVICE_FUNC bool | operator!= (const Tensor &other) 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 bool | operator== (const Tensor &other) const |
EIGEN_DEVICE_FUNC Index | rank () const |
EIGEN_DEVICE_FUNC void | resize (const Eigen::array< Index, NumIndices > &dimensions) |
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 | |
Dimensions | m_dimensions |
StorageType | m_storage |
Definition at line 103 of file tensor.hpp.
typedef Eigen::array<Index, NumIndices_> Dimensions |
Definition at line 114 of file tensor.hpp.
typedef IndexType Index |
Definition at line 113 of file tensor.hpp.
typedef Scalar_ Scalar |
Definition at line 107 of file tensor.hpp.
|
protected |
Definition at line 319 of file tensor.hpp.
anonymous enum |
Definition at line 108 of file tensor.hpp.
|
inline |
Definition at line 180 of file tensor.hpp.
|
inline |
Definition at line 185 of file tensor.hpp.
|
inlineexplicit |
Definition at line 191 of file tensor.hpp.
|
inline |
Definition at line 198 of file tensor.hpp.
|
inline |
Definition at line 206 of file tensor.hpp.
|
inline |
Definition at line 215 of file tensor.hpp.
|
inline |
Definition at line 226 of file tensor.hpp.
|
inline |
Definition at line 116 of file tensor.hpp.
|
inline |
Definition at line 120 of file tensor.hpp.
|
inline |
Definition at line 150 of file tensor.hpp.
|
inline |
Definition at line 155 of file tensor.hpp.
|
inline |
Definition at line 139 of file tensor.hpp.
|
inline |
Definition at line 125 of file tensor.hpp.
|
inline |
Definition at line 129 of file tensor.hpp.
|
inline |
Definition at line 313 of file tensor.hpp.
|
inline |
Definition at line 238 of file tensor.hpp.
|
inline |
Definition at line 245 of file tensor.hpp.
|
inline |
Definition at line 252 of file tensor.hpp.
|
inline |
Definition at line 259 of file tensor.hpp.
|
inline |
Definition at line 269 of file tensor.hpp.
|
inline |
Definition at line 308 of file tensor.hpp.
|
inline |
Definition at line 134 of file tensor.hpp.
|
inline |
Definition at line 279 of file tensor.hpp.
|
inline |
Definition at line 167 of file tensor.hpp.
|
inline |
Definition at line 174 of file tensor.hpp.
|
inline |
Definition at line 161 of file tensor.hpp.
|
inline |
Definition at line 145 of file tensor.hpp.
|
protected |
Definition at line 322 of file tensor.hpp.
|
protected |
Definition at line 320 of file tensor.hpp.