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

Method append

Eigen/src/SparseCore/CompressedStorage.h:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 void append(const Scalar& v, Index i)
102 {
103 Index id = m_size;
104 resize(m_size+1, 1);
105 m_values[id] = v;
106 m_indices[id] = internal::convert_index<StorageIndex>(i);
107 }
108
109 inline Index size() const { return m_size; }
110 inline Index allocatedSize() const { return m_allocatedSize; }

Callers 6

SparseVector.hFile · 0.80
SparseMatrixClass · 0.80
SparseMatrix.hFile · 0.80
register_eigen_printersFunction · 0.80
generate_autotocFunction · 0.80
DynamicSparseMatrixClass · 0.80

Calls 1

resizeFunction · 0.70

Tested by

no test coverage detected