/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 | 107 : m_lhsIter(xpr.lhs(),outer), m_rhsIter(xpr.rhs(),outer), m_functor(xpr.functor()) 117 m_value = m_functor(m_lhsIter.value(), m_rhsIter.value()); 124 m_value = m_functor(m_lhsIter.value(), Scalar(0)); 130 m_value = m_functor(Scalar(0), m_rhsIter.value()); 152 const BinaryOp& m_functor; member in class:Eigen::internal::sparse_cwise_binary_op_inner_iterator_selector 172 : m_lhsIter(xpr.lhs(),outer), m_rhsIter(xpr.rhs(),outer), m_functor(xpr.functor()) 197 EIGEN_STRONG_INLINE Scalar value() const { return m_functor(m_lhsIter.value(), m_rhsIter.value()); } 208 const BinaryFunc& m_functor; member in class:Eigen::internal::sparse_cwise_binary_op_inner_iterator_selector 226 : m_rhs(xpr.rhs()), m_lhsIter(xpr.lhs(),outer), m_functor(xpr.functor()), m_outer(outer) 236 { return m_functor(m_lhsIter.value() 248 const BinaryFunc m_functor; member in class:Eigen::internal::sparse_cwise_binary_op_inner_iterator_selector 288 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 | 78 : m_matrix(mat), m_functor(func) {} 86 return m_functor(m_matrix.col(j)); 88 return m_functor(m_matrix.row(i)); 94 return m_functor(m_matrix.col(index)); 96 return m_functor(m_matrix.row(index)); 101 const MemberOp m_functor; member in class:Eigen::PartialReduxExpr 140 member_redux(const BinaryOp func) : m_functor(func) {} 143 { return mat.redux(m_functor); } 144 const BinaryOp m_functor; member in struct:Eigen::internal::member_redux
|
CwiseBinaryOp.h | 126 : m_lhs(lhs), m_rhs(rhs), 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(rows), m_cols(cols), m_functor(func) 71 return m_functor(rows, cols); 77 return m_functor.packetOp(row, col); 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/doc/ |
I03_InsideEigenExample.dox | 441 return m_functor.packetOp(m_lhs.template packet<LoadMode>(index), m_rhs.template packet<LoadMode>(index)); 459 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: 463 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.
|