Changelog
2024-02-01, 12.3.1
ArrayNode
, FunctionNode
,
IndexNode
, OperatorNode
, and RelationalNode
(#3123). Thanks @sylee957./* #__PURE__ */
annotations.format
:
precision
, wordSize
, lowerExp
, upperExp
. Support BigNumber values
for the option wordSize
in the functions hex
, bin
, and oct
.hypot
(#3144).
Thanks @silentmissile.help(config)
altering the actual config
when evaluating the
examples.Changelog
2024-01-12, 12.3.0
ronna
(R
), quetta
(Q
),
ronto
(r
), and quecto
(q
) (#3113, #3112). Thanks @AlexEdgcomb.toSI()
wrongly converting degC
(#3118). Thanks @costerwi.Changelog
2023-12-08, 12.2.0
and
, or
, &
, |
(#3090, #3101,
#2766). Thanks @smith120bh.Changelog
2023-11-17, 12.1.0
round
with support for units (#2761, #3095).mod
with support for negative divisors in when
using BigNumber
or Fraction
(#3087).derivative
mutates the input expression when it fails.Changelog
2023-10-26, 12.0.0
Breaking changes:
Fix #2879, #2927, #3014: change the confusing interface of eigs
(#3037),
thanks @gwhitney.
Before, functions eigs
returned an object:
{ values: MathCollection; vectors: MathCollection }
where vectors
was a 2d matrix of which the columns contained the vectors.
This is changed to eigs
returning an object:
{
values: MathCollection
eigenvectors: Array<{
value: number | BigNumber
vector: MathCollection
}>
}
Where eigenvectors
is an array containing an object with the corresponding
eigenvalue and vector.
Refactored the TypeScript type definitions to make them work with a NodeNext
module resolution (#3079, #2919).
MathJsStatic
is renamed to MathJsInstance
.FactoryDependencies
is deprecated, use MathJsFactory
instead, and
import dependency maps directly from the library.Change the assignment operator of .toTex()
output from :=
to =
(see
#2980, #2987).
Drop official support for Node.js 14 and 16.
Features:
eigs
now has an option to turn off calculation of eigenvectors
(#3057, #2180). Thanks @gwhitney.Fixes:
Changelog
2023-10-26, 11.12.0
subtractScalar
(#3081, #2643), thanks @vrushaket.clone
not throwing an error when passing an unsupported
type like a function.symbolicEqual
(#3035),
thanks @juancodeaudio.Changelog
2023-10-11, 11.11.2
corr
(#3030). Thanks @vrushaket.max
in derivative
.to
or mod
as property name.Changelog
2023-09-20, 11.11.1
print
in the parser (#3009).
Thanks @dvd101x.mod
sometimes giving wrong results due to internal round-off
errors (#3011). Thanks @praisennamonu1.quantileSeq
, and fixed the embedded help (#3003).
Thanks @dvd101x.Changelog
2023-09-05, 11.11.0
corr
to calculate the correlation between two matrices
(#3015, #2624). Thanks @vrushaket.fraction.js
at version 4.3.4
for now, see #3024, 3022,
https://github.com/rawify/Fraction.js/issues/68.