HomeSort by relevance Sort by last modified time
    Searched refs:XprType (Results 1 - 25 of 70) sorted by null

1 2 3

  /external/eigen/Eigen/src/Core/
CwiseUnaryOp.h 17 template<typename UnaryOp, typename XprType>
18 struct traits<CwiseUnaryOp<UnaryOp, XprType> >
19 : traits<XprType>
22 UnaryOp(const typename XprType::Scalar&)
24 typedef typename XprType::Nested XprTypeNested;
32 template<typename UnaryOp, typename XprType, typename StorageKind>
41 * \tparam XprType the type of the expression to which we are applying the unary operator
54 template<typename UnaryOp, typename XprType>
55 class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operato
    [all...]
Inverse.h 15 template<typename XprType,typename StorageKind> class InverseImpl;
19 template<typename XprType>
20 struct traits<Inverse<XprType> >
21 : traits<typename XprType::PlainObject>
23 typedef typename XprType::PlainObject PlainObject;
36 * \tparam XprType the type of the expression we are taking the inverse
42 template<typename XprType>
43 class Inverse : public InverseImpl<XprType,typename internal::traits<XprType>::StorageKind>
46 typedef typename XprType::StorageIndex StorageIndex
    [all...]
CoreIterators.h 20 template<typename XprType, typename EvaluatorKind>
32 template<typename XprType>
36 typedef internal::inner_iterator_selector<XprType, typename internal::evaluator_traits<XprType>::Kind> IteratorType;
37 typedef internal::evaluator<XprType> EvaluatorType;
38 typedef typename internal::traits<XprType>::Scalar Scalar;
41 InnerIterator(const XprType &xpr, const Index &outerId)
73 template<typename XprType>
74 class inner_iterator_selector<XprType, IndexBased>
77 typedef evaluator<XprType> EvaluatorType
    [all...]
Block.h 17 template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel>
18 struct traits<Block<XprType, BlockRows, BlockCols, InnerPanel> > : traits<XprType>
20 typedef typename traits<XprType>::Scalar Scalar;
21 typedef typename traits<XprType>::StorageKind StorageKind;
22 typedef typename traits<XprType>::XprKind XprKind;
23 typedef typename ref_selector<XprType>::type XprTypeNested;
26 MatrixRows = traits<XprType>::RowsAtCompileTime,
27 MatrixCols = traits<XprType>::ColsAtCompileTime,
32 : int(traits<XprType>::MaxRowsAtCompileTime)
    [all...]
