Home
last modified time | relevance | path

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

12345678910>>...111

/external/eigen/Eigen/src/plugins/
DArrayCwiseUnaryOps.h46 return AbsReturnType(derived()); in abs()
60 return ArgReturnType(derived()); in arg()
74 return Abs2ReturnType(derived()); in abs2()
91 return ExpReturnType(derived()); in exp()
108 return LogReturnType(derived()); in log()
122 return Log1pReturnType(derived()); in log1p()
138 return Log10ReturnType(derived()); in log10()
155 return SqrtReturnType(derived()); in sqrt()
171 return RsqrtReturnType(derived()); in rsqrt()
187 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/llvm-project/flang/test/Semantics/
Dresolve69.f9033 type derived(typeKind, typeLen) type
36 end type derived
38 type (derived(constVal, 3)) :: constDerivedKind
41 type (derived(nonConstVal, 3)) :: nonConstDerivedKind
44 type (derived(3, constVal)) :: constDerivedLen
47 type (derived(3, nonConstVal)) :: nonConstDerivedLen
49 type (derived(3, :)) :: colonDerivedLen
52 type (derived( :, :)) :: colonDerivedLen1
53 type (derived( :, :)), pointer :: colonDerivedLen2
54 type (derived(4, :)), pointer :: colonDerivedLen3
Dresolve74.f907 type derived(param) type
10 type(derived(34)) :: a
14 procedure(type(derived(param =*))) :: externDerivedFunc
24 type(derived(param=4)) :: works
35 type(derived(param=*)) :: fails2
/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/llvm-project/flang/lib/Semantics/
Dtools.cpp280 if (const DerivedTypeSpec * derived{type->AsDerived()}) { in FindPointerComponent() local
281 if (const Scope * nested{derived->scope()}) { in FindPointerComponent()
299 const Symbol *FindPointerComponent(const DerivedTypeSpec &derived) { in FindPointerComponent() argument
300 if (const Scope * scope{derived.scope()}) { in FindPointerComponent()
308 if (const DerivedTypeSpec * derived{type.AsDerived()}) { in FindPointerComponent() local
309 return FindPointerComponent(*derived); in FindPointerComponent()
449 const DeclTypeSpec *FindParentTypeSpec(const DerivedTypeSpec &derived) { in FindParentTypeSpec() argument
450 return FindParentTypeSpec(derived.typeSymbol()); in FindParentTypeSpec()
454 if (const DerivedTypeSpec * derived{decl.AsDerived()}) { in FindParentTypeSpec() local
455 return FindParentTypeSpec(*derived); in FindParentTypeSpec()
[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 …]
/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/llvm-project/mlir/include/mlir/Interfaces/
DDerivedAttributeOpInterface.td9 // This file contains a set of interfaces for derived attribute op interface.
20 Interface to query derived attribute characteristics.
22 Derived attributes are not stored in the operation but are instead derived
24 derived attributes and can be used to simplify translations.
30 /*desc=*/"Returns whether name corresponds to a derived attribute.",
37 Materializes the derived attributes. Returns null attribute where
38 unable to materialize a derived attribute as attribute.
/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()); }

12345678910>>...111