Release 0.9.0 "Wilson's Dream" - Full equation library #1413
c3d
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This version integrates an extended version of the HP50G equation library that Jean Wilson has been working on for many weeks. Equations are also fully documented, with examples illustrating how to use them, and a full documentation of the variables they contain.
It also fully enables the algebraic-assisted solver, i.e. a version of the solver that attempts to isolate variables to evaluate expressions directly, which is both faster and more accurate when possible.
WARNING Equations in the current state of the library are not fully validated yet. DB48x users are invited to test them and report issues they find.
WARNING Constants used in the library are relatively accurate and have been modernized compared to the HP50G version. However, an effort is underway to compute the physical constants that are not fundamental but derived from other constants. It is expected that the numerical values returned from the equations will changeslightly as constants are udpated.
Features
Bug fixes
isolate
When using the algebraic-assisted solver, errors raised by the internal calls toisolate
no longer manifest as solver errors.unit::convert_to_real
This could cause spuriousInconsistent units
errors while solving.#100+1
and1+#100
both return#101
.'∫(0;1;x+1;x)'
afterx=3
would result in a nonsensical expression'∫(0;1;4;3)'
.'∫(0;1;sin(x)/x;x)'
, theDivide by zero
error evaluating'sin(x)/x'
atx=0
is erased by the successful evaluation atx=1
that follows.Improvements
isolate
This allows many equations in the equation library to successfully use the symbolic approach, improving accuracy significantly.1_km+0
is now accepted, and evaluates as1_km
.Signed-off-by: Christophe de Dinechin [email protected]
This discussion was created from the release Release 0.9.0 "Wilson's Dream" - Full equation library.
Beta Was this translation helpful? Give feedback.
All reactions