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

Function eiToDense

bench/BenchSparseUtil.h:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void eiToDense(const EigenSparseMatrix& src, DenseMatrix& dst)
63{
64 dst.setZero();
65 for (int j=0; j<src.cols(); ++j)
66 for (EigenSparseMatrix::InnerIterator it(src.derived(), j); it; ++it)
67 dst(it.index(),j) = it.value();
68}
69
70#ifndef NOGMM
71#include "gmm/gmm.h"

Callers 7

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 4

setZeroMethod · 0.45
colsMethod · 0.45
indexMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected