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

Method SparseView

include/Eigen/Eigen/src/SparseCore/SparseView.h:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 typedef internal::remove_all_t<MatrixType> NestedExpression;
55
56 explicit SparseView(const MatrixType& mat, const Scalar& reference = Scalar(0),
57 const RealScalar &epsilon = NumTraits<Scalar>::dummy_precision())
58 : m_matrix(mat), m_reference(reference), m_epsilon(epsilon) {}
59
60 inline Index rows() const { return m_matrix.rows(); }
61 inline Index cols() const { return m_matrix.cols(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected