Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,647 Location: Italy Was thanked: 1329 time(s) in 875 post(s)
|
As I've stated in the other thread, there isn't a check on 4th and 5th arguments, that should be scalars. The implementation is a 1:1 port of a code that was discussed here on the forum some time ago, not based on built-in linterp; here there is your example with the InterpBilinear function exposed in worksheet code (intBil). InterpBilinear_debug.sm (22kb) downloaded 31 time(s).Seems that a vector argument can fool my binary search function, that doesn't stop the wrong input and ends calculating wrong results. P.S: I'll fix the plugin as soon as I can |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
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.