/external/eigen/Eigen/src/SparseCore/ |
SparseCwiseUnaryOp.h | 42 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor()) 48 EIGEN_STRONG_INLINE typename CwiseUnaryOpImpl::Scalar value() const { return m_functor(Base::value()); } 51 const UnaryOp m_functor; member in class:Eigen::CwiseUnaryOpImpl::InnerIterator 65 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor()) 71 EIGEN_STRONG_INLINE typename CwiseUnaryOpImpl::Scalar value() const { return m_functor(Base::value()); } 74 const UnaryOp m_functor; member in class:Eigen::CwiseUnaryOpImpl::ReverseInnerIterator 106 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor()) 112 EIGEN_STRONG_INLINE typename CwiseUnaryViewImpl::Scalar value() const { return m_functor(Base::value()); } 113 EIGEN_STRONG_INLINE typename CwiseUnaryViewImpl::Scalar& valueRef() { return m_functor(Base::valueRef()); } 116 const ViewOp m_functor; member in class:Eigen::CwiseUnaryViewImpl::InnerIterator 138 const ViewOp m_functor; member in class:Eigen::CwiseUnaryViewImpl::ReverseInnerIterator [all...] |
SparseCwiseBinaryOp.h | 108 : m_lhsIter(xpr.lhs(),outer), m_rhsIter(xpr.rhs(),outer), m_functor(xpr.functor()) 118 m_value = m_functor(m_lhsIter.value(), m_rhsIter.value()); 125 m_value = m_functor(m_lhsIter.value(), Scalar(0)); 131 m_value = m_functor(Scalar(0), m_rhsIter.value()); 153 const BinaryOp& m_functor; member in class:Eigen::internal::sparse_cwise_binary_op_inner_iterator_selector 173 : m_lhsIter(xpr.lhs(),outer), m_rhsIter(xpr.rhs(),outer), m_functor(xpr.functor()) 198 EIGEN_STRONG_INLINE Scalar value() const { return m_functor(m_lhsIter.value(), m_rhsIter.value()); } 209 const BinaryFunc& m_functor; member in class:Eigen::internal::sparse_cwise_binary_op_inner_iterator_selector 227 : m_rhs(xpr.rhs()), m_lhsIter(xpr.lhs(),outer), m_functor(xpr.functor()), m_outer(outer) 237 { return m_functor(m_lhsIter.value() 249 const BinaryFunc m_functor; member in class:Eigen::internal::sparse_cwise_binary_op_inner_iterator_selector 289 const BinaryFunc& m_functor; member in class:Eigen::internal::sparse_cwise_binary_op_inner_iterator_selector [all...] |
/external/eigen/Eigen/src/Core/ |
SelfCwiseBinaryOp.h | 55 inline SelfCwiseBinaryOp(Lhs& xpr, const BinaryOp& func = BinaryOp()) : m_matrix(xpr), m_functor(func) {} 94 tmp = m_functor(tmp, _other.coeff(row,col)); 103 tmp = m_functor(tmp, _other.coeff(index)); 113 m_functor.packetOp(m_matrix.template packet<StoreMode>(row, col),_other.template packet<LoadMode>(row, col)) ); 122 m_functor.packetOp(m_matrix.template packet<StoreMode>(index),_other.template packet<LoadMode>(index)) ); 160 return m_functor; 165 const BinaryOp& m_functor; member in class:Eigen::SelfCwiseBinaryOp
|
CwiseUnaryOp.h | 68 : m_xpr(xpr), m_functor(func) {} 74 const UnaryOp& functor() const { return m_functor; } 86 const UnaryOp m_functor; member in class:Eigen::CwiseUnaryOp
|
CwiseUnaryView.h | 67 : m_matrix(mat), m_functor(func) {} 75 const ViewOp& functor() const { return m_functor; } 88 ViewOp m_functor; member in class:Eigen::CwiseUnaryView
|
VectorwiseOp.h | 79 : m_matrix(mat), m_functor(func) {} 87 return m_functor(m_matrix.col(j)); 89 return m_functor(m_matrix.row(i)); 95 return m_functor(m_matrix.col(index)); 97 return m_functor(m_matrix.row(index)); 102 const MemberOp m_functor; member in class:Eigen::PartialReduxExpr 141 member_redux(const BinaryOp func) : m_functor(func) {} 144 { return mat.redux(m_functor); } 145 const BinaryOp m_functor; member in struct:Eigen::internal::member_redux
|
CwiseBinaryOp.h | 126 : m_lhs(aLhs), m_rhs(aRhs), m_functor(func) 154 const BinaryOp& functor() const { return m_functor; } 159 const BinaryOp m_functor; member in class:Eigen::CwiseBinaryOp
|
CwiseNullaryOp.h | 58 : m_rows(nbRows), m_cols(nbCols), m_functor(func) 71 return m_functor(rowId, colId); 77 return m_functor.packetOp(rowId, colId); 82 return m_functor(index); 88 return m_functor.packetOp(index); 92 const NullaryOp& functor() const { return m_functor; } 97 const NullaryOp m_functor; member in class:Eigen::CwiseNullaryOp
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
LevenbergMarquardt.h | 124 : m_functor(functor),m_nfev(0),m_njev(0),m_fnorm(0.0),m_gnorm(0), 232 FunctorType &m_functor; member in class:Eigen::LevenbergMarquardt 278 m = m_functor.values(); 312 if ( m_functor(x, m_fvec) < 0) 331 m = m_functor.values();
|
LMonestep.h | 32 Index df_ret = m_functor.df(x, m_fjac); 104 if ( m_functor(m_wa2, m_wa4) < 0)
|
/external/eigen/doc/ |
InsideEigenExample.dox | 436 return m_functor.packetOp(m_lhs.template packet<LoadMode>(index), m_rhs.template packet<LoadMode>(index)); 454 Let's go back to CwiseBinaryOp::packet(). Once the packets from the vectors \a v and \a w have been returned, what does this function do? It calls m_functor.packetOp() on them. What is m_functor? Here we must remember what particular template specialization of CwiseBinaryOp we're dealing with: 458 So m_functor is an object of the empty class internal::scalar_sum_op<float>. As we mentioned above, don't worry about why we constructed an object of this empty class at all -- it's an implementation detail, the point is that some other functors need to store member data.
|