cubicSplinePredict#

swordfish.function.cubicSplinePredict()#

Predict the corresponding y for x with the given model.

Parameters:
  • model (Constant) – A dictionary with two keys, c and x.

  • x (Constant) – A numeric scalar or vector containing the independent variable to be predicted.