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

Method blockPtr

unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h:936–941  ·  view source on GitHub ↗

* \returns the starting position of the block in the array of values */

Source from the content-addressed store, hash-verified

934 * \returns the starting position of the block <id> in the array of values
935 */
936 Index blockPtr(Index id) const
937 {
938 if(m_blockSize == Dynamic) return m_blockPtr[id];
939 else return id * m_blockSize * m_blockSize;
940 //return blockDynIdx(id, typename internal::conditional<(BlockSize==Dynamic), internal::true_type, internal::false_type>::type());
941 }
942
943
944 protected:

Callers 2

valueMethod · 0.80
valueRefMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected