Home
last modified time | relevance | path

Searched refs:XprType (Results 1 – 25 of 86) sorted by relevance

1234

/external/eigen/Eigen/src/Core/
DBlock.h17 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),
35 : int(traits<XprType>::MaxColsAtCompileTime),
[all …]
DReshaped.h48 template<typename XprType, int Rows, int Cols, int Order>
49 struct traits<Reshaped<XprType, Rows, Cols, Order> > : traits<XprType>
51 typedef typename traits<XprType>::Scalar Scalar;
52 typedef typename traits<XprType>::StorageKind StorageKind;
53 typedef typename traits<XprType>::XprKind XprKind;
55 MatrixRows = traits<XprType>::RowsAtCompileTime,
56 MatrixCols = traits<XprType>::ColsAtCompileTime,
61 …XpxStorageOrder = ((int(traits<XprType>::Flags) & RowMajorBit) == RowMajorBit) ? RowMajor : ColMaj…
68 ? int(inner_stride_at_compile_time<XprType>::ret)
72 HasDirectAccess = internal::has_direct_access<XprType>::ret
[all …]
DIndexedView.h17 template<typename XprType, typename RowIndices, typename ColIndices>
18 struct traits<IndexedView<XprType, RowIndices, ColIndices> >
19 : traits<XprType>
27 XprTypeIsRowMajor = (int(traits<XprType>::Flags)&RowMajorBit) != 0,
38 …derAsXprType ? int(inner_stride_at_compile_time<XprType>::ret) : int(outer_stride_at_compile_time<
39 …derAsXprType ? int(outer_stride_at_compile_time<XprType>::ret) : int(inner_stride_at_compile_time<
56 FlagsLvalueBit = is_lvalue<XprType>::value ? LvalueBit : 0,
58 …Flags = (traits<XprType>::Flags & (HereditaryBits | DirectAccessMask )) | FlagsLvalueBit | FlagsRo…
61 typedef Block<XprType,RowsAtCompileTime,ColsAtCompileTime,IsInnerPannel> BlockType;
66 template<typename XprType, typename RowIndices, typename ColIndices, typename StorageKind>
[all …]
DCwiseUnaryOp.h17 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>
54 template<typename UnaryOp, typename XprType>
55 class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::…
59 …typedef typename CwiseUnaryOpImpl<UnaryOp, XprType,typename internal::traits<XprType>::StorageKind…
61 typedef typename internal::ref_selector<XprType>::type XprTypeNested;
[all …]
DInverse.h15 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;
42 template<typename XprType>
43 class Inverse : public InverseImpl<XprType,typename internal::traits<XprType>::StorageKind>
46 typedef typename XprType::StorageIndex StorageIndex;
47 typedef typename XprType::Scalar Scalar;
48 typedef typename internal::ref_selector<XprType>::type XprTypeNested;
[all …]
DCoreIterators.h20 template<typename XprType, typename EvaluatorKind>
32 template<typename XprType>
36 …typedef internal::inner_iterator_selector<XprType, typename internal::evaluator_traits<XprType>::K…
37 typedef internal::evaluator<XprType> EvaluatorType;
38 typedef typename internal::traits<XprType>::Scalar Scalar;
41 InnerIterator(const XprType &xpr, const Index &outerId) in InnerIterator()
78 template<typename XprType>
79 class inner_iterator_selector<XprType, IndexBased>
82 typedef evaluator<XprType> EvaluatorType;
83 typedef typename traits<XprType>::Scalar Scalar;
[all …]
DStlIterators.h25 typedef typename traits::XprType XprType; typedef
28 …typedef typename internal::conditional<internal::is_const<XprType>::value,non_const_iterator,const…
37 …indexed_based_stl_iterator_base(XprType& xpr, Index index) EIGEN_NO_THROW : mp_xpr(&xpr), m_index(… in indexed_based_stl_iterator_base()
95 XprType *mp_xpr;
104 typedef typename traits::XprType XprType; typedef
107 …typedef typename internal::conditional<internal::is_const<XprType>::value,non_const_iterator,const…
116 …indexed_based_stl_reverse_iterator_base(XprType& xpr, Index index) : mp_xpr(&xpr), m_index(index) … in indexed_based_stl_reverse_iterator_base()
174 XprType *mp_xpr;
178 template<typename XprType>
181 enum { is_lvalue = internal::is_lvalue<XprType>::value };
[all …]
DCoreEvaluators.h276 typedef Matrix<Scalar, Rows, Cols, Options, MaxRows, MaxCols> XprType;
282 explicit evaluator(const XprType& m)
283 : evaluator<PlainObjectBase<XprType> >(m)
291 typedef Array<Scalar, Rows, Cols, Options, MaxRows, MaxCols> XprType;
297 explicit evaluator(const XprType& m)
298 : evaluator<PlainObjectBase<XprType> >(m)
308 typedef Transpose<ArgType> XprType;
317 explicit unary_evaluator(const XprType& t) : m_argImpl(t.nestedExpression()) {}
319 typedef typename XprType::Scalar Scalar;
320 typedef typename XprType::CoeffReturnType CoeffReturnType;
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorLayoutSwap.h38 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;
52 template<typename XprType>
53 struct eval<TensorLayoutSwapOp<XprType>, Eigen::Dense>
55 typedef const TensorLayoutSwapOp<XprType>& type;
[all …]
DTensorArgMax.h24 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>EIGEN_DEVICE_REF type;
43 template<typename XprType>
44 struct nested<TensorIndexTupleOp<XprType>, 1,
45 typename eval<TensorIndexTupleOp<XprType> >::type>
[all …]
DTensorCustomOp.h23 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;
33 typedef typename traits<XprType>::PointerType PointerType;
36 template<typename CustomUnaryFunc, typename XprType>
[all …]
DTensorForwardDeclarations.h59 template<typename UnaryOp, typename XprType> class TensorCwiseUnaryOp;
63 template<typename Op, typename Dims, typename XprType, template <class> class MakePointer_ = MakePo…
64 template<typename XprType> class TensorIndexTupleOp;
65 template<typename ReduceOp, typename Dims, typename XprType> class TensorTupleReducerOp;
68 template<typename TargetType, typename XprType> class TensorConversionOp;
70 template<typename FFT, typename XprType, int FFTDataType, int FFTDirection> class TensorFFTOp;
71 template<typename PatchDim, typename XprType> class TensorPatchOp;
72 template<DenseIndex Rows, DenseIndex Cols, typename XprType> class TensorImagePatchOp;
73 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType> class TensorVolumeP…
74 template<typename Broadcast, typename XprType> class TensorBroadcastingOp;
[all …]
DTensorMorphing.h23 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;
37 template<typename NewDimensions, typename XprType>
38 struct eval<TensorReshapingOp<NewDimensions, XprType>, Eigen::Dense>
40 typedef const TensorReshapingOp<NewDimensions, XprType>EIGEN_DEVICE_REF type;
43 template<typename NewDimensions, typename XprType>
44 …ct nested<TensorReshapingOp<NewDimensions, XprType>, 1, typename eval<TensorReshapingOp<NewDimensi…
[all …]
DTensorEvalTo.h23 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;
50 template<typename XprType, template <class> class MakePointer_>
51 struct eval<TensorEvalToOp<XprType, MakePointer_>, Eigen::Dense>
53 typedef const TensorEvalToOp<XprType, MakePointer_>& type;
56 template<typename XprType, template <class> class MakePointer_>
57 struct nested<TensorEvalToOp<XprType, MakePointer_>, 1, typename eval<TensorEvalToOp<XprType, MakeP…
[all …]
DTensorForcedEval.h23 template<typename XprType>
24 struct traits<TensorForcedEvalOp<XprType> >
27 typedef typename XprType::Scalar Scalar;
28 typedef traits<XprType> XprTraits;
29 typedef typename traits<XprType>::StorageKind StorageKind;
30 typedef typename traits<XprType>::Index Index;
31 typedef typename XprType::Nested Nested;
42 template<typename XprType>
43 struct eval<TensorForcedEvalOp<XprType>, Eigen::Dense>
45 typedef const TensorForcedEvalOp<XprType>& type;
[all …]
DTensorInflation.h23 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;
37 template<typename Strides, typename XprType>
38 struct eval<TensorInflationOp<Strides, XprType>, Eigen::Dense>
40 typedef const TensorInflationOp<Strides, XprType>& type;
43 template<typename Strides, typename XprType>
44 struct nested<TensorInflationOp<Strides, XprType>, 1, typename eval<TensorInflationOp<Strides, XprT…
[all …]
DTensorTrace.h25 template<typename Dims, typename XprType>
26 struct traits<TensorTraceOp<Dims, XprType> > : public traits<XprType>
28 typedef typename XprType::Scalar Scalar;
29 typedef traits<XprType> XprTraits;
32 typedef typename XprType::Nested Nested;
38 template<typename Dims, typename XprType>
39 struct eval<TensorTraceOp<Dims, XprType>, Eigen::Dense>
41 typedef const TensorTraceOp<Dims, XprType>& type;
44 template<typename Dims, typename XprType>
45 struct nested<TensorTraceOp<Dims, XprType>, 1, typename eval<TensorTraceOp<Dims, XprType> >::type>
[all …]
DTensorStriding.h23 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;
37 template<typename Strides, typename XprType>
38 struct eval<TensorStridingOp<Strides, XprType>, Eigen::Dense>
40 typedef const TensorStridingOp<Strides, XprType>EIGEN_DEVICE_REF type;
43 template<typename Strides, typename XprType>
44 struct nested<TensorStridingOp<Strides, XprType>, 1, typename eval<TensorStridingOp<Strides, XprTyp…
[all …]
DTensorGenerator.h23 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;
37 template<typename Generator, typename XprType>
38 struct eval<TensorGeneratorOp<Generator, XprType>, Eigen::Dense>
40 typedef const TensorGeneratorOp<Generator, XprType>& type;
43 template<typename Generator, typename XprType>
44 struct nested<TensorGeneratorOp<Generator, XprType>, 1, typename eval<TensorGeneratorOp<Generator,
[all …]
DTensorExpr.h31 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>, ReadOnlyAc…
57 typedef typename XprType::CoeffReturnType CoeffReturnType;
58 typedef TensorCwiseNullaryOp<NullaryOp, XprType> Nested;
[all …]
DTensorPatch.h23 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;
37 template<typename PatchDim, typename XprType>
38 struct eval<TensorPatchOp<PatchDim, XprType>, Eigen::Dense>
40 typedef const TensorPatchOp<PatchDim, XprType>& type;
43 template<typename PatchDim, typename XprType>
44 struct nested<TensorPatchOp<PatchDim, XprType>, 1, typename eval<TensorPatchOp<PatchDim, XprType> >…
[all …]
DTensorReverse.h22 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;
37 template<typename ReverseDimensions, typename XprType>
38 struct eval<TensorReverseOp<ReverseDimensions, XprType>, Eigen::Dense>
40 typedef const TensorReverseOp<ReverseDimensions, XprType>& type;
43 template<typename ReverseDimensions, typename XprType>
44 struct nested<TensorReverseOp<ReverseDimensions, XprType>, 1,
[all …]
DTensorShuffling.h23 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;
37 template<typename Shuffle, typename XprType>
38 struct eval<TensorShufflingOp<Shuffle, XprType>, Eigen::Dense>
40 typedef const TensorShufflingOp<Shuffle, XprType>& type;
43 template<typename Shuffle, typename XprType>
44 struct nested<TensorShufflingOp<Shuffle, XprType>, 1, typename eval<TensorShufflingOp<Shuffle, XprT…
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseCwiseBinaryOp.h57 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;
215 Flags = XprType::Flags
[all …]
/external/eigen/unsupported/Eigen/
DOpenGLSupport50 …template< typename XprType, …
51 …typename Scalar = typename XprType::Scalar, …
52 …int Rows = XprType::RowsAtCompileTime, …
53 …int Cols = XprType::ColsAtCompileTime, …
54 …bool IsGLCompatible = bool(internal::evaluator<XprType>::Flags&LinearAccessBit) …
55 … && bool(XprType::Flags&DirectAccessBit) \
56 … && (XprType::IsVectorAtCompileTime || (XprType::Flags&RowMajorBit)==0)> \
59 …template<typename XprType, typename Scalar, int Rows, int Cols> …
60 …struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl)<XprType,Scalar,Rows,Cols,false> { …
61 …inline static void run(const XprType& p) { …
[all …]

1234