WOLFRAM SYSTEM MODELER

cubicHermite_withDerivative

Evaluate a cubic Hermite spline, return value and derivative

Wolfram Language

In[1]:=
SystemModel["Modelica.Fluid.Utilities.cubicHermite_withDerivative"]
Out[1]:=

Syntax

(y, dy_dx) = cubicHermite_withDerivative(x, x1, x2, y1, y2, y1d, y2d)

Inputs (7)

x

Type: Real

Description: Abscissa value

x1

Type: Real

Description: Lower abscissa value

x2

Type: Real

Description: Upper abscissa value

y1

Type: Real

Description: Lower ordinate value

y2

Type: Real

Description: Upper ordinate value

y1d

Type: Real

Description: Lower gradient

y2d

Type: Real

Description: Upper gradient

Outputs (2)

y

Type: Real

Description: Interpolated ordinate value

dy_dx

Type: Real

Description: Derivative dy/dx at abscissa value x

Revisions