spline

spline - Messages

#1 Posted: 9/26/2024 1:41:44 PM
Valery Ochkov

Valery Ochkov

55 likes in 633 posts.

Group: User

See please the attach!
Wath is it with spline?
Spline-Mad.sm (999 KiB) downloaded 67 time(s).
#2 Posted: 9/27/2024 2:59:30 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

I think this is because lspline() requires equidistant x values and your's aren't.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Valery Ochkov 9/27/2024 1:31:00 PM
#3 Posted: 9/27/2024 1:35:18 PM
Valery Ochkov

Valery Ochkov

55 likes in 633 posts.

Group: User

Wrote

I think this is because lspline() requires equidistant x values and your's aren't.



Thank you!
Yes, that's true. But I think it's a bug.
The values ​​should only be sorted in ascending order X!
There is no such bug in Mathcad.
Spline-bug.sm (12 KiB) downloaded 67 time(s).
#4 Posted: 9/29/2024 10:42:01 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Wrote

I think this is because lspline() requires equidistant x values and your's aren't.



Thank you!
Yes, that's true. But I think it's a bug.
The values ​​should only be sorted in ascending order X!
There is no such bug in Mathcad.
Spline-bug.sm (12 KiB) downloaded 67 time(s).



I'd not call it a bug. It is just a helper function of the Mathcad Toolbox Toolbox plugin, not meant being a full-featured multipurpose function. Yet, this restriction would be worth mentioning in the help text.

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
  • New Posts New Posts
  • No New Posts No New Posts