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

Function call_ref_3

test/sparse_ref.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50template<typename B>
51EIGEN_DONT_INLINE void call_ref_3(const Ref<const SparseMatrix<float>, StandardCompressedFormat>& a, const B &b) {
52 VERIFY(a.isCompressed());
53 VERIFY_IS_EQUAL(a.toDense(),b.toDense());
54}
55
56template<typename B>
57EIGEN_DONT_INLINE void call_ref_4(Ref<SparseVector<float> > a, const B &b) { VERIFY_IS_EQUAL(a.toDense(),b.toDense()); }

Callers 1

call_refFunction · 0.70

Calls 2

isCompressedMethod · 0.45
toDenseMethod · 0.45

Tested by

no test coverage detected