Home
last modified time | relevance | path

Searched refs:xpr (Results 1 – 25 of 39) sorted by relevance

12

/external/eigen/Eigen/src/Core/
DBlock.h118 inline Block(XprType& xpr, Index i) : Impl(xpr,i)
121 ((BlockRows==1) && (BlockCols==XprType::ColsAtCompileTime) && i<xpr.rows())
122 ||((BlockRows==XprType::RowsAtCompileTime) && (BlockCols==1) && i<xpr.cols())));
128 inline Block(XprType& xpr, Index startRow, Index startCol)
129 : Impl(xpr, startRow, startCol)
132 eigen_assert(startRow >= 0 && BlockRows >= 0 && startRow + BlockRows <= xpr.rows()
133 && startCol >= 0 && BlockCols >= 0 && startCol + BlockCols <= xpr.cols());
139 inline Block(XprType& xpr,
142 : Impl(xpr, startRow, startCol, blockRows, blockCols)
146 eigen_assert(startRow >= 0 && blockRows >= 0 && startRow <= xpr.rows() - blockRows
[all …]
DReverse.h172 static void run(ExpressionType &xpr)
174 Index half = xpr.rows()/2;
175 xpr.topRows(half).swap(xpr.bottomRows(half).colwise().reverse());
183 static void run(ExpressionType &xpr)
185 Index half = xpr.cols()/2;
186 xpr.leftCols(half).swap(xpr.rightCols(half).rowwise().reverse());
DProductEvaluators.h35 EIGEN_DEVICE_FUNC explicit evaluator(const XprType& xpr) : Base(xpr) {}
58 EIGEN_DEVICE_FUNC explicit evaluator(const XprType& xpr)
59 : Base(xpr.lhs().functor().m_other * xpr.rhs().lhs() * xpr.rhs().rhs())
71 EIGEN_DEVICE_FUNC explicit evaluator(const XprType& xpr)
73 Product<Lhs, Rhs, LazyProduct>(xpr.nestedExpression().lhs(), xpr.nestedExpression().rhs()),
74 xpr.index() ))
107 explicit product_evaluator(const XprType& xpr)
108 : m_result(xpr.rows(), xpr.cols())
124 …generic_product_impl<Lhs, Rhs, LhsShape, RhsShape, ProductTag>::evalTo(m_result, xpr.lhs(), xpr.rh…
445 explicit product_evaluator(const XprType& xpr)
[all …]
DReturnByValue.h102 EIGEN_DEVICE_FUNC explicit evaluator(const XprType& xpr)
103 : m_result(xpr.rows(), xpr.cols())
106 xpr.evalTo(m_result);
DCommaInitializer.h33 inline CommaInitializer(XprType& xpr, const Scalar& s) in CommaInitializer()
34 : m_xpr(xpr), m_row(0), m_col(1), m_currentBlockRows(1) in CommaInitializer()
41 inline CommaInitializer(XprType& xpr, const DenseBase<OtherDerived>& other) in CommaInitializer()
42 : m_xpr(xpr), m_row(0), m_col(other.cols()), m_currentBlockRows(other.rows()) in CommaInitializer()
DCoreIterators.h41 InnerIterator(const XprType &xpr, const Index &outerId) in InnerIterator() argument
42 : m_eval(xpr), m_iter(m_eval, outerId, xpr.innerSize()) in InnerIterator()
DCoreEvaluators.h93 EIGEN_DEVICE_FUNC explicit evaluator(const T& xpr) : Base(xpr) {}
103 explicit evaluator(const T& xpr) : evaluator<T>(xpr) {}
581 EIGEN_DEVICE_FUNC explicit evaluator(const XprType& xpr) : Base(xpr) {}
612 EIGEN_DEVICE_FUNC explicit ternary_evaluator(const XprType& xpr)
613 : m_functor(xpr.functor()),
614 m_arg1Impl(xpr.arg1()),
615 m_arg2Impl(xpr.arg2()),
616 m_arg3Impl(xpr.arg3())
671 EIGEN_DEVICE_FUNC explicit evaluator(const XprType& xpr) : Base(xpr) {}
699 EIGEN_DEVICE_FUNC explicit binary_evaluator(const XprType& xpr)
[all …]
DCwiseUnaryOp.h65 explicit CwiseUnaryOp(const XprType& xpr, const UnaryOp& func = UnaryOp())
66 : m_xpr(xpr), m_functor(func) {}
DInverse.h54 explicit EIGEN_DEVICE_FUNC Inverse(const XprType &xpr)
55 : m_xpr(xpr)
DVisitor.h64 explicit visitor_evaluator(const XprType &xpr) : m_evaluator(xpr), m_xpr(xpr) {}
/external/eigen/Eigen/src/SparseCore/
DSparseCwiseBinaryOp.h133 explicit binary_evaluator(const XprType& xpr)
134 : m_functor(xpr.functor()),
135 m_lhsImpl(xpr.lhs()),
136 m_rhsImpl(xpr.rhs())
219 explicit binary_evaluator(const XprType& xpr)
220 : m_functor(xpr.functor()),
221 m_lhsImpl(xpr.lhs()),
222 m_rhsImpl(xpr.rhs()),
223 m_expr(xpr)
307 explicit binary_evaluator(const XprType& xpr)
[all …]
DSparsePermutation.h38 static inline void run(Dest& dst, const PermutationType& perm, const ExpressionType& xpr)
40 MatrixType mat(xpr);
107 explicit product_evaluator(const XprType& xpr)
108 : m_result(xpr.rows(), xpr.cols())
111 …_impl<Lhs, Rhs, PermutationShape, SparseShape, ProductTag>::evalTo(m_result, xpr.lhs(), xpr.rhs());
130 explicit product_evaluator(const XprType& xpr)
131 : m_result(xpr.rows(), xpr.cols())
134 …_impl<Lhs, Rhs, SparseShape, PermutationShape, ProductTag>::evalTo(m_result, xpr.lhs(), xpr.rhs());
DSparseBlock.h31 inline BlockImpl(XprType& xpr, Index i) in EIGEN_SPARSE_PUBLIC_INTERFACE()
32 : m_matrix(xpr), m_outerStart(convert_index(i)), m_outerSize(OuterSize) in EIGEN_SPARSE_PUBLIC_INTERFACE()
35 inline BlockImpl(XprType& xpr, Index startRow, Index startCol, Index blockRows, Index blockCols) in BlockImpl() argument
36 …: m_matrix(xpr), m_outerStart(convert_index(IsRowMajor ? startRow : startCol)), m_outerSize(conver… in BlockImpl()
111 inline sparse_matrix_block_impl(SparseMatrixType& xpr, Index i) in sparse_matrix_block_impl() argument
112 : m_matrix(xpr), m_outerStart(convert_index(i)), m_outerSize(OuterSize) in sparse_matrix_block_impl()
115 …inline sparse_matrix_block_impl(SparseMatrixType& xpr, Index startRow, Index startCol, Index block… in sparse_matrix_block_impl() argument
116 …: m_matrix(xpr), m_outerStart(convert_index(IsRowMajor ? startRow : startCol)), m_outerSize(conver… in sparse_matrix_block_impl()
294 inline BlockImpl(SparseMatrixType& xpr, Index i) in BlockImpl() argument
295 : Base(xpr, i) in BlockImpl()
[all …]
DSparseDiagonalProduct.h45 explicit product_evaluator(const XprType& xpr) : Base(xpr.rhs(), xpr.lhs().diagonal()) {}
56 …explicit product_evaluator(const XprType& xpr) : Base(xpr.lhs(), xpr.rhs().diagonal().transpose())…
DSparseView.h129 explicit unary_evaluator(const XprType& xpr) : m_argImpl(xpr.nestedExpression()), m_view(xpr) {}
198 explicit unary_evaluator(const XprType& xpr) : m_argImpl(xpr.nestedExpression()), m_view(xpr) {}
DSparseProduct.h146 explicit unary_evaluator(const XprType& xpr)
147 : m_result(xpr.rows(), xpr.cols())
153 LhsNested lhsNested(xpr.nestedExpression().lhs());
154 RhsNested rhsNested(xpr.nestedExpression().rhs());
158 … abs(xpr.reference())*xpr.epsilon());
DSparseSelfAdjointView.h387 product_evaluator(const XprType& xpr)
388 : m_lhs(xpr.lhs()), m_result(xpr.rows(), xpr.cols())
391 …e Rhs::PlainObject, Rhs, SparseShape, SparseShape, ProductTag>::evalTo(m_result, m_lhs, xpr.rhs());
407 product_evaluator(const XprType& xpr)
408 : m_rhs(xpr.rhs()), m_result(xpr.rows(), xpr.cols())
411 …pename Lhs::PlainObject, SparseShape, SparseShape, ProductTag>::evalTo(m_result, xpr.lhs(), m_rhs);
DSparseTriangularView.h94 …explicit unary_evaluator(const XprType &xpr) : m_argImpl(xpr.nestedExpression()), m_arg(xpr.nested…
DSparseDenseProduct.h295 explicit product_evaluator(const XprType& xpr)
296 : Base(xpr.lhs(), xpr.rhs())
310 explicit product_evaluator(const XprType& xpr)
311 : Base(xpr.lhs(), xpr.rhs())
/external/eigen/Eigen/src/Geometry/
DHomogeneous.h418 EIGEN_DEVICE_FUNC explicit product_evaluator(const XprType& xpr)
419 …: Base( xpr.lhs().nestedExpression() .lazyProduct( xpr.rhs().template topRows<helper::Dim>(xpr.l…
420 + ConstantBlock(xpr.rhs().row(xpr.rhs().rows()-1),xpr.lhs().rows(), 1) )
471 EIGEN_DEVICE_FUNC explicit product_evaluator(const XprType& xpr)
472 …: Base( xpr.lhs().template leftCols<helper::Dim>(xpr.rhs().nestedExpression().rows()) .lazyProdu…
473 + ConstantBlock(xpr.lhs().col(xpr.lhs().cols()-1),1,xpr.rhs().cols()) )
/external/eigen/doc/examples/
Dmake_circulant.cpp.evaluator17 evaluator(const XprType& xpr)
18 : m_argImpl(xpr.m_arg), m_rows(xpr.rows())
/external/clang/test/CXX/basic/basic.def.odr/
Dp2-typeid.cpp28 void test(X<Poly> xp, X<Poly, Poly&> xpr, X<NonPoly> xnp, X<NonPoly, NonPoly&> xnpr) { in test() argument
35 xpr.g(Poly()); // expected-note{{instantiation of member function}} in test()
/external/eigen/unsupported/Eigen/src/SparseExtra/
DBlockOfDynamicSparseMatrix.h38 inline InnerIterator(const SparseInnerVectorSet& xpr, Index outer)
39 : MatrixType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer)
/external/eigen/test/
Dnesting_ops.cpp16 void use_n_times(const XprType &xpr) in use_n_times() argument
18 typename internal::nested_eval<XprType,N>::type mat(xpr); in use_n_times()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorExpr.h62 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseNullaryOp(const XprType& xpr, const NullaryOp& fu…
63 : m_xpr(xpr), m_functor(func) {}
123 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorCwiseUnaryOp(const XprType& xpr, const UnaryOp& func =…
124 : m_xpr(xpr), m_functor(func) {}

12