Home
last modified time | relevance | path

Searched refs:OtherDerived (Results 1 – 25 of 75) sorted by relevance

123

/external/eigen/Eigen/src/plugins/
DMatrixCwiseBinaryOps.h20 template<typename OtherDerived>
21 EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived) in EIGEN_CWISE_PRODUCT_RETURN_TYPE() argument
22 cwiseProduct(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const in EIGEN_CWISE_PRODUCT_RETURN_TYPE()
24 return EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived)(derived(), other.derived()); in EIGEN_CWISE_PRODUCT_RETURN_TYPE()
39 template<typename OtherDerived>
40 inline const CwiseBinaryOp<std::equal_to<Scalar>, const Derived, const OtherDerived>
41 cwiseEqual(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const in cwiseEqual()
43 …return CwiseBinaryOp<std::equal_to<Scalar>, const Derived, const OtherDerived>(derived(), other.de… in cwiseEqual()
58 template<typename OtherDerived>
59 inline const CwiseBinaryOp<std::not_equal_to<Scalar>, const Derived, const OtherDerived>
[all …]
DArrayCwiseBinaryOps.h5 template<typename OtherDerived>
6 EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived) in EIGEN_CWISE_PRODUCT_RETURN_TYPE() argument
7 operator*(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const in EIGEN_CWISE_PRODUCT_RETURN_TYPE()
9 return EIGEN_CWISE_PRODUCT_RETURN_TYPE(Derived,OtherDerived)(derived(), other.derived()); in EIGEN_CWISE_PRODUCT_RETURN_TYPE()
16 template<typename OtherDerived>
17 …INLINE const CwiseBinaryOp<internal::scalar_quotient_op<Scalar>, const Derived, const OtherDerived>
18 operator/(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
20 …return CwiseBinaryOp<internal::scalar_quotient_op<Scalar>, const Derived, const OtherDerived>(deri…
186 template<typename OtherDerived>
187 inline const CwiseBinaryOp<internal::scalar_boolean_and_op, const Derived, const OtherDerived>
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseMatrixBase.h41 template<typename OtherDerived>
42 Derived& operator=(const EigenBase<OtherDerived> &other)
177 template<typename OtherDerived>
178 Derived& operator=(const ReturnByValue<OtherDerived>& other)
185 template<typename OtherDerived>
186 inline Derived& operator=(const SparseMatrixBase<OtherDerived>& other)
201 template<typename OtherDerived>
202 inline Derived& assign(const OtherDerived& other) in assign()
204 const bool transpose = (Flags & RowMajorBit) != (OtherDerived::Flags & RowMajorBit); in assign()
205 … const Index outerSize = (int(OtherDerived::Flags) & RowMajorBit) ? other.rows() : other.cols(); in assign()
[all …]
DSparseDot.h16 template<typename OtherDerived>
18 SparseMatrixBase<Derived>::dot(const MatrixBase<OtherDerived>& other) const in dot()
21 EIGEN_STATIC_ASSERT_VECTOR_ONLY(OtherDerived) in dot()
22 EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(Derived,OtherDerived) in dot()
23 EIGEN_STATIC_ASSERT((internal::is_same<Scalar, typename OtherDerived::Scalar>::value), in dot()
40 template<typename OtherDerived>
42 SparseMatrixBase<Derived>::dot(const SparseMatrixBase<OtherDerived>& other) const in dot()
45 EIGEN_STATIC_ASSERT_VECTOR_ONLY(OtherDerived) in dot()
46 EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(Derived,OtherDerived) in dot()
47 EIGEN_STATIC_ASSERT((internal::is_same<Scalar, typename OtherDerived::Scalar>::value), in dot()
[all …]
DTriangularSolver.h165 template<typename OtherDerived>
166 void SparseTriangularView<ExpressionType,Mode>::solveInPlace(MatrixBase<OtherDerived>& other) const
171 enum { copy = internal::traits<OtherDerived>::Flags & RowMajorBit };
174 …typename internal::plain_matrix_type_column_major<OtherDerived>::type, OtherDerived&>::type OtherC…
184 template<typename OtherDerived>
185 typename internal::plain_matrix_type_column_major<OtherDerived>::type
186 SparseTriangularView<ExpressionType,Mode>::solve(const MatrixBase<OtherDerived>& other) const
188 typename internal::plain_matrix_type_column_major<OtherDerived>::type res(other);
290 template<typename OtherDerived>
291 void SparseTriangularView<ExpressionType,Mode>::solveInPlace(SparseMatrixBase<OtherDerived>& other)…
[all …]
/external/eigen/Eigen/src/Eigen2Support/
DCwise.h19 … CwiseBinaryOp<OP<typename internal::traits<ExpressionType>::Scalar>, ExpressionType, OtherDerived>
64 template<typename OtherDerived>
65 const EIGEN_CWISE_PRODUCT_RETURN_TYPE(ExpressionType,OtherDerived)
66 operator*(const MatrixBase<OtherDerived> &other) const;
68 template<typename OtherDerived>
70 operator/(const MatrixBase<OtherDerived> &other) const;
73 template<typename OtherDerived>
75 (min)(const MatrixBase<OtherDerived> &other) const in EIGEN_CWISE_BINOP_RETURN_TYPE()
79 template<typename OtherDerived>
81 (max)(const MatrixBase<OtherDerived> &other) const in EIGEN_CWISE_BINOP_RETURN_TYPE()
[all …]
DCwiseOperators.h54 template<typename OtherDerived>
55 EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE(ExpressionType,OtherDerived) in EIGEN_CWISE_PRODUCT_RETURN_TYPE() argument
56 Cwise<ExpressionType>::operator*(const MatrixBase<OtherDerived> &other) const in EIGEN_CWISE_PRODUCT_RETURN_TYPE()
58 …return EIGEN_CWISE_PRODUCT_RETURN_TYPE(ExpressionType,OtherDerived)(_expression(), other.derived()… in EIGEN_CWISE_PRODUCT_RETURN_TYPE()
63 template<typename OtherDerived>
65 Cwise<ExpressionType>::operator/(const MatrixBase<OtherDerived> &other) const
72 template<typename OtherDerived>
73 inline ExpressionType& Cwise<ExpressionType>::operator*=(const MatrixBase<OtherDerived> &other)
80 template<typename OtherDerived>
81 inline ExpressionType& Cwise<ExpressionType>::operator/=(const MatrixBase<OtherDerived> &other)
[all …]
/external/eigen/Eigen/src/Core/
DVectorwiseOp.h216 template<typename OtherDerived> struct ExtendedType {
217 typedef Replicate<OtherDerived,
224 template<typename OtherDerived>
225 typename ExtendedType<OtherDerived>::Type
226 extendedTo(const DenseBase<OtherDerived>& other) const
228 EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(Direction==Vertical, OtherDerived::MaxColsAtCompileTime==1),
230 … EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(Direction==Horizontal, OtherDerived::MaxRowsAtCompileTime==1),
232 return typename ExtendedType<OtherDerived>::Type
238 template<typename OtherDerived> struct OppositeExtendedType {
239 typedef Replicate<OtherDerived,
[all …]
DArrayBase.h131 template<typename OtherDerived>
132 Derived& operator+=(const ArrayBase<OtherDerived>& other);
133 template<typename OtherDerived>
134 Derived& operator-=(const ArrayBase<OtherDerived>& other);
136 template<typename OtherDerived>
137 Derived& operator*=(const ArrayBase<OtherDerived>& other);
139 template<typename OtherDerived>
140 Derived& operator/=(const ArrayBase<OtherDerived>& other);
160 template<typename OtherDerived> explicit ArrayBase(const ArrayBase<OtherDerived>&);
163 template<typename OtherDerived> Derived& operator+=(const MatrixBase<OtherDerived>& )
[all …]
DMatrixBase.h153 template <typename OtherDerived>
154 Derived& operator=(const DenseBase<OtherDerived>& other);
156 template <typename OtherDerived>
157 Derived& operator=(const EigenBase<OtherDerived>& other);
159 template<typename OtherDerived>
160 Derived& operator=(const ReturnByValue<OtherDerived>& other);
170 template<typename OtherDerived>
171 Derived& operator+=(const MatrixBase<OtherDerived>& other);
172 template<typename OtherDerived>
173 Derived& operator-=(const MatrixBase<OtherDerived>& other);
[all …]
DFuzzy.h19 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Sca…
22 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec) in run()
26 typename internal::nested<OtherDerived,2>::type otherNested(y); in run()
31 template<typename Derived, typename OtherDerived>
32 struct isApprox_selector<Derived, OtherDerived, true>
34 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar&)
40 template<typename Derived, typename OtherDerived, bool is_integer = NumTraits<typename Derived::Sca…
43 static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec)
49 template<typename Derived, typename OtherDerived>
50 struct isMuchSmallerThan_object_selector<Derived, OtherDerived, true>
[all …]
DMatrix.h169 template<typename OtherDerived>
170 EIGEN_STRONG_INLINE Matrix& operator=(const MatrixBase<OtherDerived>& other)
181 template<typename OtherDerived>
182 EIGEN_STRONG_INLINE Matrix& operator=(const EigenBase<OtherDerived> &other)
187 template<typename OtherDerived>
188 EIGEN_STRONG_INLINE Matrix& operator=(const ReturnByValue<OtherDerived>& func)
271 template<typename OtherDerived>
272 EIGEN_STRONG_INLINE Matrix(const MatrixBase<OtherDerived>& other)
277 EIGEN_STATIC_ASSERT((internal::is_same<Scalar, typename OtherDerived::Scalar>::value),
291 template<typename OtherDerived>
[all …]
DAssign.h23 template <typename Derived, typename OtherDerived>
30 SrcIsAligned = OtherDerived::Flags & AlignedBit,
47 StorageOrdersAgree = (int(Derived::IsRowMajor) == int(OtherDerived::IsRowMajor)),
49 && (int(Derived::Flags) & int(OtherDerived::Flags) & ActualPacketAccessBit),
52 …MayLinearize = StorageOrdersAgree && (int(Derived::Flags) & int(OtherDerived::Flags) & LinearAcces…
80 && int(OtherDerived::CoeffReadCost) != Dynamic
81 … && int(Derived::SizeAtCompileTime) * int(OtherDerived::CoeffReadCost) <= int(UnrollingLimit),
83 && int(OtherDerived::CoeffReadCost) != Dynamic
84 && int(InnerSize) * int(OtherDerived::CoeffReadCost) <= int(UnrollingLimit)
367 template <typename Derived, typename OtherDerived>
[all …]
DNoAlias.h39 template<typename OtherDerived>
40 EIGEN_STRONG_INLINE ExpressionType& operator=(const StorageBase<OtherDerived>& other)
41 …{ return internal::assign_selector<ExpressionType,OtherDerived,false>::run(m_expression,other.deri…
44 template<typename OtherDerived>
45 EIGEN_STRONG_INLINE ExpressionType& operator+=(const StorageBase<OtherDerived>& other)
47 …typedef SelfCwiseBinaryOp<internal::scalar_sum_op<Scalar>, ExpressionType, OtherDerived> SelfAdder;
49 typedef typename internal::nested<OtherDerived>::type OtherDerivedNested;
56 template<typename OtherDerived>
57 EIGEN_STRONG_INLINE ExpressionType& operator-=(const StorageBase<OtherDerived>& other)
59 … SelfCwiseBinaryOp<internal::scalar_difference_op<Scalar>, ExpressionType, OtherDerived> SelfAdder;
[all …]
DTriangularMatrix.h241 template<typename OtherDerived>
242 TriangularView& operator=(const TriangularBase<OtherDerived>& other);
244 template<typename OtherDerived>
245 TriangularView& operator=(const MatrixBase<OtherDerived>& other);
250 template<typename OtherDerived>
251 void lazyAssign(const TriangularBase<OtherDerived>& other);
253 template<typename OtherDerived>
254 void lazyAssign(const MatrixBase<OtherDerived>& other);
280 template<typename OtherDerived>
281 … TriangularProduct<Mode, true, MatrixType, false, OtherDerived, OtherDerived::ColsAtCompileTime==1>
[all …]
DCommaInitializer.h39 template<typename OtherDerived>
40 inline CommaInitializer(XprType& xpr, const DenseBase<OtherDerived>& other) in CommaInitializer()
76 template<typename OtherDerived>
77 CommaInitializer& operator,(const DenseBase<OtherDerived>& other)
92 if (OtherDerived::SizeAtCompileTime != Dynamic)
93 …m_xpr.template block<OtherDerived::RowsAtCompileTime != Dynamic ? OtherDerived::RowsAtCompileTime …
94OtherDerived::ColsAtCompileTime != Dynamic ? OtherDerived::ColsAtCompileTime : 1>
145 template<typename OtherDerived>
147 DenseBase<Derived>::operator<<(const DenseBase<OtherDerived>& other)
DDot.h61 template<typename OtherDerived>
62 …<typename internal::traits<Derived>::Scalar,typename internal::traits<OtherDerived>::Scalar>::Retu…
63 MatrixBase<Derived>::dot(const MatrixBase<OtherDerived>& other) const
66 EIGEN_STATIC_ASSERT_VECTOR_ONLY(OtherDerived)
67 EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(Derived,OtherDerived)
68 typedef internal::scalar_conj_product_op<Scalar,typename OtherDerived::Scalar> func;
69 EIGEN_CHECK_BINARY_COMPATIBILIY(func,Scalar,typename OtherDerived::Scalar);
73 return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
87 template<typename OtherDerived>
89 MatrixBase<Derived>::eigen2_dot(const MatrixBase<OtherDerived>& other) const
[all …]
DSwap.h72 template<typename OtherDerived>
73 void copyCoeff(Index rowId, Index colId, const DenseBase<OtherDerived>& other)
75 OtherDerived& _other = other.const_cast_derived();
83 template<typename OtherDerived>
84 void copyCoeff(Index index, const DenseBase<OtherDerived>& other)
86 OtherDerived& _other = other.const_cast_derived();
93 template<typename OtherDerived, int StoreMode, int LoadMode>
94 void copyPacket(Index rowId, Index colId, const DenseBase<OtherDerived>& other)
96 OtherDerived& _other = other.const_cast_derived();
106 template<typename OtherDerived, int StoreMode, int LoadMode>
[all …]
DDenseBase.h249 template<typename OtherDerived>
250 Derived& operator=(const DenseBase<OtherDerived>& other);
257 template<typename OtherDerived>
258 Derived& operator=(const EigenBase<OtherDerived> &other);
260 template<typename OtherDerived>
261 Derived& operator+=(const EigenBase<OtherDerived> &other);
263 template<typename OtherDerived>
264 Derived& operator-=(const EigenBase<OtherDerived> &other);
266 template<typename OtherDerived>
267 Derived& operator=(const ReturnByValue<OtherDerived>& func);
[all …]
DArray.h54 template <typename Derived, typename OtherDerived, bool IsVector>
71 template<typename OtherDerived>
72 EIGEN_STRONG_INLINE Array& operator=(const EigenBase<OtherDerived> &other)
86 template<typename OtherDerived>
87 EIGEN_STRONG_INLINE Array& operator=(const ArrayBase<OtherDerived>& other)
184 template<typename OtherDerived>
185 EIGEN_STRONG_INLINE Array(const ArrayBase<OtherDerived>& other)
199 template<typename OtherDerived>
200 EIGEN_STRONG_INLINE Array(const ReturnByValue<OtherDerived>& other)
208 template<typename OtherDerived>
[all …]
DPlainObjectBase.h51 typename OtherDerived = Derived,
52 … bool IsVector = bool(Derived::IsVectorAtCompileTime) && bool(OtherDerived::IsVectorAtCompileTime)>
314 template<typename OtherDerived>
315 EIGEN_STRONG_INLINE void resizeLike(const EigenBase<OtherDerived>& _other)
317 const OtherDerived& other = _other.derived();
395 template<typename OtherDerived>
396 EIGEN_STRONG_INLINE void conservativeResizeLike(const DenseBase<OtherDerived>& other)
398 internal::conservative_resize_like_impl<Derived,OtherDerived>::run(*this, other);
410 template<typename OtherDerived>
411 EIGEN_STRONG_INLINE Derived& lazyAssign(const DenseBase<OtherDerived>& other)
[all …]
/external/eigen/Eigen/src/Eigen2Support/Geometry/
DRotationBase.h62 template<typename OtherDerived>
64 ::Matrix(const RotationBase<OtherDerived,ColsAtCompileTime>& r) in Matrix() argument
66 EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(Matrix,int(OtherDerived::Dim),int(OtherDerived::Dim)) in Matrix()
75 template<typename OtherDerived>
78 ::operator=(const RotationBase<OtherDerived,ColsAtCompileTime>& r)
80 EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(Matrix,int(OtherDerived::Dim),int(OtherDerived::Dim))
109 template<typename Scalar, int Dim, typename OtherDerived>
110 static inline Matrix<Scalar,Dim,Dim> ei_toRotationMatrix(const RotationBase<OtherDerived,Dim>& r) in ei_toRotationMatrix() argument
115 template<typename Scalar, int Dim, typename OtherDerived>
116 static inline const MatrixBase<OtherDerived>& ei_toRotationMatrix(const MatrixBase<OtherDerived>& m… in ei_toRotationMatrix()
[all …]
DTransform.h94 …template<typename OtherDerived, bool BigMatrix> // MSVC 2005 will commit suicide if BigMatrix has …
97 static inline void run(Transform *transform, const MatrixBase<OtherDerived>& other) in run()
103 template<typename OtherDerived> struct construct_from_matrix<OtherDerived, true>
105 static inline void run(Transform *transform, const MatrixBase<OtherDerived>& other)
115 template<typename OtherDerived>
116 inline explicit Transform(const MatrixBase<OtherDerived>& other)
118 …construct_from_matrix<OtherDerived, int(OtherDerived::RowsAtCompileTime) == Dim>::run(this, other);
122 template<typename OtherDerived>
123 inline Transform& operator=(const MatrixBase<OtherDerived>& other)
165 template<typename OtherDerived>
[all …]
/external/eigen/Eigen/src/Geometry/
DRotationBase.h69 template<typename OtherDerived>
70 …pename internal::rotation_base_generic_product_selector<Derived,OtherDerived,OtherDerived::IsVecto…
71 operator*(const EigenBase<OtherDerived>& e) const
72 …{ return internal::rotation_base_generic_product_selector<Derived,OtherDerived>::run(derived(), e.…
75 template<typename OtherDerived> friend
76 inline RotationMatrixType operator*(const EigenBase<OtherDerived>& l, const Derived& r)
139 template<typename OtherDerived>
141 ::Matrix(const RotationBase<OtherDerived,ColsAtCompileTime>& r)
143 EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(Matrix,int(OtherDerived::Dim),int(OtherDerived::Dim))
152 template<typename OtherDerived>
[all …]
DOrthoMethods.h24 template<typename OtherDerived>
25 inline typename MatrixBase<Derived>::template cross_product_return_type<OtherDerived>::type
26 MatrixBase<Derived>::cross(const MatrixBase<OtherDerived>& other) const in cross()
29 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(OtherDerived,3) in cross()
34 typename internal::nested<OtherDerived,2>::type rhs(other.derived()); in cross()
35 return typename cross_product_return_type<OtherDerived>::type( in cross()
72 template<typename OtherDerived>
74 MatrixBase<Derived>::cross3(const MatrixBase<OtherDerived>& other) const in cross3()
77 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(OtherDerived,4) in cross3()
80 typedef typename internal::nested<OtherDerived,2>::type OtherDerivedNested; in cross3()
[all …]

123