With this package 1-dimensional interpolation with B-Splines is performed.
The following functions are supported:
init Initialize interpolation initDer Initialize interpolation (points and first derivatives are given) evaluate Determine data at one point by interpolation evaluateDer Determine data and first derivative at one point by interpolation evaluateDer2 Determine data, first and second derivative at one point by interpolation evaluateDerN Determine the n-th derivative at one point by interpolation plot Compute all data needed to make a nice plot of the data and plot it (since in Dymola plotArray cannot be called in a function, currently just the plot data is computed and returned. In a calling script this data can be used to plot it with operator plotArray).
Release Notes:
Copyright (C) 2002, Modelica Association and DLR.
This package is free software. It can be redistributed and/or modified under the terms of the Modelica license, see the license conditions and the accompanying disclaimer in the documentation of package Modelica in file "Modelica/package.mo".
Name | Description |
---|---|
Data | Datastructure of a Bspline |
ParametrizationType | will be later replaced by enumeration |
evaluate | Evaluate Bspline at one parameter |
evaluateDer | Evaluate Bspline and its first derivative at one parameter |
evaluateDer2 | Evaluate Bspline and its first and second derivatives at one parameter |
evaluateDerN | Evaluate k-th derivative of Bspline at one parameter |
init | Initialize Bspline (end conditions are automatically selected, see docu) |
initDer | Initialize Bspline which interpolates the points and first derivatives |
parametrization | Automatic parameterization of a Bspline in the range 0..1 (if ndim > 1) |
plot | Plot Bspline curve (currently not fully functional, since feature in Dymola missing) |
Utilities | Utility functions for package Bspline1D |