SMath Studio Forum
»
SMath Studio
»
Samples
»
Cubic Splines lpc [dspline, fintegrate]
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
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 (71kb) downloaded 33 time(s).
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
... 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 (72kb) downloaded 34 time(s).
|
2 users thanked Jean Giraud for this useful post.
|
on 16/09/2016(UTC), on 16/09/2016(UTC)
|
|
SMath Studio Forum
»
SMath Studio
»
Samples
»
Cubic Splines lpc [dspline, fintegrate]
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.