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

Method searchLowerIndex

Eigen/src/SparseCore/CompressedStorage.h:125–128  ·  view source on GitHub ↗

\returns the largest \c k such that for all \c j in [0,k) index[\c j]\<\a key */

Source from the content-addressed store, hash-verified

123
124 /** \returns the largest \c k such that for all \c j in [0,k) index[\c j]\<\a key */
125 inline Index searchLowerIndex(Index key) const
126 {
127 return searchLowerIndex(0, m_size, key);
128 }
129
130 /** \returns the largest \c k in [start,end) such that for all \c j in [start,k) index[\c j]\<\a key */
131 inline Index searchLowerIndex(Index start, Index end, Index key) const

Callers 1

SparseMatrixClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected