FIXME here we could return an expression of the sum
| 62 | |
| 63 | // FIXME here we could return an expression of the sum |
| 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()); } |
| 65 | |
| 66 | |
| 67 | inline AutoDiffVector(const ValueType& values, const JacobianType& jac) |