MCPcopy Create free account
hub / github.com/PX4/eigen / sum

Method sum

unsupported/Eigen/src/AutoDiff/AutoDiffVector.h:64–64  ·  view source on GitHub ↗

FIXME here we could return an expression of the sum

Source from the content-addressed store, hash-verified

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)

Callers 15

runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
computeBigMethod · 0.45
matrix_log_compute_bigFunction · 0.45
computeMethod · 0.45
setFromTripletsMethod · 0.45
balanceMethod · 0.45
operator()Method · 0.45
derivativesImplFunction · 0.45
test_static_index_listFunction · 0.45
test_type2index_listFunction · 0.45

Calls 1

rowwiseMethod · 0.80

Tested by 15

test_static_index_listFunction · 0.36
test_type2index_listFunction · 0.36
test_dynamic_index_listFunction · 0.36
test_mixed_index_listFunction · 0.36
test_mpreal_supportFunction · 0.36
Scalar fooMethod · 0.36
test_trivial_reductionsFunction · 0.36
test_simple_reductionsFunction · 0.36