Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Can't make it work ... SS 6179 Please, can you quick verdict: NOT compatible or if possible doctor the patient ? It may have to be constructed recursive style Thanks in advance ... Jean Spline Bspline FAILS.sm (67kb) downloaded 18 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 277 Was thanked: 91 time(s) in 57 post(s)
|
Originally Posted by: Jean Giraud Can't make it work ... SS 6179 Please, can you quick verdict: NOT compatible or if possible doctor the patient ? It may have to be constructed recursive style
Thanks in advance ... Jean
Here's something that at least evaluates on 0.99.7030. One thing to note about your function. There isn't a "return" statement in Smath programming. A program returns the last line entry by default. So to compensate, you have to assign values to a variable and pass that variable at the end. In this case I chose "ans". I also used "cases" function to clean things up a bit. Spline Bspline PASSES-alyles.sm (69kb) downloaded 15 time(s). |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 277 Was thanked: 91 time(s) in 57 post(s)
|
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: alyles Here's something that at least evaluates on 0.99.7030. One thing to note about your function. There isn't a "return" statement in Smath programming. A program returns the last line entry by default. So to compensate, you have to assign values to a variable and pass that variable at the end. In this case I chose "ans". Thanks Grand Doctor Alyles ... works fine. Will refresh soon ... Jean
|
|
|
|
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.