Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Jean Giraud  
#1 Posted : 16 September 2016 05:28:42(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

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).
thanks 1 user thanked Jean Giraud for this useful post.
on 16/09/2016(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 16 September 2016 08:35:05(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

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).
thanks 2 users thanked Jean Giraud for this useful post.
on 16/09/2016(UTC),  on 16/09/2016(UTC)
Users browsing this topic
Guest
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.