CommaInitializer.h 27 template<typename XprType>
30 typedef typename XprType::Scalar Scalar;
33 inline CommaInitializer(XprType& xpr, const Scalar& s)
41 inline CommaInitializer(XprType& xpr, const DenseBase<OtherDerived>& other)
117 inline XprType& finished() {
124 XprType& m_xpr; // target expression
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorForwardDeclarations.h 32 template<typename UnaryOp, typename XprType> class TensorCwiseUnaryOp;
36 template<typename Op, typename Dims, typename XprType, template <class> class MakePointer_ = MakePointer > class TensorReductionOp;
37 template<typename XprType> class TensorIndexTupleOp;
38 template<typename ReduceOp, typename Dims, typename XprType> class TensorTupleReducerOp;
41 template<typename TargetType, typename XprType> class TensorConversionOp;
43 template<typename FFT, typename XprType, int FFTDataType, int FFTDirection> class TensorFFTOp;
44 template<typename PatchDim, typename XprType> class TensorPatchOp;
45 template<DenseIndex Rows, DenseIndex Cols, typename XprType> class TensorImagePatchOp;
46 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType> class TensorVolumePatchOp;
47 template<typename Broadcast, typename XprType> class TensorBroadcastingOp
    [all...]
TensorArgMax.h 24 template<typename XprType>
25 struct traits<TensorIndexTupleOp<XprType> > : public traits<XprType>
27 typedef traits<XprType> XprTraits;
31 typedef typename XprType::Nested Nested;
37 template<typename XprType>
38 struct eval<TensorIndexTupleOp<XprType>, Eigen::Dense>
40 typedef const TensorIndexTupleOp<XprType>& type;
43 template<typename XprType>
44 struct nested<TensorIndexTupleOp<XprType>, 1
    [all...]
TensorLayoutSwap.h 38 template<typename XprType>
39 struct traits<TensorLayoutSwapOp<XprType> > : public traits<XprType>
41 typedef typename XprType::Scalar Scalar;
42 typedef traits<XprType> XprTraits;
45 typedef typename XprType::Nested Nested;
47 static const int NumDimensions = traits<XprType>::NumDimensions;
48 static const int Layout = (traits<XprType>::Layout == ColMajor) ? RowMajor : ColMajor;
51 template<typename XprType>
52 struct eval<TensorLayoutSwapOp<XprType>, Eigen::Dense
    [all...]
TensorEvalTo.h 23 template<typename XprType, template <class> class MakePointer_>
24 struct traits<TensorEvalToOp<XprType, MakePointer_> >
27 typedef typename XprType::Scalar Scalar;
28 typedef traits<XprType> XprTraits;
31 typedef typename XprType::Nested Nested;
47 template<typename XprType, template <class> class MakePointer_>
48 struct eval<TensorEvalToOp<XprType, MakePointer_>, Eigen::Dense>
50 typedef const TensorEvalToOp<XprType, MakePointer_>& type;
53 template<typename XprType, template <class> class MakePointer_>
54 struct nested<TensorEvalToOp<XprType, MakePointer_>, 1, typename eval<TensorEvalToOp<XprType, MakePointer_> >::type
    [all...]
TensorForcedEval.h 29 template<typename XprType, template <class> class MakePointer_>
30 struct traits<TensorForcedEvalOp<XprType, MakePointer_> >
33 typedef typename XprType::Scalar Scalar;
34 typedef traits<XprType> XprTraits;
35 typedef typename traits<XprType>::StorageKind StorageKind;
36 typedef typename traits<XprType>::Index Index;
37 typedef typename XprType::Nested Nested;
52 template<typename XprType, template <class> class MakePointer_>
53 struct eval<TensorForcedEvalOp<XprType, MakePointer_>, Eigen::Dense>
55 typedef const TensorForcedEvalOp<XprType, MakePointer_>& type
    [all...]
TensorGenerator.h 23 template<typename Generator, typename XprType>
24 struct traits<TensorGeneratorOp<Generator, XprType> > : public traits<XprType>
26 typedef typename XprType::Scalar Scalar;
27 typedef traits<XprType> XprTraits;
30 typedef typename XprType::Nested Nested;
36 template<typename Generator, typename XprType>
37 struct eval<TensorGeneratorOp<Generator, XprType>, Eigen::Dense>
39 typedef const TensorGeneratorOp<Generator, XprType>& type;
42 template<typename Generator, typename XprType>
    [all...]
TensorReverse.h 22 template<typename ReverseDimensions, typename XprType>
24 XprType> > : public traits<XprType>
26 typedef typename XprType::Scalar Scalar;
27 typedef traits<XprType> XprTraits;
30 typedef typename XprType::Nested Nested;
36 template<typename ReverseDimensions, typename XprType>
37 struct eval<TensorReverseOp<ReverseDimensions, XprType>, Eigen::Dense>
39 typedef const TensorReverseOp<ReverseDimensions, XprType>& type;
42 template<typename ReverseDimensions, typename XprType>
    [all...]
TensorShuffling.h 23 template<typename Shuffle, typename XprType>
24 struct traits<TensorShufflingOp<Shuffle, XprType> > : public traits<XprType>
26 typedef typename XprType::Scalar Scalar;
27 typedef traits<XprType> XprTraits;
30 typedef typename XprType::Nested Nested;
36 template<typename Shuffle, typename XprType>
37 struct eval<TensorShufflingOp<Shuffle, XprType>, Eigen::Dense>
39 typedef const TensorShufflingOp<Shuffle, XprType>& type;
42 template<typename Shuffle, typename XprType>
    [all...]
TensorInflation.h 23 template<typename Strides, typename XprType>
24 struct traits<TensorInflationOp<Strides, XprType> > : public traits<XprType>
26 typedef typename XprType::Scalar Scalar;
27 typedef traits<XprType> XprTraits;
30 typedef typename XprType::Nested Nested;
36 template<typename Strides, typename XprType>
37 struct eval<TensorInflationOp<Strides, XprType>, Eigen::Dense>
39 typedef const TensorInflationOp<Strides, XprType>& type;
42 template<typename Strides, typename XprType>
    [all...]
TensorScan.h 17 template <typename Op, typename XprType>
18 struct traits<TensorScanOp<Op, XprType> >
19 : public traits<XprType> {
20 typedef typename XprType::Scalar Scalar;
21 typedef traits<XprType> XprTraits;
23 typedef typename XprType::Nested Nested;
29 template<typename Op, typename XprType>
30 struct eval<TensorScanOp<Op, XprType>, Eigen::Dense>
32 typedef const TensorScanOp<Op, XprType>& type;
35 template<typename Op, typename XprType>
    [all...]
TensorCustomOp.h 23 template<typename CustomUnaryFunc, typename XprType>
24 struct traits<TensorCustomUnaryOp<CustomUnaryFunc, XprType> >
26 typedef typename XprType::Scalar Scalar;
27 typedef typename XprType::StorageKind StorageKind;
28 typedef typename XprType::Index Index;
29 typedef typename XprType::Nested Nested;
31 static const int NumDimensions = traits<XprType>::NumDimensions;
32 static const int Layout = traits<XprType>::Layout;
35 template<typename CustomUnaryFunc, typename XprType>
36 struct eval<TensorCustomUnaryOp<CustomUnaryFunc, XprType>, Eigen::Dense
    [all...]
TensorStriding.h 23 template<typename Strides, typename XprType>
24 struct traits<TensorStridingOp<Strides, XprType> > : public traits<XprType>
26 typedef typename XprType::Scalar Scalar;
27 typedef traits<XprType> XprTraits;
30 typedef typename XprType::Nested Nested;
36 template<typename Strides, typename XprType>
37 struct eval<TensorStridingOp<Strides, XprType>, Eigen::Dense>
39 typedef const TensorStridingOp<Strides, XprType>& type;
42 template<typename Strides, typename XprType>
    [all...]
TensorMorphing.h 23 template<typename NewDimensions, typename XprType>
24 struct traits<TensorReshapingOp<NewDimensions, XprType> > : public traits<XprType>
26 typedef typename XprType::Scalar Scalar;
27 typedef traits<XprType> XprTraits;
30 typedef typename XprType::Nested Nested;
36 template<typename NewDimensions, typename XprType>
37 struct eval<TensorReshapingOp<NewDimensions, XprType>, Eigen::Dense>
39 typedef const TensorReshapingOp<NewDimensions, XprType>& type;
42 template<typename NewDimensions, typename XprType>
    [all...]
TensorBroadcasting.h 23 template<typename Broadcast, typename XprType>
24 struct traits<TensorBroadcastingOp<Broadcast, XprType> > : public traits<XprType>
26 typedef typename XprType::Scalar Scalar;
27 typedef traits<XprType> XprTraits;
30 typedef typename XprType::Nested Nested;
36 template<typename Broadcast, typename XprType>
37 struct eval<TensorBroadcastingOp<Broadcast, XprType>, Eigen::Dense>
39 typedef const TensorBroadcastingOp<Broadcast, XprType>& type;
42 template<typename Broadcast, typename XprType>
    [all...]
TensorPatch.h 23 template<typename PatchDim, typename XprType>
24 struct traits<TensorPatchOp<PatchDim, XprType> > : public traits<XprType>
26 typedef typename XprType::Scalar Scalar;
27 typedef traits<XprType> XprTraits;
30 typedef typename XprType::Nested Nested;
36 template<typename PatchDim, typename XprType>
37 struct eval<TensorPatchOp<PatchDim, XprType>, Eigen::Dense>
39 typedef const TensorPatchOp<PatchDim, XprType>& type;
42 template<typename PatchDim, typename XprType>
    [all...]
TensorConversion.h 23 template<typename TargetType, typename XprType>
24 struct traits<TensorConversionOp<TargetType, XprType> >
28 typedef typename traits<XprType>::StorageKind StorageKind;
29 typedef typename traits<XprType>::Index Index;
30 typedef typename XprType::Nested Nested;
32 static const int NumDimensions = traits<XprType>::NumDimensions;
33 static const int Layout = traits<XprType>::Layout;
37 template<typename TargetType, typename XprType>
38 struct eval<TensorConversionOp<TargetType, XprType>, Eigen::Dense>
40 typedef const TensorConversionOp<TargetType, XprType>& type
    [all...]
TensorExpr.h 31 template<typename NullaryOp, typename XprType>
32 struct traits<TensorCwiseNullaryOp<NullaryOp, XprType> >
33 : traits<XprType>
35 typedef traits<XprType> XprTraits;
36 typedef typename XprType::Scalar Scalar;
37 typedef typename XprType::Nested XprTypeNested;
51 template<typename NullaryOp, typename XprType>
52 class TensorCwiseNullaryOp : public TensorBase<TensorCwiseNullaryOp<NullaryOp, XprType>, ReadOnlyAccessors>
57 typedef typename XprType::CoeffReturnType CoeffReturnType;
58 typedef TensorCwiseNullaryOp<NullaryOp, XprType> Nested
    [all...]
  /external/eigen/Eigen/src/SparseCore/
SparseCwiseBinaryOp.h 57 template<typename XprType> struct binary_sparse_evaluator;
66 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
67 typedef typename traits<XprType>::Scalar Scalar;
68 typedef typename XprType::StorageIndex StorageIndex;
130 Flags = XprType::Flags
133 explicit binary_evaluator(const XprType& xpr)
159 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
160 typedef typename traits<XprType>::Scalar Scalar;
161 typedef typename XprType::StorageIndex StorageIndex;
216 Flags = (XprType::Flags & ~RowMajorBit) | (int(Rhs::Flags)&RowMajorBit
    [all...]
SparseView.h 89 typedef SparseView<ArgType> XprType;
93 typedef typename XprType::Scalar Scalar;
112 const XprType &m_view;
126 Flags = XprType::Flags
129 explicit unary_evaluator(const XprType& xpr) : m_argImpl(xpr.nestedExpression()), m_view(xpr) {}
133 const XprType &m_view;
141 typedef SparseView<ArgType> XprType;
143 enum { IsRowMajor = (XprType::Flags&RowMajorBit)==RowMajorBit };
144 typedef typename XprType::Scalar Scalar;
145 typedef typename XprType::StorageIndex StorageIndex
    [all...]
SparseCwiseUnaryOp.h 22 typedef CwiseUnaryOp<UnaryOp, ArgType> XprType;
28 Flags = XprType::Flags
31 explicit unary_evaluator(const XprType& op) : m_functor(op.functor()), m_argImpl(op.nestedExpression())
52 typedef typename XprType::Scalar Scalar;
76 typedef CwiseUnaryView<ViewOp, ArgType> XprType;
82 Flags = XprType::Flags
85 explicit unary_evaluator(const XprType& op) : m_functor(op.functor()), m_argImpl(op.nestedExpression())
102 typedef typename XprType::Scalar Scalar;

Completed in 246 milliseconds

1 2 3