modelcheck_regFun3

Test problem for cubic hermite splines

Extends from TRANSFORM.Icons.Example (Icon for runnable examples).

Information

This example demonstrates the use of the function for cubic hermite interpolation and linear extrapolation. The example use interpolation with two different settings: One settings produces a monotone cubic hermite, whereas the other setting does not enforce monotonicity.


Adapted from Buildings Library

Parameters

TypeNameDefaultDescription
Realxd{-1, 1, 5, 6}Support points
Realyd{-1, 1, 2, 10}Support points
RealdDerivatives at the support points

Components

TypeNameDefaultDescription
RealxIndependent variable
RealyDependent variable
IntegeriInteger to select data interval
Utilities.ErrorAnalysis.UnitTestsunitTests