Home | History | Annotate | Download | only in AutoDiff

Lines Matching defs:m_values

46       : m_values(values)
52 CoeffType operator[] (Index i) { return CoeffType(m_values[i], m_jacobian.col(i)); }
53 const CoeffType operator[] (Index i) const { return CoeffType(m_values[i], m_jacobian.col(i)); }
55 CoeffType operator() (Index i) { return CoeffType(m_values[i], m_jacobian.col(i)); }
56 const CoeffType operator() (Index i) const { return CoeffType(m_values[i], m_jacobian.col(i)); }
58 CoeffType coeffRef(Index i) { return CoeffType(m_values[i], m_jacobian.col(i)); }
59 const CoeffType coeffRef(Index i) const { return CoeffType(m_values[i], m_jacobian.col(i)); }
61 Index size() const { return m_values.size(); }
64 Scalar sum() const { /*std::cerr << "sum \n\n";*/ /*std::cerr << m_jacobian.rowwise().sum() << "\n\n";*/ return Scalar(m_values.sum(), m_jacobian.rowwise().sum()); }
68 : m_values(values), m_jacobian(jac)
73 : m_values(other.values()), m_jacobian(other.jacobian())
77 : m_values(other.values()), m_jacobian(other.jacobian())
83 m_values = other.values();
90 m_values = other.values();
95 inline const ValueType& values() const { return m_values; }
96 inline ValueType& values() { return m_values; }
110 m_values + other.values(),
118 m_values += other.values();
132 m_values - other.values(),
140 m_values -= other.values();
153 -m_values,
165 m_values * other,
194 // m_values.cwise() * other.values(),
195 // (m_jacobian * other.values()) + (m_values * other.jacobian()));
200 m_values *= other;
213 ValueType m_values;