MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / Ref

Function Ref

include/Eigen/Eigen/src/SparseCore/SparseRef.h:147–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

isCompressedMethod · 0.45

Tested by

no test coverage detected