Home
last modified time | relevance | path

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

12345678910>>...64

/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(row, col),
175 derived().rhs().coeff(row, col));
181 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(row, col),
182 derived().rhs().template packet<LoadMode>(row, col));
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.h108 inline Index innerStride() const { return derived().nestedExpression().innerStride(); }
109 inline Index outerStride() const { return derived().nestedExpression().outerStride(); }
117 inline ScalarWithConstIfNotLvalue* data() { return derived().nestedExpression().data(); }
118 inline const Scalar* data() const { return derived().nestedExpression().data(); }
123 return derived().nestedExpression().const_cast_derived().coeffRef(col, row);
129 return derived().nestedExpression().const_cast_derived().coeffRef(index);
134 return derived().nestedExpression().coeffRef(col, row);
139 return derived().nestedExpression().coeffRef(index);
144 return derived().nestedExpression().coeff(col, row);
149 return derived().nestedExpression().coeff(index);
[all …]
DVectorBlock.h114 return SegmentReturnType(derived(), start, size);
123 return ConstSegmentReturnType(derived(), start, size);
146 return SegmentReturnType(derived(), 0, size);
155 return ConstSegmentReturnType(derived(), 0, size);
178 return SegmentReturnType(derived(), this->size() - size, size);
187 return ConstSegmentReturnType(derived(), this->size() - size, size);
209 return typename FixedSegmentReturnType<Size>::Type(derived(), start);
219 return typename ConstFixedSegmentReturnType<Size>::Type(derived(), start);
239 return typename FixedSegmentReturnType<Size>::Type(derived(), 0);
249 return typename ConstFixedSegmentReturnType<Size>::Type(derived(), 0);
[all …]
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(…
120 return derived(); in noalias()
DCwiseUnaryOp.h103 return derived().functor()(derived().nestedExpression().coeff(row, col));
109 …return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(row, co…
114 return derived().functor()(derived().nestedExpression().coeff(index));
120 …return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(index));
DCwiseUnaryView.h104 …return derived().nestedExpression().innerStride() * sizeof(typename internal::traits<MatrixType>::…
109 return derived().nestedExpression().outerStride();
114 return derived().functor()(derived().nestedExpression().coeff(row, col));
119 return derived().functor()(derived().nestedExpression().coeff(index));
124 return derived().functor()(const_cast_derived().nestedExpression().coeffRef(row, col));
129 return derived().functor()(const_cast_derived().nestedExpression().coeffRef(index));
/external/eigen/Eigen/src/plugins/
DBlockMethods.h56 return Block<Derived>(derived(), startRow, startCol, blockRows, blockCols); in block()
62 return Block<const Derived>(derived(), startRow, startCol, blockRows, blockCols); in block()
80 return Block<Derived>(derived(), 0, cols() - cCols, cRows, cCols); in topRightCorner()
86 return Block<const Derived>(derived(), 0, cols() - cCols, cRows, cCols); in topRightCorner()
101 return Block<Derived, CRows, CCols>(derived(), 0, cols() - CCols); in topRightCorner()
108 return Block<const Derived, CRows, CCols>(derived(), 0, cols() - CCols); in topRightCorner()
126 return Block<Derived>(derived(), 0, 0, cRows, cCols); in topLeftCorner()
132 return Block<const Derived>(derived(), 0, 0, cRows, cCols); in topLeftCorner()
147 return Block<Derived, CRows, CCols>(derived(), 0, 0); in topLeftCorner()
154 return Block<const Derived, CRows, CCols>(derived(), 0, 0); 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()
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());
137 …return CwiseUnaryOp<internal::scalar_add_op<Scalar>, const Derived>(derived(), internal::scalar_ad…
180 …yOp<internal::scalar_boolean_and_op, const Derived, const OtherDerived>(derived(),other.derived());
198 …ryOp<internal::scalar_boolean_or_op, const Derived, const OtherDerived>(derived(),other.derived());
DMatrixCwiseUnaryOps.h21 cwiseAbs() const { return derived(); } in cwiseAbs()
31 cwiseAbs2() const { return derived(); } in cwiseAbs2()
41 cwiseSqrt() const { return derived(); } in cwiseSqrt()
51 cwiseInverse() const { return derived(); } in cwiseInverse()
66 (derived(), std::bind1st(std::equal_to<Scalar>(), s)); in cwiseEqual()
/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();
128 inline const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
129 inline Derived& derived() { return *static_cast<Derived*>(this); } in derived() function
147 inline Index rows() const { return derived().rows(); } in rows()
149 inline Index cols() const { return derived().cols(); } in cols()
155 inline Index nonZeros() const { return derived().nonZeros(); } in nonZeros()
169 Derived& markAsRValue() { m_isRValue = true; return derived(); } in markAsRValue()
177 other.evalTo(derived());
178 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/KroneckerProduct/
DKroneckerTensorProduct.h94 internal::kroneckerProduct_full(a.derived(), b.derived(), c); in kroneckerProduct()
113 internal::kroneckerProduct_full(a.derived(), b.derived(), c.derived()); in kroneckerProduct()
126 internal::kroneckerProduct_sparse(a.derived(), b.derived(), c.derived()); in kroneckerProduct()
139 internal::kroneckerProduct_sparse(a.derived(), b.derived(), c.derived()); in kroneckerProduct()
152 internal::kroneckerProduct_sparse(a.derived(), b.derived(), c.derived()); in kroneckerProduct()
/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/chromium_org/ui/gfx/
Dfont_list_unittest.cc206 FontList derived = font_list.DeriveFontList(Font::BOLD | Font::ITALIC); in TEST() local
208 derived.GetFontDescriptionString()); in TEST()
217 FontList derived = font_list.DeriveFontList(Font::BOLD | Font::ITALIC); in TEST() local
218 const std::vector<Font>& derived_fonts = derived.GetFonts(); in TEST()
228 FontList derived = font_list.DeriveFontListWithSize(10); in TEST() local
230 derived.GetFontDescriptionString()); in TEST()
239 FontList derived = font_list.DeriveFontListWithSize(5); in TEST() local
240 const std::vector<Font>& derived_fonts = derived.GetFonts(); in TEST()
250 FontList derived = font_list.DeriveFontListWithSizeDelta(-8); in TEST() local
252 derived.GetFontDescriptionString()); in TEST()
[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>>...64