Home
last modified time | relevance | path

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

12345678910>>...77

/external/eigen/Eigen/src/plugins/
DArrayCwiseUnaryOps.h45 return AbsReturnType(derived()); in abs()
59 return ArgReturnType(derived()); in arg()
73 return Abs2ReturnType(derived()); in abs2()
90 return ExpReturnType(derived()); in exp()
107 return LogReturnType(derived()); in log()
121 return Log1pReturnType(derived()); in log1p()
137 return Log10ReturnType(derived()); in log10()
154 return SqrtReturnType(derived()); in sqrt()
170 return RsqrtReturnType(derived()); in rsqrt()
186 return SignReturnType(derived()); in sign()
[all …]
DBlockMethods.h66 return BlockXpr(derived(), startRow, startCol, blockRows, blockCols); in block()
73 return ConstBlockXpr(derived(), startRow, startCol, blockRows, blockCols); in block()
94 return BlockXpr(derived(), 0, cols() - cCols, cRows, cCols); in topRightCorner()
101 return ConstBlockXpr(derived(), 0, cols() - cCols, cRows, cCols); in topRightCorner()
120 return typename FixedBlockXpr<CRows,CCols>::Type(derived(), 0, cols() - CCols); in topRightCorner()
128 return typename ConstFixedBlockXpr<CRows,CCols>::Type(derived(), 0, cols() - CCols); in topRightCorner()
153 return typename FixedBlockXpr<CRows,CCols>::Type(derived(), 0, cols() - cCols, cRows, cCols); in topRightCorner()
160 return typename ConstFixedBlockXpr<CRows,CCols>::Type(derived(), 0, cols() - cCols, cRows, cCols); in topRightCorner()
180 return BlockXpr(derived(), 0, 0, cRows, cCols); in topLeftCorner()
187 return ConstBlockXpr(derived(), 0, 0, cRows, cCols); in topLeftCorner()
[all …]
DMatrixCwiseBinaryOps.h25 return EIGEN_CWISE_BINARY_RETURN_TYPE(Derived,OtherDerived,product)(derived(), other.derived()); in EIGEN_CWISE_BINARY_RETURN_TYPE()
45 …wiseBinaryOp<std::equal_to<Scalar>, const Derived, const OtherDerived>(derived(), other.derived()); in cwiseEqual()
65 …BinaryOp<std::not_equal_to<Scalar>, const Derived, const OtherDerived>(derived(), other.derived()); in cwiseNotEqual()
80 …rnal::scalar_min_op<Scalar,Scalar>, const Derived, const OtherDerived>(derived(), other.derived()); in cwiseMin()
106 …rnal::scalar_max_op<Scalar,Scalar>, const Derived, const OtherDerived>(derived(), other.derived()); in cwiseMax()
133 …ternal::scalar_quotient_op<Scalar>, const Derived, const OtherDerived>(derived(), other.derived()); in cwiseQuotient()
151 …return CwiseScalarEqualReturnType(derived(), Derived::Constant(rows(), cols(), s), internal::scala… in cwiseEqual()
DCommonCwiseUnaryOps.h45 operator-() const { return NegativeReturnType(derived()); }
64 return typename CastXpr<NewType>::Type(derived()); in EIGEN_DOC_UNARY_ADDONS()
76 return ConjugateReturnType(derived()); in EIGEN_DOC_UNARY_ADDONS()
86 real() const { return RealReturnType(derived()); } in EIGEN_DOC_UNARY_ADDONS()
95 imag() const { return ImagReturnType(derived()); } in EIGEN_DOC_UNARY_ADDONS()
123 return CwiseUnaryOp<CustomUnaryOp, const Derived>(derived(), func); in EIGEN_DOC_UNARY_ADDONS()
144 return CwiseUnaryView<CustomViewOp, const Derived>(derived(), func); in EIGEN_DOC_UNARY_ADDONS()
154 real() { return NonConstRealReturnType(derived()); } in EIGEN_DOC_UNARY_ADDONS()
163 imag() { return NonConstImagReturnType(derived()); } in EIGEN_DOC_UNARY_ADDONS()
DArrayCwiseBinaryOps.h11 return EIGEN_CWISE_BINARY_RETURN_TYPE(Derived,OtherDerived,product)(derived(), other.derived()); in EIGEN_CWISE_BINARY_RETURN_TYPE()
23 …lar,typename OtherDerived::Scalar>, const Derived, const OtherDerived>(derived(), other.derived());
113 …r, internal::cmp_ ## COMPARATOR>, const Derived, const OtherDerived>(derived(), other.derived()); \
131 …ar, internal::cmp_##RCOMPARATOR>, const OtherDerived, const Derived>(other.derived(), derived()); \
288 …yOp<internal::scalar_boolean_xor_op, const Derived, const OtherDerived>(derived(),other.derived());
307 …nternal::scalar_polygamma_op<Scalar>, const DerivedN, const Derived>(n.derived(), this->derived());
331 …yOp<internal::scalar_zeta_op<Scalar>, const Derived, const DerivedQ>(this->derived(), q.derived()); in zeta()
/external/eigen/Eigen/src/Core/
DAssign.h31 internal::call_assignment_no_alias(derived(),other.derived()); in lazyAssign()
33 return derived(); in lazyAssign()
41 internal::call_assignment(derived(), other.derived());
42 return derived();
49 internal::call_assignment(derived(), other.derived());
50 return derived();
57 internal::call_assignment(derived(), other.derived());
58 return derived();
66 internal::call_assignment(derived(), other.derived());
67 return derived();
[all …]
DEigenBase.h45 Derived& derived() { return *static_cast<Derived*>(this); } in derived() function
48 const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
59 inline Index rows() const { return derived().rows(); } in rows()
62 inline Index cols() const { return derived().cols(); } in cols()
72 { derived().evalTo(dst); } in evalTo()
104 dst = dst * this->derived(); in applyThisOnTheRight()
113 dst = this->derived() * dst; in applyThisOnTheLeft()
135 call_assignment(derived(), other.derived());
136 return derived();
144 …call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::…
[all …]
DArrayBase.h64 using Base::derived;
109 internal::call_assignment(derived(), other.derived());
110 return derived();
117 { Base::setConstant(value); return derived(); }
148 MatrixWrapper<Derived> matrix() { return MatrixWrapper<Derived>(derived()); } in matrix()
150 …const MatrixWrapper<const Derived> matrix() const { return MatrixWrapper<const Derived>(derived())… in matrix()
181 …call_assignment(derived(), other.derived(), internal::sub_assign_op<Scalar,typename OtherDerived::…
182 return derived();
194 …call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::…
195 return derived();
[all …]
DPermutationMatrix.h67 using Base::derived;
77 return derived();
87 return derived();
97 return derived();
126 return derived(); in toDenseMatrix()
130 const IndicesType& indices() const { return derived().indices(); } in indices()
132 IndicesType& indices() { return derived().indices(); } in indices()
174 return derived(); in applyTranspositionOnTheLeft()
189 return derived(); in applyTranspositionOnTheRight()
197 { return InverseReturnType(derived()); } in inverse()
[all …]
DTriangularMatrix.h59 inline Index rows() const { return derived().rows(); } in rows()
61 inline Index cols() const { return derived().cols(); } in cols()
63 inline Index outerStride() const { return derived().outerStride(); } in outerStride()
65 inline Index innerStride() const { return derived().innerStride(); } in innerStride()
76 inline Scalar coeff(Index row, Index col) const { return derived().coeff(row,col); } in coeff()
78 inline Scalar& coeffRef(Index row, Index col) { return derived().coeffRef(row,col); } in coeffRef()
86 derived().coeffRef(row, col) = other.coeff(row, col); in copyCoeff()
104 inline const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
106 inline Derived& derived() { return *static_cast<Derived*>(this); } in derived() function
273 { return Solve<TriangularView, Other>(*this, other.derived()); }
[all …]
DSelfCwiseBinaryOp.h21 …internal::call_assignment(this->derived(), PlainObject::Constant(rows(),cols(),other), internal::m…
22 return derived();
29 …internal::call_assignment(this->derived(), PlainObject::Constant(rows(),cols(),other), internal::a…
30 return derived();
37 …internal::call_assignment(this->derived(), PlainObject::Constant(rows(),cols(),other), internal::s…
38 return derived();
45 …internal::call_assignment(this->derived(), PlainObject::Constant(rows(),cols(),other), internal::d…
46 return derived();
DTranspositions.h26 Derived& derived() { return *static_cast<Derived*>(this); } in derived() function
27 const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
34 return derived();
44 return derived();
69 const IndicesType& indices() const { return derived().indices(); } in indices()
71 IndicesType& indices() { return derived().indices(); } in indices()
109 { return Transpose<TranspositionsBase>(derived()); } in inverse()
113 { return Transpose<TranspositionsBase>(derived()); } in transpose()
342 (matrix.derived(), transpositions.derived());
354 (transpositions.derived(), matrix.derived());
[all …]
DBooleanRedux.h88 Evaluator evaluator(derived());
112 Evaluator evaluator(derived());
131 return derived().template cast<bool>().template cast<Index>().sum();
142 return derived().array().isNaN().any();
144 return !((derived().array()==derived().array()).all());
156 return derived().array().isFinite().all();
158 return !((derived()-derived()).hasNaN());
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorBase.h40 return TensorCwiseNullaryOp<CustomNullaryOp, const Derived>(derived(), func); in nullaryExpr()
65 return TensorGeneratorOp<Generator, const Derived>(derived(), generator); in generate()
72 return TensorCwiseUnaryOp<CustomUnaryOp, const Derived>(derived(), func); in unaryExpr()
140 return binaryExpr(other.derived(), internal::scalar_igamma_op<Scalar>()); in igamma()
147 return binaryExpr(other.derived(), internal::scalar_igammac_op<Scalar>()); in igammac()
154 return binaryExpr(other.derived(), internal::scalar_zeta_op<Scalar>()); in zeta()
161 return binaryExpr(other.derived(), internal::scalar_polygamma_op<Scalar>()); in polygamma()
305 return TensorConversionOp<NewType, const Derived>(derived()); in cast()
330 …return TensorCwiseBinaryOp<CustomBinaryOp, const Derived, const OtherDerived>(derived(), other, fu… in binaryExpr()
337 return binaryExpr(other.derived(), internal::scalar_sum_op<Scalar>());
[all …]
/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/unsupported/Eigen/src/SpecialFunctions/
DSpecialFunctionsArrayAPI.h31 a.derived(), in igamma()
32 x.derived() in igamma()
51 a.derived(), in igammac()
52 x.derived() in igammac()
73 n.derived(), in polygamma()
74 x.derived() in polygamma()
93 a.derived(), in betainc()
94 b.derived(), in betainc()
95 x.derived() in betainc()
117 x.derived(), in zeta()
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseTranspose.h27 using Base::derived;
31 inline Index nonZeros() const { return derived().nestedExpression().nonZeros(); } in nonZeros()
33 inline const Scalar* valuePtr() const { return derived().nestedExpression().valuePtr(); } in valuePtr()
34 …inline const StorageIndex* innerIndexPtr() const { return derived().nestedExpression().innerIndexP… in innerIndexPtr()
35 …inline const StorageIndex* outerIndexPtr() const { return derived().nestedExpression().outerIndexP… in outerIndexPtr()
36 …inline const StorageIndex* innerNonZeroPtr() const { return derived().nestedExpression().innerNonZ… in innerNonZeroPtr()
38 inline Scalar* valuePtr() { return derived().nestedExpression().valuePtr(); } in valuePtr()
39 inline StorageIndex* innerIndexPtr() { return derived().nestedExpression().innerIndexPtr(); } in innerIndexPtr()
40 inline StorageIndex* outerIndexPtr() { return derived().nestedExpression().outerIndexPtr(); } in outerIndexPtr()
41 … inline StorageIndex* innerNonZeroPtr() { return derived().nestedExpression().innerNonZeroPtr(); } in innerNonZeroPtr()
DSparseSolverBase.h79 Derived& derived() { return *static_cast<Derived*>(this); } in derived() function
80 const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
91 …eigen_assert(derived().rows()==b.rows() && "solve(): invalid number of rows of the right hand side… in solve()
92 return Solve<Derived, Rhs>(derived(), b.derived()); in solve()
104 …eigen_assert(derived().rows()==b.rows() && "solve(): invalid number of rows of the right hand side… in solve()
105 return Solve<Derived, Rhs>(derived(), b.derived()); in solve()
113 internal::solve_sparse_through_dense_panels(derived(), b.derived(), dest.derived()); in _solve_impl()
DSparseMatrixBase.h138 inline const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
139 inline Derived& derived() { return *static_cast<Derived*>(this); } in derived() function
171 inline Index rows() const { return derived().rows(); } in rows()
173 inline Index cols() const { return derived().cols(); } in cols()
190 Derived& markAsRValue() { m_isRValue = true; return derived(); } in markAsRValue()
220 Nested nm(m.derived());
239 Nested nm(m.derived());
298 { return Product<Derived,OtherDerived>(derived(), other.derived()); }
304 { return Product<OtherDerived,Derived>(lhs.derived(), rhs.derived()); }
315 { return Product<Derived,OtherDerived>(derived(), other.derived()); }
[all …]
DSparseAssign.h19 internal::call_assignment_no_alias(derived(), other.derived());
20 return derived();
28 other.evalTo(derived());
29 return derived();
38 … ::run(derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
39 return derived();
45 internal::call_assignment_no_alias(derived(), other.derived());
46 return derived();
132 assign_sparse_to_sparse(dst.derived(), src.derived());
DSparseCompressedBase.h50 …os() { return Eigen::Map<IndexVector>(innerNonZeroPtr(), isCompressed()?0:derived().outerSize()); }
51 … return Eigen::Map<const IndexVector>(innerNonZeroPtr(), isCompressed()?0:derived().outerSize()); }
59 return derived().nonZeros();
61 return outerIndexPtr()[derived().outerSize()]-outerIndexPtr()[0];
62 else if(derived().outerSize()==0)
71 inline const Scalar* valuePtr() const { return derived().valuePtr(); }
75 inline Scalar* valuePtr() { return derived().valuePtr(); }
80 inline const StorageIndex* innerIndexPtr() const { return derived().innerIndexPtr(); }
84 inline StorageIndex* innerIndexPtr() { return derived().innerIndexPtr(); }
90 inline const StorageIndex* outerIndexPtr() const { return derived().outerIndexPtr(); }
[all …]
DSparseCwiseBinaryOp.h644 …call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::…
645 return derived();
652 …call_assignment(derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scal…
653 return derived();
661 return derived() = derived() - other.derived();
669 return derived() = derived() + other.derived();
676 …call_assignment_no_alias(derived(), other.derived(), internal::add_assign_op<Scalar,typename Other…
677 return derived();
684 …call_assignment_no_alias(derived(), other.derived(), internal::sub_assign_op<Scalar,typename Other…
685 return derived();
[all …]
/external/eigen/Eigen/src/IterativeLinearSolvers/
DIterativeSolverBase.h81 ::new (&m_matrix) Ref<const MatrixType>(mat.derived()); in grab()
86 if(&(mat.derived()) != &m_matrix) in grab()
163 using Base::derived;
183 : m_matrixWrapper(A.derived()) in IterativeSolverBase()
199 grab(A.derived()); in analyzePattern()
204 return derived(); in analyzePattern()
220 grab(A.derived()); in factorize()
224 return derived(); in factorize()
240 grab(A.derived()); in compute()
246 return derived(); in compute()
[all …]
/external/eigen/doc/
DCustomizingEigen_Plugins.dox34 { return (derived() - other.derived()).squaredNorm(); }
38 { return internal::sqrt(derived().squaredDistanceTo(other)); }
40 inline void scaleTo(RealScalar l) { RealScalar vl = norm(); if (vl>1e-9) derived() *= (l/vl); }
49 …id makeFloor(const MatrixBase<OtherDerived>& other) { derived() = derived().cwiseMin(other.derived
51 void makeCeil(const MatrixBase<OtherDerived>& other) { derived() = derived().cwiseMax(other.derived
55 …nternal::scalar_sum_op<Scalar>, const Derived, const ConstantReturnType>(derived(), Constant(rows(…
59 …um_op<Scalar>, const ConstantReturnType, Derived>(Constant(rows(),cols(),scalar), mat.derived()); }
/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>>...77