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

Function Ref

Eigen/src/SparseCore/SparseRef.h:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 #ifndef EIGEN_PARSED_BY_DOXYGEN
144 template<int OtherOptions>
145 inline Ref(SparseMatrix<MatScalar,OtherOptions,MatIndex>& expr)
146 {
147 EIGEN_STATIC_ASSERT(bool(Traits::template match<SparseMatrix<MatScalar,OtherOptions,MatIndex> >::MatchAtCompileTime), STORAGE_LAYOUT_DOES_NOT_MATCH);
148 eigen_assert( ((Options & int(StandardCompressedFormat))==0) || (expr.isCompressed()) );
149 Base::construct(expr.derived());
150 }
151
152 template<int OtherOptions>
153 inline Ref(MappedSparseMatrix<MatScalar,OtherOptions,MatIndex>& expr)

Callers

nothing calls this directly

Calls 1

isCompressedMethod · 0.45

Tested by

no test coverage detected