Home
last modified time | relevance | path

Searched refs:m_functor (Results 1 – 18 of 18) sorted by relevance

/external/eigen/Eigen/src/SparseCore/
DSparseCwiseUnaryOp.h31 …explicit unary_evaluator(const XprType& op) : m_functor(op.functor()), m_argImpl(op.nestedExpressi…
44 const UnaryOp m_functor;
57 : Base(unaryOp.m_argImpl,outer), m_functor(unaryOp.m_functor)
63 EIGEN_STRONG_INLINE Scalar value() const { return m_functor(Base::value()); }
66 const UnaryOp m_functor;
85 …explicit unary_evaluator(const XprType& op) : m_functor(op.functor()), m_argImpl(op.nestedExpressi…
94 const ViewOp m_functor;
107 : Base(unaryOp.m_argImpl,outer), m_functor(unaryOp.m_functor)
113 EIGEN_STRONG_INLINE Scalar value() const { return m_functor(Base::value()); }
114 EIGEN_STRONG_INLINE Scalar& valueRef() { return m_functor(Base::valueRef()); }
[all …]
DSparseCwiseBinaryOp.h76 … : m_lhsIter(aEval.m_lhsImpl,outer), m_rhsIter(aEval.m_rhsImpl,outer), m_functor(aEval.m_functor)
86 m_value = m_functor(m_lhsIter.value(), m_rhsIter.value());
93 m_value = m_functor(m_lhsIter.value(), Scalar(0));
99 m_value = m_functor(Scalar(0), m_rhsIter.value());
122 const BinaryOp& m_functor;
134 : m_functor(xpr.functor()),
147 const BinaryOp m_functor;
170 …: m_lhsEval(aEval.m_lhsImpl), m_rhsIter(aEval.m_rhsImpl,outer), m_functor(aEval.m_functor), m_valu…
184 m_value = m_functor(lhsVal, m_rhsIter.value());
188 m_value = m_functor(lhsVal, Scalar(0));
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorEvaluator.h242 : m_functor(op.functor()), m_argImpl(op.nestedExpression(), device), m_wrapper()
259 return m_wrapper(m_functor, index);
265 return m_wrapper.template packetOp<PacketReturnType, Index>(m_functor, index);
279 NullaryOp functor() const { return m_functor; }
283 const NullaryOp m_functor;
306 : m_functor(op.functor()),
329 return m_functor(m_argImpl.coeff(index));
335 return m_functor.packetOp(m_argImpl.template packet<LoadMode>(index));
349 UnaryOp functor() const { return m_functor; }
353 const UnaryOp m_functor;
[all …]
DTensorExpr.h63 : m_xpr(xpr), m_functor(func) {}
70 const NullaryOp& functor() const { return m_functor; }
74 const NullaryOp m_functor;
124 : m_xpr(xpr), m_functor(func) {}
127 const UnaryOp& functor() const { return m_functor; }
136 const UnaryOp m_functor;
200 : m_lhs_xpr(lhs), m_rhs_xpr(rhs), m_functor(func) {}
203 const BinaryOp& functor() const { return m_functor; }
217 const BinaryOp m_functor;
275 : m_arg1_xpr(arg1), m_arg2_xpr(arg2), m_arg3_xpr(arg3), m_functor(func) {}
[all …]
/external/eigen/Eigen/src/Core/
DCoreEvaluators.h473 : m_functor(n.functor()), m_wrapper()
484 return m_wrapper(m_functor, row, col);
491 return m_wrapper(m_functor,index);
498 return m_wrapper.template packetOp<PacketType>(m_functor, row, col);
505 return m_wrapper.template packetOp<PacketType>(m_functor, index);
509 const NullaryOp m_functor;
531 : m_functor(op.functor()),
543 return m_functor(m_argImpl.coeff(row, col));
549 return m_functor(m_argImpl.coeff(index));
556 return m_functor.packetOp(m_argImpl.template packet<LoadMode, PacketType>(row, col));
[all …]
DCwiseUnaryOp.h66 : m_xpr(xpr), m_functor(func) {}
75 const UnaryOp& functor() const { return m_functor; }
89 const UnaryOp m_functor;
DCwiseUnaryView.h68 : m_matrix(mat), m_functor(func) {}
76 const ViewOp& functor() const { return m_functor; }
88 ViewOp m_functor;
DCwiseBinaryOp.h105 : m_lhs(aLhs), m_rhs(aRhs), m_functor(func)
138 const BinaryOp& functor() const { return m_functor; }
143 const BinaryOp m_functor;
DCwiseTernaryOp.h110 : m_arg1(a1), m_arg2(a2), m_arg3(a3), m_functor(func) {
175 const TernaryOp& functor() const { return m_functor; }
181 const TernaryOp m_functor;
DVectorwiseOp.h66 : m_matrix(mat), m_functor(func) {}
77 const MemberOp& functor() const { return m_functor; }
81 const MemberOp m_functor;
131 EIGEN_DEVICE_FUNC explicit member_redux(const BinaryOp func) : m_functor(func) {}
134 { return mat.redux(m_functor); }
135 const BinaryOp m_functor;
DSelfAdjointView.h286 using Base::m_functor;
303 m_functor.assignCoeff(m_dst.coeffRef(row,col), tmp);
304 m_functor.assignCoeff(m_dst.coeffRef(col,row), numext::conj(tmp));
DAssignEvaluator.h611 : m_dst(dst), m_src(src), m_functor(func), m_dstExpr(dstExpr)
631 m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col));
637 m_functor.assignCoeff(m_dst.coeffRef(index), m_src.coeff(index));
652m_functor.template assignPacket<StoreMode>(&m_dst.coeffRef(row,col), m_src.template packet<LoadMod…
658m_functor.template assignPacket<StoreMode>(&m_dst.coeffRef(index), m_src.template packet<LoadMode,…
695 const Functor &m_functor;
DCwiseNullaryOp.h69 : m_rows(rows), m_cols(cols), m_functor(func)
84 const NullaryOp& functor() const { return m_functor; }
89 const NullaryOp m_functor;
DSwap.h26 using Base::m_functor;
DTriangularMatrix.h744 using Base::m_functor;
769 if(Mode==UnitDiag && SetOpposite) m_functor.assignCoeff(m_dst.coeffRef(id,id), Scalar(1));
770 else if(Mode==ZeroDiag && SetOpposite) m_functor.assignCoeff(m_dst.coeffRef(id,id), Scalar(0));
778 m_functor.assignCoeff(m_dst.coeffRef(row,col), Scalar(0));
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
DLevenbergMarquardt.h123 : m_functor(functor),m_nfev(0),m_njev(0),m_fnorm(0.0),m_gnorm(0), in LevenbergMarquardt()
251 FunctorType &m_functor; variable
297 m = m_functor.values(); in minimizeInit()
331 if ( m_functor(x, m_fvec) < 0) in minimizeInit()
350 m = m_functor.values(); in lmder1()
DLMonestep.h32 Index df_ret = m_functor.df(x, m_fjac); in minimizeOneStep()
104 if ( m_functor(m_wa2, m_wa4) < 0) in minimizeOneStep()
/external/eigen/doc/
DInsideEigenExample.dox436 …return m_functor.packetOp(m_lhs.template packet<LoadMode>(index), m_rhs.template packet<LoadMode>(…
454 … been returned, what does this function do? It calls m_functor.packetOp() on them. What is m_funct…
458 So m_functor is an object of the empty class internal::scalar_sum_op<float>. As we mentioned above,…