Evaluation of B-spline basis functions
| 123 | |
| 124 | // Evaluation of B-spline basis functions |
| 125 | SparseVector 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 | |
| 135 | SparseMatrix BSpline::evalBasisJacobian(DenseVector x) const |
| 136 | { |
no test coverage detected