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

Method rows

Eigen/src/Core/Diagonal.h:77–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Diagonal)
76
77 EIGEN_DEVICE_FUNC
78 inline Index rows() const
79 {
80 return m_index.value()<0 ? numext::mini<Index>(m_matrix.cols(),m_matrix.rows()+m_index.value())
81 : numext::mini<Index>(m_matrix.rows(),m_matrix.cols()-m_index.value());
82 }
83
84 EIGEN_DEVICE_FUNC
85 inline Index cols() const { return 1; }

Callers

nothing calls this directly

Calls 2

valueMethod · 0.45
colsMethod · 0.45

Tested by

no test coverage detected