MCPcopy Create free account
hub / github.com/bgrimstad/splinter / getSamplePointValues

Method getSamplePointValues

src/bsplinebuilder.cpp:201–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201DenseVector BSpline::Builder::getSamplePointValues() const
202{
203 DenseVector B = DenseVector::Zero(_data.getNumSamples());
204
205 int i = 0;
206 for (auto it = _data.cbegin(); it != _data.cend(); ++it, ++i)
207 B(i) = it->getY();
208
209 return B;
210}
211
212/*
213* Function for generating second order finite-difference matrix, which is used for penalizing the

Callers

nothing calls this directly

Calls 3

cbeginMethod · 0.80
cendMethod · 0.80
getYMethod · 0.80

Tested by

no test coverage detected