roots

Return real roots of a one-dimensional tensor spline within its domain.


Declaration

 values = roots(self)

Parameters

  • self TensorSpline instance

Returns

  • values sorted real roots in the spline domain

Discussion

Use this to locate zero crossings of a one-dimensional tensor spline over its support.

In one dimension this simply delegates to the underlying BSpline piecewise-polynomial root finder after transferring the degree, knots, coefficients, and affine output normalization.

  tZero = roots(spline);