compbio
|
A reference to a tensor expression The expression will be evaluated lazily (as much as possible). More...
#include <TensorRef.h>
Public Types | |
enum | { IsAligned = false, PacketAccess = false, Layout = PlainObjectType::Layout, CoordAccess = false, RawAccess = false } |
typedef TensorRef< PlainObjectType > | Self |
typedef PlainObjectType::Base | Base |
typedef Eigen::internal::nested< Self >::type | Nested |
typedef internal::traits< PlainObjectType >::StorageKind | StorageKind |
typedef internal::traits< PlainObjectType >::Index | Index |
typedef internal::traits< PlainObjectType >::Scalar | Scalar |
typedef NumTraits< Scalar >::Real | RealScalar |
typedef Base::CoeffReturnType | CoeffReturnType |
typedef Scalar * | PointerType |
typedef PointerType | PointerArgType |
typedef PlainObjectType::Dimensions | Dimensions |
![]() | |
typedef internal::traits< TensorRef< PlainObjectType > > | DerivedTraits |
typedef DerivedTraits::Scalar | Scalar |
typedef DerivedTraits::Index | Index |
typedef Scalar | CoeffReturnType |
Public Member Functions | |
template<typename Expression > | |
EIGEN_STRONG_INLINE | TensorRef (const Expression &expr) |
template<typename Expression > | |
EIGEN_STRONG_INLINE TensorRef & | operator= (const Expression &expr) |
TensorRef (const TensorRef &other) | |
TensorRef & | operator= (const TensorRef &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index | rank () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index | dimension (Index n) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions & | dimensions () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index | size () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar * | data () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar | operator() (Index index) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar | operator() (Index i0, Index i1) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar | operator() (Index i0, Index i1, Index i2) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar | operator() (Index i0, Index i1, Index i2, Index i3) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar | operator() (Index i0, Index i1, Index i2, Index i3, Index i4) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & | coeffRef (Index i0, Index i1) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & | coeffRef (Index i0, Index i1, Index i2) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & | operator() (Index i0, Index i1, Index i2, Index i3) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & | coeffRef (Index i0, Index i1, Index i2, Index i3, Index i4) |
template<std::size_t NumIndices> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar | coeff (const array< Index, NumIndices > &indices) const |
template<std::size_t NumIndices> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & | coeffRef (const array< Index, NumIndices > &indices) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar | coeff (Index index) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & | coeffRef (Index index) |
![]() | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & | setZero () |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & | setConstant (const Scalar &val) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & | setRandom () |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & | setRandom () |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & | operator+= (const OtherDerived &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & | operator-= (const OtherDerived &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & | operator*= (const OtherDerived &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & | operator/= (const OtherDerived &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorLayoutSwapOp< const TensorRef< PlainObjectType > > | swap_layout () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< TensorRef< PlainObjectType > > | swap_layout () |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConcatenationOp< const Axis, const TensorRef< PlainObjectType >, const OtherDerived > | concatenate (const OtherDerived &other, const Axis &axis) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConcatenationOp< const Axis, TensorRef< PlainObjectType >, OtherDerived > | concatenate (const OtherDerived &other, const Axis &axis) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const TensorRef< PlainObjectType > > | reshape (const NewDimensions &newDimensions) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, TensorRef< PlainObjectType > > | reshape (const NewDimensions &newDimensions) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorSlicingOp< const StartIndices, const Sizes, const TensorRef< PlainObjectType > > | slice (const StartIndices &startIndices, const Sizes &sizes) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorSlicingOp< const StartIndices, const Sizes, TensorRef< PlainObjectType > > | slice (const StartIndices &startIndices, const Sizes &sizes) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, const TensorRef< PlainObjectType > > | stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, TensorRef< PlainObjectType > > | stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< DimId, const TensorRef< PlainObjectType > > | chip (const Index offset) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< DimId, TensorRef< PlainObjectType > > | chip (const Index offset) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< Dynamic, const TensorRef< PlainObjectType > > | chip (const Index offset, const Index dim) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, TensorRef< PlainObjectType > > | chip (const Index offset, const Index dim) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReverseOp< const ReverseDimensions, const TensorRef< PlainObjectType > > | reverse (const ReverseDimensions &rev) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, TensorRef< PlainObjectType > > | reverse (const ReverseDimensions &rev) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorShufflingOp< const Shuffle, const TensorRef< PlainObjectType > > | shuffle (const Shuffle &shuffle) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, TensorRef< PlainObjectType > > | shuffle (const Shuffle &shuffle) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingOp< const Strides, const TensorRef< PlainObjectType > > | stride (const Strides &strides) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp< const Strides, TensorRef< PlainObjectType > > | stride (const Strides &strides) |
TensorDevice< TensorRef< PlainObjectType >, DeviceType > | device (const DeviceType &device) |
Static Public Attributes | |
static const Index | NumIndices = PlainObjectType::NumIndices |
![]() | |
static const int | NumDimensions |
Additional Inherited Members | |
![]() | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorRef< PlainObjectType > & | derived () |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorRef< PlainObjectType > & | derived () const |
A reference to a tensor expression The expression will be evaluated lazily (as much as possible).