pointsOfSupportFromKnotPoints
Return representative support points for a tensor-product spline basis.
Declaration
[pointMatrix,supportVectors] = pointsOfSupportFromKnotPoints(knotPoints, options)
Parameters
knotPointsknot vector in 1-D or cell array of knot vectorsoptions.Sspline degree scalar or vector with one entry per dimension
Returns
pointMatrixmatrix with one row per tensor support pointsupportVectorscell array with one support vector per dimension
Discussion
Use these points when you need one representative location per tensor basis function, for example when constructing transformed splines from sampled values.
The support vectors are computed one dimension at a time with BSpline.pointsOfSupport, then combined by a Cartesian product to form the returned point matrix.
[supportPoints, supportVectors] = TensorSpline.pointsOfSupportFromKnotPoints(knotPoints, S=[3 3]);
values = spline(supportVectors{:});