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

Method evalBasis

src/bspline.cpp:125–133  ·  view source on GitHub ↗

Evaluation of B-spline basis functions

Source from the content-addressed store, hash-verified

123
124// Evaluation of B-spline basis functions
125SparseVector BSpline::evalBasis(DenseVector x) const
126{
127 #ifndef NDEBUG
128 if (!pointInDomain(x))
129 throw Exception("BSpline::evalBasis: Evaluation at point outside domain.");
130 #endif // NDEBUG
131
132 return basis.eval(x);
133}
134
135SparseMatrix BSpline::evalBasisJacobian(DenseVector x) const
136{

Callers 1

Calls 2

ExceptionClass · 0.85
evalMethod · 0.45

Tested by

no test coverage detected