Home
last modified time | relevance | path

Searched refs:derived (Results 1 – 25 of 1378) sorted by relevance

12345678910>>...56

/external/eigen/Eigen/src/plugins/
DBlockMethods.h58 return Block<Derived>(derived(), startRow, startCol, blockRows, blockCols); in block()
64 return Block<const Derived>(derived(), startRow, startCol, blockRows, blockCols); in block()
82 return Block<Derived>(derived(), 0, cols() - cCols, cRows, cCols); in topRightCorner()
88 return Block<const Derived>(derived(), 0, cols() - cCols, cRows, cCols); in topRightCorner()
104 return Block<Derived, CRows, CCols>(derived(), 0, cols() - CCols); in topRightCorner()
111 return Block<const Derived, CRows, CCols>(derived(), 0, cols() - CCols); in topRightCorner()
134 return Block<Derived, CRows, CCols>(derived(), 0, cols() - cCols, cRows, cCols); in topRightCorner()
141 return Block<const Derived, CRows, CCols>(derived(), 0, cols() - cCols, cRows, cCols); in topRightCorner()
158 return Block<Derived>(derived(), 0, 0, cRows, cCols); in topLeftCorner()
164 return Block<const Derived>(derived(), 0, 0, cRows, cCols); in topLeftCorner()
[all …]
DArrayCwiseUnaryOps.h13 return derived(); in abs()
26 return derived(); in abs2()
39 return derived(); in exp()
52 return derived(); in log()
65 return derived(); in sqrt()
78 return derived(); in cos()
92 return derived(); in sin()
105 return derived(); in acos()
118 return derived(); in asin()
131 return derived(); in tan()
[all …]
DMatrixCwiseBinaryOps.h24 return EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived)(derived(), other.derived()); in EIGEN_CWISE_PRODUCT_RETURN_TYPE()
43 …wiseBinaryOp<std::equal_to<Scalar>, const Derived, const OtherDerived>(derived(), other.derived()); in cwiseEqual()
62 …BinaryOp<std::not_equal_to<Scalar>, const Derived, const OtherDerived>(derived(), other.derived()); in cwiseNotEqual()
76 …Op<internal::scalar_min_op<Scalar>, const Derived, const OtherDerived>(derived(), other.derived()); in cwiseMin()
100 …Op<internal::scalar_max_op<Scalar>, const Derived, const OtherDerived>(derived(), other.derived()); in cwiseMax()
125 …ternal::scalar_quotient_op<Scalar>, const Derived, const OtherDerived>(derived(), other.derived()); in cwiseQuotient()
142 …return CwiseScalarEqualReturnType(derived(), Derived::Constant(rows(), cols(), s), internal::scala… in cwiseEqual()
DCommonCwiseUnaryOps.h44 operator-() const { return derived(); }
52 (derived(), internal::scalar_multiple_op<Scalar>(scalar));
64 (derived(), internal::scalar_quotient1_op<Scalar>(scalar));
94 return derived(); in cast()
103 return ConjugateReturnType(derived()); in conjugate()
110 real() const { return derived(); } in real()
116 imag() const { return derived(); } in imag()
141 return CwiseUnaryOp<CustomUnaryOp, const Derived>(derived(), func);
159 return CwiseUnaryView<CustomViewOp, const Derived>(derived(), func);
166 real() { return derived(); } in real()
[all …]
DArrayCwiseBinaryOps.h9 return EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived)(derived(), other.derived()); in EIGEN_CWISE_PRODUCT_RETURN_TYPE()
20 …ternal::scalar_quotient_op<Scalar>, const Derived, const OtherDerived>(derived(), other.derived());
79 …r, internal::cmp_ ## COMPARATOR>, const Derived, const OtherDerived>(derived(), other.derived()); \
97 …ar, internal::cmp_##RCOMPARATOR>, const OtherDerived, const Derived>(other.derived(), derived()); \
189 …return CwiseUnaryOp<internal::scalar_add_op<Scalar>, const Derived>(derived(), internal::scalar_ad…
232 …yOp<internal::scalar_boolean_and_op, const Derived, const OtherDerived>(derived(),other.derived());
250 …ryOp<internal::scalar_boolean_or_op, const Derived, const OtherDerived>(derived(),other.derived());
/external/eigen/Eigen/src/Core/
DEigenBase.h34 Derived& derived() { return *static_cast<Derived*>(this); } in derived() function
36 const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
44 inline Index rows() const { return derived().rows(); } in rows()
46 inline Index cols() const { return derived().cols(); } in cols()
53 { derived().evalTo(dst); } in evalTo()
80 dst = dst * this->derived(); in applyThisOnTheRight()
88 dst = this->derived() * dst; in applyThisOnTheLeft()
109 other.derived().evalTo(derived());
110 return derived();
117 other.derived().addTo(derived());
[all …]
DArrayBase.h69 using Base::derived;
123 return internal::assign_selector<Derived,Derived>::run(derived(), other.derived());
127 { return *this = derived() + scalar; }
129 { return *this = derived() - scalar; }
148 MatrixWrapper<Derived> matrix() { return derived(); } in matrix()
149 const MatrixWrapper<const Derived> matrix() const { return derived(); } in matrix()
179 SelfCwiseBinaryOp<internal::scalar_difference_op<Scalar>, Derived, OtherDerived> tmp(derived());
180 tmp = other.derived();
181 return derived();
193 SelfCwiseBinaryOp<internal::scalar_sum_op<Scalar>, Derived, OtherDerived> tmp(derived());
[all …]
DDenseCoeffsBase.h62 using Base::derived;
98 return derived().coeff(row, col); in coeff()
115 return derived().coeff(row, col); in operator()
137 return derived().coeff(index); in coeff()
157 return derived().coeff(index);
174 return derived().coeff(index); in operator()
212 return derived().template packet<LoadMode>(row,col); in packet()
238 return derived().template packet<LoadMode>(index); in packet()
290 using Base::derived;
318 return derived().coeffRef(row, col); in coeffRef()
[all …]
DCwiseBinaryOp.h174 return derived().functor()(derived().lhs().coeff(rowId, colId),
175 derived().rhs().coeff(rowId, colId));
181 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(rowId, colId),
182 derived().rhs().template packet<LoadMode>(rowId, colId));
187 return derived().functor()(derived().lhs().coeff(index),
188 derived().rhs().coeff(index));
194 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(index),
195 derived().rhs().template packet<LoadMode>(index));
208 SelfCwiseBinaryOp<internal::scalar_difference_op<Scalar>, Derived, OtherDerived> tmp(derived());
209 tmp = other.derived();
[all …]
DTranspose.h109 inline Index innerStride() const { return derived().nestedExpression().innerStride(); }
110 inline Index outerStride() const { return derived().nestedExpression().outerStride(); }
118 inline ScalarWithConstIfNotLvalue* data() { return derived().nestedExpression().data(); }
119 inline const Scalar* data() const { return derived().nestedExpression().data(); }
124 return derived().nestedExpression().const_cast_derived().coeffRef(colId, rowId);
130 return derived().nestedExpression().const_cast_derived().coeffRef(index);
135 return derived().nestedExpression().coeffRef(colId, rowId);
140 return derived().nestedExpression().coeffRef(index);
145 return derived().nestedExpression().coeff(colId, rowId);
150 return derived().nestedExpression().coeff(index);
[all …]
DCwiseUnaryOp.h103 return derived().functor()(derived().nestedExpression().coeff(rowId, colId));
109 …return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(rowId, …
114 return derived().functor()(derived().nestedExpression().coeff(index));
120 …return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(index));
DNoAlias.h41 … internal::assign_selector<ExpressionType,OtherDerived,false>::run(m_expression,other.derived()); }
51 …assign_selector<SelfAdder,_OtherDerivedNested,false>::run(tmp,OtherDerivedNested(other.derived()));
63 …assign_selector<SelfAdder,_OtherDerivedNested,false>::run(tmp,OtherDerivedNested(other.derived()));
70 { other.derived().addTo(m_expression); return m_expression; }
74 { other.derived().subTo(m_expression); return m_expression; }
78 …{ return m_expression.derived() += CoeffBasedProduct<Lhs,Rhs,NestByRefBit>(other.lhs(), other.rhs(…
82 …{ return m_expression.derived() -= CoeffBasedProduct<Lhs,Rhs,NestByRefBit>(other.lhs(), other.rhs(…
129 return derived(); in noalias()
DTriangularMatrix.h49 inline Index rows() const { return derived().rows(); } in rows()
50 inline Index cols() const { return derived().cols(); } in cols()
51 inline Index outerStride() const { return derived().outerStride(); } in outerStride()
52 inline Index innerStride() const { return derived().innerStride(); } in innerStride()
54 inline Scalar coeff(Index row, Index col) const { return derived().coeff(row,col); } in coeff()
55 inline Scalar& coeffRef(Index row, Index col) { return derived().coeffRef(row,col); } in coeffRef()
62 derived().coeffRef(row, col) = other.coeff(row, col); in copyCoeff()
77 inline const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
78 inline Derived& derived() { return *static_cast<Derived*>(this); } in derived() function
201 …ularView& operator+=(const DenseBase<Other>& other) { return *this = m_matrix + other.derived(); }
[all …]
DPermutationMatrix.h75 using Base::derived;
83 return derived();
93 return derived();
103 return derived();
132 return derived(); in toDenseMatrix()
136 const IndicesType& indices() const { return derived().indices(); } in indices()
138 IndicesType& indices() { return derived().indices(); } in indices()
179 return derived(); in applyTranspositionOnTheLeft()
194 return derived(); in applyTranspositionOnTheRight()
202 { return derived(); } in inverse()
[all …]
DBooleanRedux.h88 … return internal::all_unroller<Derived, unroll ? int(SizeAtCompileTime) : Dynamic>::run(derived());
112 … return internal::any_unroller<Derived, unroll ? int(SizeAtCompileTime) : Dynamic>::run(derived());
129 return derived().template cast<bool>().template cast<Index>().sum();
139 return !((derived().array()==derived().array()).all());
149 return !((derived()-derived()).hasNaN());
DCwiseUnaryView.h108 …return derived().nestedExpression().innerStride() * sizeof(typename internal::traits<MatrixType>::…
113 …return derived().nestedExpression().outerStride() * sizeof(typename internal::traits<MatrixType>::…
118 return derived().functor()(derived().nestedExpression().coeff(row, col));
123 return derived().functor()(derived().nestedExpression().coeff(index));
128 return derived().functor()(const_cast_derived().nestedExpression().coeffRef(row, col));
133 return derived().functor()(const_cast_derived().nestedExpression().coeffRef(index));
DTranspositions.h58 Derived& derived() { return *static_cast<Derived*>(this); } in derived() function
59 const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
66 return derived();
76 return derived();
97 const IndicesType& indices() const { return derived().indices(); } in indices()
99 IndicesType& indices() { return derived().indices(); } in indices()
137 { return Transpose<TranspositionsBase>(derived()); } in inverse()
141 { return Transpose<TranspositionsBase>(derived()); } in transpose()
336 (transpositions.derived(), matrix.derived());
349 (transpositions.derived(), matrix.derived());
[all …]
/external/eigen/Eigen/src/Eigen2Support/
DBlock.h41 return Block<Derived>(derived(), 0, 0, cRows, cCols); in corner()
43 return Block<Derived>(derived(), 0, cols() - cCols, cRows, cCols); in corner()
45 return Block<Derived>(derived(), rows() - cRows, 0, cRows, cCols); in corner()
47 return Block<Derived>(derived(), rows() - cRows, cols() - cCols, cRows, cCols); in corner()
61 return Block<Derived>(derived(), 0, 0, cRows, cCols); in corner()
63 return Block<Derived>(derived(), 0, cols() - cCols, cRows, cCols); in corner()
65 return Block<Derived>(derived(), rows() - cRows, 0, cRows, cCols); in corner()
67 return Block<Derived>(derived(), rows() - cRows, cols() - cCols, cRows, cCols); in corner()
93 return Block<Derived, CRows, CCols>(derived(), 0, 0); in corner()
95 return Block<Derived, CRows, CCols>(derived(), 0, cols() - CCols); in corner()
[all …]
DLazy.h29 return derived(); in marked()
45 return derived(); in lazy()
56 other._expression().derived().addTo(derived()); return derived();
66 other._expression().derived().subTo(derived()); return derived();
DVectorBlock.h22 return VectorBlock<Derived>(derived(), 0, size); in start()
31 return VectorBlock<const Derived>(derived(), 0, size); in start()
40 return VectorBlock<Derived>(derived(), this->size() - size, size); in end()
49 return VectorBlock<const Derived>(derived(), this->size() - size, size); in end()
59 return VectorBlock<Derived,Size>(derived(), 0); in start()
69 return VectorBlock<const Derived,Size>(derived(), 0); in start()
79 return VectorBlock<Derived, Size>(derived(), size() - Size); in end()
89 return VectorBlock<const Derived, Size>(derived(), size() - Size); in end()
/external/eigen/Eigen/src/SparseCore/
DSparseMatrixBase.h44 other.derived().evalTo(derived());
45 return derived();
131 inline const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
132 inline Derived& derived() { return *static_cast<Derived*>(this); } in derived() function
150 inline Index rows() const { return derived().rows(); } in rows()
152 inline Index cols() const { return derived().cols(); } in cols()
158 inline Index nonZeros() const { return derived().nonZeros(); } in nonZeros()
172 Derived& markAsRValue() { m_isRValue = true; return derived(); } in markAsRValue()
180 other.evalTo(derived());
181 return derived();
[all …]
DSparseCwiseUnaryOp.h42 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor()) in InnerIterator()
65 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor()) in ReverseInnerIterator()
106 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor()) in InnerIterator()
128 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor()) in ReverseInnerIterator()
146 for (typename Derived::InnerIterator i(derived(),j); i; ++i)
148 return derived();
156 for (typename Derived::InnerIterator i(derived(),j); i; ++i)
158 return derived();
/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineMatrixBase.h91 inline const Derived& derived() const { in derived() function
95 inline Derived& derived() { in derived() function
106 return derived().rows(); in rows()
111 return derived().cols(); in cols()
123 return derived().nonZeros(); in nonZeros()
144 return derived(); in markAsRValue()
153 return derived();
158 derived().resize(other.rows(), other.cols()); in assignGeneric()
162 derived().insert(row, col) = other.coeff(row, col); in assignGeneric()
164 derived().finalize(); in assignGeneric()
[all …]
/external/eigen/Eigen/src/IterativeLinearSolvers/
DIterativeSolverBase.h32 Derived& derived() { return *static_cast<Derived*>(this); } in derived() function
33 const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
71 return derived(); in analyzePattern()
90 return derived(); in factorize()
111 return derived(); in compute()
126 return derived(); in setTolerance()
145 return derived(); in setMaxIterations()
172 return internal::solve_retval<Derived, Rhs>(derived(), b.derived()); in solve()
186 return internal::sparse_solve_retval<IterativeSolverBase, Rhs>(*this, b.derived()); in solve()
209 tx = derived().solve(tb); in _solve_sparse()
[all …]
/external/doclava/src/com/google/doclava/
DHierarchy.java78 TreeSet<String> derived = nodes.get(name); in depth() local
79 if (derived != null && derived.size() > 0) { in depth()
80 for (String s : derived) { in depth()
126 TreeSet<String> derived = nodes.get(name); in recurse() local
127 if (derived != null && derived.size() > 0) { in recurse()
132 for (String s : derived) { in recurse()

12345678910>>...56