plus

Add a scalar offset to a spline output.


Declaration

 f = plus(f,g)

Parameters

  • f BSpline instance or scalar
  • g scalar or BSpline instance

Returns

  • f transformed BSpline or empty when adding []

Discussion

This shifts the spline output without changing the knot sequence or spline coefficients.

  shiftedSpline = spline + 3;