Cubic Splines lpc [dspline, fintegrate]

Cubic Splines lpc [dspline, fintegrate] - Cubic Splines lpc [dspline, fintegrate] - Messages

#1 Posted: 2016/9/15 23:28:42
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

In this Smath document, InterpSpline(s,X,Y,t) is equivalent to
Mathcad linterp(s,X,Y,t), pinterp(s,X,Y,t), cinterp(s,X,Y,t)
except that in Smath you have to pre-assign the 's' spline type.
1. It supports the scalar plot on canvas, in-situ interpolation.
2. It supports the scalar 'dspline' up to 3rd derivative.
3. It supports the discrete cumulative integral, from which you
can extract value(s) from "row(,,)"
4. Of great interest, observe the 2nd order discrete derivative
Deriv2=augment(X,s)

Enjoy, best use, comments appreciated ... thanks.

Jean

Spline l_p_c [dspline, fintegrate].sm (70.74 KiB) downloaded 733 time(s).
1 users liked this post
Radovan Omorjan 2016/9/16 04:04:00
#2 Posted: 2016/9/16 02:35:05
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

... refactored a bit to be more generalised.
The graet cruncher is the tridiagonal solver.
I have no idea if it could be accelerated.

Cheers, Jean

Spline l_p_c [dspline, fintegrate].sm (71.15 KiB) downloaded 741 time(s).
2 users liked this post
Radovan Omorjan 2016/9/16 04:04:00, frapuano 2016/9/16 08:43:00
  • New Posts
  • No New Posts