1页(4条)
Piecewise fuction - type conversion error - Piecewise fuction - type conversion error - 消息
I was playing around with SMath and trying to graph a piecewise function curve. I am receiving a "Type conversion error. Please contact the developer." message.
Any ideas what is causing that? version 0.99 (build 6884)

piecewise.sm (30.45 KiB)已下载 1381 次。
Any ideas what is causing that? version 0.99 (build 6884)

piecewise.sm (30.45 KiB)已下载 1381 次。
Hello,
the problem is that in boolean comparisions you are using matrices instead of scalars (in both arguments, x and um)
the problem is that in boolean comparisions you are using matrices instead of scalars (in both arguments, x and um)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
WroteI was playing around with SMath and trying to graph a piecewise function curve.
For plotting, if/otherwise is convenient. Generally, for maths: if/else.
[< ...>] are for while loops and some exceptional algorithm(s).
Observe the undocumented min(x).
For Derivation/Integration of discontinuous functions use FD [Finite Differences].
Integrate Discontinuous [min(x)].sm (14.25 KiB)已下载 1202 次。
Integrate Discontinuous [Nuance].sm (24.75 KiB)已下载 1186 次。
1页(4条)
- 有新帖
- 无新帖