mathjs 12.4.3 → 13.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/HISTORY.md +234 -463
- package/README.md +4 -4
- package/lib/browser/math.js +1 -1
- package/lib/browser/math.js.LICENSE.txt +10 -4
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/constants.js +77 -55
- package/lib/cjs/core/config.js +9 -3
- package/lib/cjs/core/create.js +21 -18
- package/lib/cjs/core/function/config.js +23 -15
- package/lib/cjs/core/function/import.js +29 -36
- package/lib/cjs/core/function/typed.js +88 -46
- package/lib/cjs/defaultInstance.js +4 -5
- package/lib/cjs/entry/allFactoriesAny.js +3 -4
- package/lib/cjs/entry/allFactoriesNumber.js +3 -4
- package/lib/cjs/entry/configReadonly.js +3 -2
- package/lib/cjs/entry/dependenciesAny/dependenciesAbs.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAccessorNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAcos.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAcosh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAcot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAcoth.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAcsc.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAcsch.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAdd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAddScalar.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAnd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAndTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesApply.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesApplyTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesArg.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesArrayNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAsec.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAsech.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAsin.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAsinh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAssignmentNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAtan.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAtan2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAtanh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAtomicMass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesAvogadro.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBellNumbers.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBigNumberClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBigint.generated.js +17 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBignumber.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBin.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBitAnd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBitAndTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBitNot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBitOr.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBitOrTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBitXor.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBlockNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBohrMagneton.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBohrRadius.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBoltzmann.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesBoolean.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCatalan.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCbrt.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCeil.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesChain.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesChainClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesClassicalElectronRadius.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesClone.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesColumn.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesColumnTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCombinations.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCombinationsWithRep.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCompare.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCompareNatural.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCompareText.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCompile.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesComplex.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesComplexClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesComposition.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesConcat.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesConcatTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesConditionalNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesConductanceQuantum.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesConj.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesConstantNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCorr.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCos.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCosh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCoth.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCoulomb.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCount.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCreateUnit.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCross.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCsc.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCsch.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCtranspose.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCube.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCumSum.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesCumSumTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDeepEqual.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDenseMatrixClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDerivative.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDet.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDeuteronMass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDiag.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDiff.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDiffTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDistance.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDivide.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDivideScalar.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDotDivide.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDotMultiply.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDotPow.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesE.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesEfimovFactor.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesEigs.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesElectricConstant.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesElectronMass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesElementaryCharge.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesEqual.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesEqualScalar.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesEqualText.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesErf.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesEvaluate.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesExp.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesExpm.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesExpm1.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFactorial.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFalse.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFaraday.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFermiCoupling.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFft.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFibonacciHeapClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFilter.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFilterTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFineStructure.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFirstRadiation.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFix.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFlatten.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFloor.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesForEach.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesForEachTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFormat.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFraction.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFractionClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFreqz.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFunctionAssignmentNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesFunctionNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesGamma.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesGasConstant.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesGcd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesGetMatrixDataType.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesGravitationConstant.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesGravity.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesHartreeEnergy.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesHasNumericValue.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesHelp.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesHelpClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesHex.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesHypot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesI.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIdentity.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIfft.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIm.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesImmutableDenseMatrixClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIndex.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIndexClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIndexNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIndexTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesInfinity.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIntersect.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesInv.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesInverseConductanceQuantum.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesInvmod.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIsInteger.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIsNaN.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIsNegative.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIsNumeric.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIsPositive.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIsPrime.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesIsZero.generated.js +3 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesKldivergence.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesKlitzing.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesKron.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLN10.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLN2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLOG10E.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLOG2E.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLarger.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLargerEq.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLcm.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLeafCount.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLeftShift.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLgamma.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLog.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLog10.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLog1p.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLog2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLoschmidt.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLsolve.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLsolveAll.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLup.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLusolve.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLyap.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMad.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMagneticConstant.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMagneticFluxQuantum.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMap.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMapTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMatrix.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMatrixClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromColumns.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromFunction.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromRows.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMax.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMaxTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMean.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMeanTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMedian.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMin.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMinTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMod.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMolarMass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMolarMassC12.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMolarPlanckConstant.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMolarVolume.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMultinomial.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMultiply.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesMultiplyScalar.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesNaN.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesNeutronMass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesNorm.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesNot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesNthRoot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesNthRoots.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesNuclearMagneton.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesNull.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesNumber.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesNumeric.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesObjectNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesOct.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesOnes.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesOperatorNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesOr.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesOrTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesParenthesisNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesParse.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesParser.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesParserClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPartitionSelect.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPermutations.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPhi.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPi.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPickRandom.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPinv.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckCharge.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckConstant.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckLength.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckMass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckTemperature.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckTime.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPolynomialRoot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPow.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPrint.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesPrintTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesProd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesProtonMass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesQr.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesQuantileSeq.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesQuantileSeqTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesQuantumOfCirculation.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRandom.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRandomInt.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRange.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRangeClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRangeNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRangeTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRationalize.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRe.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesReducedPlanckConstant.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRelationalNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesReplacer.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesReshape.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesResize.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesResolve.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesResultSet.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesReviver.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRightArithShift.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRightLogShift.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRotate.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRotationMatrix.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRound.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRow.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRowTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesRydberg.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSQRT1_2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSQRT2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSackurTetrode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSchur.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSec.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSech.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSecondRadiation.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSetCartesian.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSetDifference.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSetDistinct.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSetIntersect.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSetIsSubset.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSetMultiplicity.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSetPowerset.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSetSize.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSetSymDifference.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSetUnion.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSign.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSimplify.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyConstant.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyCore.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSin.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSinh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSize.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSlu.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSmaller.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSmallerEq.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSolveODE.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSort.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSpaClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSparse.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSparseMatrixClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSpeedOfLight.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSplitUnit.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSqrt.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSqrtm.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSquare.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSqueeze.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesStd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesStdTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesStefanBoltzmann.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesStirlingS2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesString.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSubset.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSubsetTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSubtract.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSubtractScalar.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSum.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSumTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSylvester.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSymbolNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesSymbolicEqual.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesTan.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesTanh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesTau.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesThomsonCrossSection.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesTo.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesTrace.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesTranspose.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesTrue.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesTypeOf.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesTyped.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesUnaryMinus.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesUnaryPlus.generated.js +3 -3
- package/lib/cjs/entry/dependenciesAny/dependenciesUnequal.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesUnitClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesUnitFunction.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesUppercaseE.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesUppercasePi.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesUsolve.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesUsolveAll.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesVacuumImpedance.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesVariance.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesVarianceTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesVersion.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesWeakMixingAngle.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesWienDisplacement.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesXgcd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesXor.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesZeros.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesZeta.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesZpk2tf.generated.js +1 -1
- package/lib/cjs/entry/dependenciesAny.generated.js +369 -362
- package/lib/cjs/entry/dependenciesNumber/dependenciesAbs.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAccessorNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcos.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcosh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcoth.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcsc.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcsch.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAdd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAddScalar.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAnd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesApply.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesApplyTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesArrayNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAsec.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAsech.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAsin.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAsinh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAssignmentNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAtan.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAtan2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesAtanh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesBellNumbers.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesBigint.generated.js +17 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesBitAnd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesBitNot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesBitOr.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesBitXor.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesBlockNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesBoolean.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCatalan.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCbrt.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCeil.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesChain.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesChainClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesClone.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCombinations.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCombinationsWithRep.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCompare.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCompareNatural.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCompareText.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCompile.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesComposition.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesConditionalNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesConstantNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCorr.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCos.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCosh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCoth.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCsc.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCsch.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCube.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCumSum.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesCumSumTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesDeepEqual.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesDerivative.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesDivide.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesDivideScalar.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesE.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesEqual.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesEqualScalar.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesEqualText.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesErf.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesEvaluate.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesExp.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesExpm1.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesFactorial.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesFalse.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesFilter.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesFilterTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesFix.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesFloor.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesForEach.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesForEachTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesFormat.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesFunctionAssignmentNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesFunctionNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesGamma.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesGcd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesHasNumericValue.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesHelp.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesHelpClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesHypot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesIndex.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesIndexNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesInfinity.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsInteger.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsNaN.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsNegative.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsNumeric.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsPositive.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsPrime.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsZero.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLN10.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLN2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLOG10E.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLOG2E.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLarger.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLargerEq.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLcm.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLeftShift.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLgamma.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLog.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLog10.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLog1p.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesLog2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMad.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMap.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMapTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMatrix.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMax.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMaxTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMean.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMeanTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMedian.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMin.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMinTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMod.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMultinomial.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMultiply.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesMultiplyScalar.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesNaN.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesNorm.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesNot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesNthRoot.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesNull.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesNumber.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesNumeric.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesObjectNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesOperatorNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesOr.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesParenthesisNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesParse.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesParser.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesParserClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesPartitionSelect.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesPermutations.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesPhi.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesPi.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesPickRandom.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesPow.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesPrint.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesProd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesQuantileSeq.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesRandom.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesRandomInt.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesRange.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesRangeClass.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesRangeNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesRangeTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesRationalize.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesRelationalNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesReplacer.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesResolve.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesResultSet.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesReviver.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesRightArithShift.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesRightLogShift.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesRound.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSQRT1_2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSQRT2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSec.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSech.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSign.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSimplify.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyConstant.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyCore.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSin.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSinh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSize.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSmaller.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSmallerEq.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSqrt.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSquare.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesStd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesStdTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesStirlingS2.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesString.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSubset.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSubsetTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSubtract.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSubtractScalar.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSum.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSumTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesSymbolNode.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesTan.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesTanh.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesTau.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesTrue.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesTypeOf.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesTyped.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesUnaryMinus.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesUnaryPlus.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesUnequal.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesUppercaseE.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesUppercasePi.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesVariance.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesVarianceTransform.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesVersion.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesXgcd.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesXor.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber/dependenciesZeta.generated.js +1 -1
- package/lib/cjs/entry/dependenciesNumber.generated.js +212 -205
- package/lib/cjs/entry/impureFunctionsAny.generated.js +193 -192
- package/lib/cjs/entry/impureFunctionsNumber.generated.js +187 -186
- package/lib/cjs/entry/mainAny.js +11 -11
- package/lib/cjs/entry/mainNumber.js +11 -11
- package/lib/cjs/entry/pureFunctionsAny.generated.js +1514 -1508
- package/lib/cjs/entry/pureFunctionsNumber.generated.js +450 -447
- package/lib/cjs/entry/typeChecks.js +45 -39
- package/lib/cjs/expression/Help.js +20 -20
- package/lib/cjs/expression/Parser.js +7 -5
- package/lib/cjs/expression/embeddedDocs/constants/Infinity.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/LN10.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/LN2.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/LOG10E.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/LOG2E.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/NaN.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/SQRT1_2.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/SQRT2.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/e.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/false.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/i.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/null.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/phi.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/pi.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/tau.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/true.js +1 -1
- package/lib/cjs/expression/embeddedDocs/constants/version.js +1 -1
- package/lib/cjs/expression/embeddedDocs/construction/bigint.js +14 -0
- package/lib/cjs/expression/embeddedDocs/construction/bignumber.js +2 -2
- package/lib/cjs/expression/embeddedDocs/construction/boolean.js +1 -1
- package/lib/cjs/expression/embeddedDocs/construction/complex.js +1 -1
- package/lib/cjs/expression/embeddedDocs/construction/createUnit.js +1 -1
- package/lib/cjs/expression/embeddedDocs/construction/fraction.js +1 -1
- package/lib/cjs/expression/embeddedDocs/construction/index.js +1 -1
- package/lib/cjs/expression/embeddedDocs/construction/matrix.js +1 -1
- package/lib/cjs/expression/embeddedDocs/construction/number.js +2 -2
- package/lib/cjs/expression/embeddedDocs/construction/sparse.js +1 -1
- package/lib/cjs/expression/embeddedDocs/construction/splitUnit.js +1 -1
- package/lib/cjs/expression/embeddedDocs/construction/string.js +1 -1
- package/lib/cjs/expression/embeddedDocs/construction/unit.js +1 -1
- package/lib/cjs/expression/embeddedDocs/core/config.js +1 -1
- package/lib/cjs/expression/embeddedDocs/core/import.js +1 -1
- package/lib/cjs/expression/embeddedDocs/core/typed.js +1 -1
- package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +8 -6
- package/lib/cjs/expression/embeddedDocs/function/algebra/derivative.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/leafCount.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/lsolve.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/lsolveAll.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/lup.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/lusolve.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/lyap.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/polynomialRoot.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/qr.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/rationalize.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/resolve.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/schur.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/simplify.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/simplifyConstant.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/simplifyCore.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/slu.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/sylvester.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/symbolicEqual.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/usolve.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/usolveAll.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/abs.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/add.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/cbrt.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/ceil.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/cube.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/divide.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotDivide.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotMultiply.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotPow.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/exp.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/expm.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/expm1.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/fix.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/floor.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/gcd.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/hypot.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/invmod.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/lcm.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/log.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/log10.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/log1p.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/log2.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/mod.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/multiply.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/norm.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/nthRoot.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/nthRoots.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/pow.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/round.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/sign.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/sqrt.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/sqrtm.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/square.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/subtract.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/unaryMinus.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/unaryPlus.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/xgcd.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/bitwise/bitAnd.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/bitwise/bitNot.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/bitwise/bitOr.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/bitwise/bitXor.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/bitwise/leftShift.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/bitwise/rightArithShift.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/bitwise/rightLogShift.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/combinatorics/bellNumbers.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/combinatorics/catalan.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/combinatorics/composition.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/combinatorics/stirlingS2.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/complex/arg.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/complex/conj.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/complex/im.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/complex/re.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/expression/evaluate.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/expression/help.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/geometry/distance.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/geometry/intersect.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/logical/and.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/logical/not.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/logical/or.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/logical/xor.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/column.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/concat.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/count.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/cross.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/ctranspose.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/det.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/diag.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/diff.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/dot.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/eigs.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/fft.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/filter.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/flatten.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/forEach.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/getMatrixDataType.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/identity.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/ifft.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/inv.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/kron.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/map.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromColumns.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromFunction.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromRows.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/ones.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/partitionSelect.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/pinv.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/range.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/reshape.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/resize.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/rotate.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/rotationMatrix.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/row.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/size.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/sort.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/squeeze.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/subset.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/trace.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/transpose.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/matrix/zeros.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/numeric/solveODE.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/combinations.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/combinationsWithRep.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/distribution.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/factorial.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/gamma.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/kldivergence.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/lgamma.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/multinomial.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/permutations.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/pickRandom.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/random.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/probability/randomInt.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/relational/compare.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/relational/compareNatural.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/relational/compareText.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/relational/deepEqual.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/relational/equal.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/relational/equalText.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/relational/larger.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/relational/largerEq.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/relational/smaller.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/relational/smallerEq.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/relational/unequal.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/set/setCartesian.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/set/setDifference.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/set/setDistinct.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/set/setIntersect.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/set/setIsSubset.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/set/setMultiplicity.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/set/setPowerset.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/set/setSize.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/set/setSymDifference.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/set/setUnion.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/signal/freqz.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/signal/zpk2tf.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/special/erf.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/special/zeta.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/corr.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/cumsum.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/mad.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/max.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/mean.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/median.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/min.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/mode.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/prod.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/quantileSeq.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/std.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/sum.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/statistics/variance.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acos.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acosh.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acot.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acoth.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acsc.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acsch.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/asec.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/asech.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/asin.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/asinh.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/atan.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/atan2.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/atanh.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/cos.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/cosh.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/cot.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/coth.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/csc.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/csch.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/sec.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/sech.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/sin.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/sinh.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/tan.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/tanh.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/units/to.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/bin.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/clone.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/format.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/hasNumericValue.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/hex.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/isInteger.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/isNaN.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/isNegative.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/isNumeric.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/isPositive.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/isPrime.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/isZero.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/numeric.js +4 -4
- package/lib/cjs/expression/embeddedDocs/function/utils/oct.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/print.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/typeOf.js +1 -1
- package/lib/cjs/expression/function/compile.js +9 -7
- package/lib/cjs/expression/function/evaluate.js +13 -11
- package/lib/cjs/expression/function/help.js +13 -11
- package/lib/cjs/expression/function/parser.js +8 -6
- package/lib/cjs/expression/keywords.js +1 -1
- package/lib/cjs/expression/node/AccessorNode.js +137 -171
- package/lib/cjs/expression/node/ArrayNode.js +144 -176
- package/lib/cjs/expression/node/AssignmentNode.js +208 -242
- package/lib/cjs/expression/node/BlockNode.js +145 -177
- package/lib/cjs/expression/node/ConditionalNode.js +161 -193
- package/lib/cjs/expression/node/ConstantNode.js +145 -172
- package/lib/cjs/expression/node/FunctionAssignmentNode.js +167 -211
- package/lib/cjs/expression/node/FunctionNode.js +326 -379
- package/lib/cjs/expression/node/IndexNode.js +169 -208
- package/lib/cjs/expression/node/Node.js +317 -373
- package/lib/cjs/expression/node/ObjectNode.js +145 -178
- package/lib/cjs/expression/node/OperatorNode.js +374 -412
- package/lib/cjs/expression/node/ParenthesisNode.js +120 -154
- package/lib/cjs/expression/node/RangeNode.js +191 -225
- package/lib/cjs/expression/node/RelationalNode.js +147 -187
- package/lib/cjs/expression/node/SymbolNode.js +152 -187
- package/lib/cjs/expression/node/utils/access.js +4 -4
- package/lib/cjs/expression/node/utils/assign.js +7 -7
- package/lib/cjs/expression/operators.js +24 -34
- package/lib/cjs/expression/parse.js +139 -136
- package/lib/cjs/expression/transform/and.transform.js +20 -18
- package/lib/cjs/expression/transform/apply.transform.js +12 -10
- package/lib/cjs/expression/transform/bitAnd.transform.js +20 -18
- package/lib/cjs/expression/transform/bitOr.transform.js +18 -16
- package/lib/cjs/expression/transform/column.transform.js +17 -15
- package/lib/cjs/expression/transform/concat.transform.js +15 -13
- package/lib/cjs/expression/transform/cumsum.transform.js +14 -12
- package/lib/cjs/expression/transform/diff.transform.js +17 -15
- package/lib/cjs/expression/transform/filter.transform.js +10 -8
- package/lib/cjs/expression/transform/forEach.transform.js +10 -8
- package/lib/cjs/expression/transform/index.transform.js +11 -9
- package/lib/cjs/expression/transform/map.transform.js +10 -8
- package/lib/cjs/expression/transform/max.transform.js +15 -13
- package/lib/cjs/expression/transform/mean.transform.js +13 -11
- package/lib/cjs/expression/transform/min.transform.js +15 -13
- package/lib/cjs/expression/transform/or.transform.js +18 -16
- package/lib/cjs/expression/transform/print.transform.js +19 -17
- package/lib/cjs/expression/transform/quantileSeq.transform.js +34 -40
- package/lib/cjs/expression/transform/range.transform.js +29 -27
- package/lib/cjs/expression/transform/row.transform.js +17 -15
- package/lib/cjs/expression/transform/std.transform.js +15 -13
- package/lib/cjs/expression/transform/subset.transform.js +15 -13
- package/lib/cjs/expression/transform/sum.transform.js +15 -13
- package/lib/cjs/expression/transform/utils/compileInlineExpression.js +5 -5
- package/lib/cjs/expression/transform/utils/lastDimToZeroBase.js +1 -1
- package/lib/cjs/expression/transform/variance.transform.js +21 -19
- package/lib/cjs/factoriesAny.js +368 -361
- package/lib/cjs/factoriesNumber.js +220 -218
- package/lib/cjs/function/algebra/decomposition/lup.js +74 -75
- package/lib/cjs/function/algebra/decomposition/qr.js +51 -49
- package/lib/cjs/function/algebra/decomposition/schur.js +24 -22
- package/lib/cjs/function/algebra/decomposition/slu.js +31 -29
- package/lib/cjs/function/algebra/derivative.js +71 -68
- package/lib/cjs/function/algebra/leafCount.js +10 -8
- package/lib/cjs/function/algebra/lyap.js +14 -12
- package/lib/cjs/function/algebra/polynomialRoot.js +44 -54
- package/lib/cjs/function/algebra/rationalize.js +84 -84
- package/lib/cjs/function/algebra/resolve.js +26 -54
- package/lib/cjs/function/algebra/simplify/util.js +59 -56
- package/lib/cjs/function/algebra/simplify/wildcards.js +2 -2
- package/lib/cjs/function/algebra/simplify.js +131 -135
- package/lib/cjs/function/algebra/simplifyConstant.js +117 -127
- package/lib/cjs/function/algebra/simplifyCore.js +78 -83
- package/lib/cjs/function/algebra/solver/lsolve.js +49 -47
- package/lib/cjs/function/algebra/solver/lsolveAll.js +64 -78
- package/lib/cjs/function/algebra/solver/lusolve.js +26 -24
- package/lib/cjs/function/algebra/solver/usolve.js +49 -47
- package/lib/cjs/function/algebra/solver/usolveAll.js +64 -78
- package/lib/cjs/function/algebra/solver/utils/solveValidation.js +30 -28
- package/lib/cjs/function/algebra/sparse/csAmd.js +60 -58
- package/lib/cjs/function/algebra/sparse/csChol.js +45 -43
- package/lib/cjs/function/algebra/sparse/csCounts.js +23 -21
- package/lib/cjs/function/algebra/sparse/csCumsum.js +2 -2
- package/lib/cjs/function/algebra/sparse/csDfs.js +8 -8
- package/lib/cjs/function/algebra/sparse/csEreach.js +7 -7
- package/lib/cjs/function/algebra/sparse/csEtree.js +13 -13
- package/lib/cjs/function/algebra/sparse/csFkeep.js +8 -8
- package/lib/cjs/function/algebra/sparse/csIpvec.js +3 -3
- package/lib/cjs/function/algebra/sparse/csLeaf.js +6 -6
- package/lib/cjs/function/algebra/sparse/csLu.js +43 -41
- package/lib/cjs/function/algebra/sparse/csPermute.js +15 -15
- package/lib/cjs/function/algebra/sparse/csPost.js +7 -7
- package/lib/cjs/function/algebra/sparse/csReach.js +8 -8
- package/lib/cjs/function/algebra/sparse/csSpsolve.js +22 -20
- package/lib/cjs/function/algebra/sparse/csSqr.js +36 -34
- package/lib/cjs/function/algebra/sparse/csSymperm.js +18 -16
- package/lib/cjs/function/algebra/sparse/csTdfs.js +3 -3
- package/lib/cjs/function/algebra/sylvester.js +57 -59
- package/lib/cjs/function/algebra/symbolicEqual.js +12 -10
- package/lib/cjs/function/arithmetic/abs.js +11 -14
- package/lib/cjs/function/arithmetic/add.js +33 -33
- package/lib/cjs/function/arithmetic/addScalar.js +27 -24
- package/lib/cjs/function/arithmetic/cbrt.js +24 -22
- package/lib/cjs/function/arithmetic/ceil.js +68 -85
- package/lib/cjs/function/arithmetic/cube.js +15 -10
- package/lib/cjs/function/arithmetic/divide.js +24 -22
- package/lib/cjs/function/arithmetic/divideScalar.js +19 -18
- package/lib/cjs/function/arithmetic/dotDivide.js +29 -27
- package/lib/cjs/function/arithmetic/dotMultiply.js +23 -21
- package/lib/cjs/function/arithmetic/dotPow.js +29 -27
- package/lib/cjs/function/arithmetic/exp.js +8 -6
- package/lib/cjs/function/arithmetic/expm1.js +11 -9
- package/lib/cjs/function/arithmetic/fix.js +56 -62
- package/lib/cjs/function/arithmetic/floor.js +68 -85
- package/lib/cjs/function/arithmetic/gcd.js +54 -61
- package/lib/cjs/function/arithmetic/hypot.js +18 -18
- package/lib/cjs/function/arithmetic/invmod.js +16 -19
- package/lib/cjs/function/arithmetic/lcm.js +33 -35
- package/lib/cjs/function/arithmetic/log.js +15 -15
- package/lib/cjs/function/arithmetic/log10.js +15 -17
- package/lib/cjs/function/arithmetic/log1p.js +18 -22
- package/lib/cjs/function/arithmetic/log2.js +12 -14
- package/lib/cjs/function/arithmetic/mod.js +54 -42
- package/lib/cjs/function/arithmetic/multiply.js +200 -208
- package/lib/cjs/function/arithmetic/multiplyScalar.js +17 -16
- package/lib/cjs/function/arithmetic/norm.js +45 -43
- package/lib/cjs/function/arithmetic/nthRoot.js +68 -88
- package/lib/cjs/function/arithmetic/nthRoots.js +20 -18
- package/lib/cjs/function/arithmetic/pow.js +30 -27
- package/lib/cjs/function/arithmetic/round.js +85 -119
- package/lib/cjs/function/arithmetic/sign.js +25 -26
- package/lib/cjs/function/arithmetic/sqrt.js +11 -9
- package/lib/cjs/function/arithmetic/square.js +15 -10
- package/lib/cjs/function/arithmetic/subtract.js +32 -30
- package/lib/cjs/function/arithmetic/subtractScalar.js +27 -24
- package/lib/cjs/function/arithmetic/unaryMinus.js +15 -20
- package/lib/cjs/function/arithmetic/unaryPlus.js +24 -20
- package/lib/cjs/function/arithmetic/xgcd.js +21 -19
- package/lib/cjs/function/bitwise/bitAnd.js +27 -24
- package/lib/cjs/function/bitwise/bitNot.js +10 -11
- package/lib/cjs/function/bitwise/bitOr.js +27 -24
- package/lib/cjs/function/bitwise/bitXor.js +26 -23
- package/lib/cjs/function/bitwise/leftShift.js +62 -67
- package/lib/cjs/function/bitwise/rightArithShift.js +62 -67
- package/lib/cjs/function/bitwise/rightLogShift.js +58 -64
- package/lib/cjs/function/bitwise/useMatrixForArrayScalar.js +9 -23
- package/lib/cjs/function/combinatorics/bellNumbers.js +13 -11
- package/lib/cjs/function/combinatorics/catalan.js +13 -11
- package/lib/cjs/function/combinatorics/composition.js +13 -11
- package/lib/cjs/function/combinatorics/stirlingS2.js +30 -28
- package/lib/cjs/function/complex/arg.js +10 -12
- package/lib/cjs/function/complex/conj.js +9 -15
- package/lib/cjs/function/complex/im.js +10 -18
- package/lib/cjs/function/complex/re.js +9 -15
- package/lib/cjs/function/geometry/distance.js +42 -44
- package/lib/cjs/function/geometry/intersect.js +66 -66
- package/lib/cjs/function/logical/and.js +66 -79
- package/lib/cjs/function/logical/not.js +13 -20
- package/lib/cjs/function/logical/or.js +28 -29
- package/lib/cjs/function/logical/xor.js +27 -28
- package/lib/cjs/function/matrix/apply.js +15 -13
- package/lib/cjs/function/matrix/column.js +13 -11
- package/lib/cjs/function/matrix/concat.js +20 -18
- package/lib/cjs/function/matrix/count.js +10 -8
- package/lib/cjs/function/matrix/cross.js +16 -14
- package/lib/cjs/function/matrix/ctranspose.js +9 -7
- package/lib/cjs/function/matrix/det.js +27 -27
- package/lib/cjs/function/matrix/diag.js +30 -28
- package/lib/cjs/function/matrix/diff.js +23 -29
- package/lib/cjs/function/matrix/dot.js +48 -46
- package/lib/cjs/function/matrix/eigs/complexEigs.js +184 -227
- package/lib/cjs/function/matrix/eigs/realSymmetric.js +128 -128
- package/lib/cjs/function/matrix/eigs.js +128 -124
- package/lib/cjs/function/matrix/expm.js +45 -43
- package/lib/cjs/function/matrix/fft.js +44 -62
- package/lib/cjs/function/matrix/filter.js +8 -6
- package/lib/cjs/function/matrix/flatten.js +10 -8
- package/lib/cjs/function/matrix/forEach.js +8 -6
- package/lib/cjs/function/matrix/getMatrixDataType.js +8 -6
- package/lib/cjs/function/matrix/identity.js +29 -27
- package/lib/cjs/function/matrix/ifft.js +12 -12
- package/lib/cjs/function/matrix/inv.js +30 -28
- package/lib/cjs/function/matrix/kron.js +13 -11
- package/lib/cjs/function/matrix/map.js +8 -6
- package/lib/cjs/function/matrix/matrixFromColumns.js +25 -37
- package/lib/cjs/function/matrix/matrixFromFunction.js +16 -14
- package/lib/cjs/function/matrix/matrixFromRows.js +20 -32
- package/lib/cjs/function/matrix/ones.js +21 -19
- package/lib/cjs/function/matrix/partitionSelect.js +21 -21
- package/lib/cjs/function/matrix/pinv.js +45 -50
- package/lib/cjs/function/matrix/range.js +34 -32
- package/lib/cjs/function/matrix/reshape.js +9 -7
- package/lib/cjs/function/matrix/resize.js +12 -10
- package/lib/cjs/function/matrix/rotate.js +18 -16
- package/lib/cjs/function/matrix/rotationMatrix.js +56 -56
- package/lib/cjs/function/matrix/row.js +13 -11
- package/lib/cjs/function/matrix/size.js +11 -9
- package/lib/cjs/function/matrix/sort.js +17 -17
- package/lib/cjs/function/matrix/sqrtm.js +27 -25
- package/lib/cjs/function/matrix/squeeze.js +11 -9
- package/lib/cjs/function/matrix/subset.js +29 -29
- package/lib/cjs/function/matrix/trace.js +26 -24
- package/lib/cjs/function/matrix/transpose.js +30 -30
- package/lib/cjs/function/matrix/zeros.js +21 -19
- package/lib/cjs/function/numeric/solveODE.js +92 -117
- package/lib/cjs/function/probability/combinations.js +11 -9
- package/lib/cjs/function/probability/combinationsWithRep.js +15 -13
- package/lib/cjs/function/probability/factorial.js +10 -12
- package/lib/cjs/function/probability/gamma.js +33 -31
- package/lib/cjs/function/probability/kldivergence.js +25 -25
- package/lib/cjs/function/probability/lgamma.js +31 -29
- package/lib/cjs/function/probability/multinomial.js +15 -13
- package/lib/cjs/function/probability/permutations.js +11 -9
- package/lib/cjs/function/probability/pickRandom.js +37 -34
- package/lib/cjs/function/probability/random.js +27 -43
- package/lib/cjs/function/probability/randomInt.js +16 -28
- package/lib/cjs/function/probability/util/randomMatrix.js +3 -3
- package/lib/cjs/function/probability/util/seededRNG.js +3 -3
- package/lib/cjs/function/relational/compare.js +48 -41
- package/lib/cjs/function/relational/compareNatural.js +26 -24
- package/lib/cjs/function/relational/compareText.js +16 -12
- package/lib/cjs/function/relational/compareUnits.js +9 -9
- package/lib/cjs/function/relational/deepEqual.js +10 -8
- package/lib/cjs/function/relational/equal.js +33 -29
- package/lib/cjs/function/relational/equalScalar.js +29 -22
- package/lib/cjs/function/relational/equalText.js +9 -7
- package/lib/cjs/function/relational/larger.js +42 -41
- package/lib/cjs/function/relational/largerEq.js +43 -40
- package/lib/cjs/function/relational/smaller.js +42 -41
- package/lib/cjs/function/relational/smallerEq.js +42 -41
- package/lib/cjs/function/relational/unequal.js +32 -28
- package/lib/cjs/function/set/setCartesian.js +17 -15
- package/lib/cjs/function/set/setDifference.js +18 -16
- package/lib/cjs/function/set/setDistinct.js +15 -13
- package/lib/cjs/function/set/setIntersect.js +17 -15
- package/lib/cjs/function/set/setIsSubset.js +16 -14
- package/lib/cjs/function/set/setMultiplicity.js +14 -12
- package/lib/cjs/function/set/setPowerset.js +19 -17
- package/lib/cjs/function/set/setSize.js +12 -10
- package/lib/cjs/function/set/setSymDifference.js +14 -12
- package/lib/cjs/function/set/setUnion.js +15 -13
- package/lib/cjs/function/signal/freqz.js +46 -41
- package/lib/cjs/function/signal/zpk2tf.js +29 -35
- package/lib/cjs/function/special/erf.js +30 -32
- package/lib/cjs/function/special/zeta.js +37 -53
- package/lib/cjs/function/statistics/corr.js +27 -31
- package/lib/cjs/function/statistics/cumsum.js +16 -14
- package/lib/cjs/function/statistics/mad.js +12 -10
- package/lib/cjs/function/statistics/max.js +14 -11
- package/lib/cjs/function/statistics/mean.js +13 -11
- package/lib/cjs/function/statistics/median.js +22 -20
- package/lib/cjs/function/statistics/min.js +14 -11
- package/lib/cjs/function/statistics/mode.js +15 -13
- package/lib/cjs/function/statistics/prod.js +14 -11
- package/lib/cjs/function/statistics/quantileSeq.js +44 -56
- package/lib/cjs/function/statistics/std.js +11 -9
- package/lib/cjs/function/statistics/sum.js +14 -11
- package/lib/cjs/function/statistics/utils/improveErrorMessage.js +1 -1
- package/lib/cjs/function/statistics/variance.js +22 -22
- package/lib/cjs/function/string/bin.js +10 -8
- package/lib/cjs/function/string/format.js +6 -4
- package/lib/cjs/function/string/hex.js +10 -8
- package/lib/cjs/function/string/oct.js +10 -8
- package/lib/cjs/function/string/print.js +9 -7
- package/lib/cjs/function/trigonometry/acos.js +11 -9
- package/lib/cjs/function/trigonometry/acosh.js +11 -9
- package/lib/cjs/function/trigonometry/acot.js +10 -8
- package/lib/cjs/function/trigonometry/acoth.js +13 -11
- package/lib/cjs/function/trigonometry/acsc.js +13 -11
- package/lib/cjs/function/trigonometry/acsch.js +10 -8
- package/lib/cjs/function/trigonometry/asec.js +13 -11
- package/lib/cjs/function/trigonometry/asech.js +15 -13
- package/lib/cjs/function/trigonometry/asin.js +11 -9
- package/lib/cjs/function/trigonometry/asinh.js +8 -6
- package/lib/cjs/function/trigonometry/atan.js +9 -7
- package/lib/cjs/function/trigonometry/atan2.js +30 -30
- package/lib/cjs/function/trigonometry/atanh.js +11 -9
- package/lib/cjs/function/trigonometry/cos.js +9 -9
- package/lib/cjs/function/trigonometry/cosh.js +7 -7
- package/lib/cjs/function/trigonometry/cot.js +11 -13
- package/lib/cjs/function/trigonometry/coth.js +9 -11
- package/lib/cjs/function/trigonometry/csc.js +11 -13
- package/lib/cjs/function/trigonometry/csch.js +9 -11
- package/lib/cjs/function/trigonometry/sec.js +11 -13
- package/lib/cjs/function/trigonometry/sech.js +9 -11
- package/lib/cjs/function/trigonometry/sin.js +9 -9
- package/lib/cjs/function/trigonometry/sinh.js +7 -7
- package/lib/cjs/function/trigonometry/tan.js +9 -9
- package/lib/cjs/function/trigonometry/tanh.js +7 -7
- package/lib/cjs/function/trigonometry/trigUnit.js +9 -9
- package/lib/cjs/function/unit/to.js +13 -13
- package/lib/cjs/function/utils/clone.js +6 -4
- package/lib/cjs/function/utils/hasNumericValue.js +13 -11
- package/lib/cjs/function/utils/isInteger.js +13 -12
- package/lib/cjs/function/utils/isNaN.js +15 -14
- package/lib/cjs/function/utils/isNegative.js +18 -22
- package/lib/cjs/function/utils/isNumeric.js +11 -16
- package/lib/cjs/function/utils/isPositive.js +16 -22
- package/lib/cjs/function/utils/isPrime.js +38 -34
- package/lib/cjs/function/utils/isZero.js +12 -26
- package/lib/cjs/function/utils/numeric.js +22 -24
- package/lib/cjs/function/utils/typeOf.js +7 -4
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/json/replacer.js +9 -3
- package/lib/cjs/json/reviver.js +7 -5
- package/lib/cjs/number.js +1 -1
- package/lib/cjs/plain/bignumber/arithmetic.js +2 -2
- package/lib/cjs/plain/bignumber/index.js +2 -2
- package/lib/cjs/plain/number/arithmetic.js +17 -17
- package/lib/cjs/plain/number/bitwise.js +2 -2
- package/lib/cjs/plain/number/combinations.js +6 -6
- package/lib/cjs/plain/number/constants.js +4 -4
- package/lib/cjs/plain/number/index.js +9 -9
- package/lib/cjs/plain/number/logical.js +2 -2
- package/lib/cjs/plain/number/probability.js +16 -16
- package/lib/cjs/plain/number/trigonometry.js +6 -6
- package/lib/cjs/plain/number/utils.js +1 -1
- package/lib/cjs/type/bigint.js +71 -0
- package/lib/cjs/type/bignumber/BigNumber.js +9 -7
- package/lib/cjs/type/bignumber/function/bignumber.js +29 -30
- package/lib/cjs/type/boolean.js +15 -17
- package/lib/cjs/type/chain/Chain.js +17 -20
- package/lib/cjs/type/chain/function/chain.js +9 -7
- package/lib/cjs/type/complex/Complex.js +31 -32
- package/lib/cjs/type/complex/function/complex.js +17 -19
- package/lib/cjs/type/fraction/Fraction.js +11 -11
- package/lib/cjs/type/fraction/function/fraction.js +23 -24
- package/lib/cjs/type/matrix/DenseMatrix.js +94 -146
- package/lib/cjs/type/matrix/FibonacciHeap.js +29 -27
- package/lib/cjs/type/matrix/ImmutableDenseMatrix.js +11 -9
- package/lib/cjs/type/matrix/Matrix.js +3 -3
- package/lib/cjs/type/matrix/MatrixIndex.js +35 -33
- package/lib/cjs/type/matrix/Range.js +23 -23
- package/lib/cjs/type/matrix/Spa.js +20 -18
- package/lib/cjs/type/matrix/SparseMatrix.js +217 -246
- package/lib/cjs/type/matrix/function/index.js +10 -8
- package/lib/cjs/type/matrix/function/matrix.js +14 -12
- package/lib/cjs/type/matrix/function/sparse.js +11 -9
- package/lib/cjs/type/matrix/utils/broadcast.js +34 -66
- package/lib/cjs/type/matrix/utils/matAlgo01xDSid.js +24 -22
- package/lib/cjs/type/matrix/utils/matAlgo02xDS0.js +28 -26
- package/lib/cjs/type/matrix/utils/matAlgo03xDSf.js +28 -26
- package/lib/cjs/type/matrix/utils/matAlgo04xSidSid.js +33 -31
- package/lib/cjs/type/matrix/utils/matAlgo05xSfSf.js +37 -35
- package/lib/cjs/type/matrix/utils/matAlgo06xS0S0.js +32 -30
- package/lib/cjs/type/matrix/utils/matAlgo07xSSf.js +30 -28
- package/lib/cjs/type/matrix/utils/matAlgo08xS0Sid.js +32 -30
- package/lib/cjs/type/matrix/utils/matAlgo09xS0Sf.js +32 -30
- package/lib/cjs/type/matrix/utils/matAlgo10xSids.js +24 -22
- package/lib/cjs/type/matrix/utils/matAlgo11xS0s.js +25 -23
- package/lib/cjs/type/matrix/utils/matAlgo12xSfs.js +24 -22
- package/lib/cjs/type/matrix/utils/matAlgo13xDD.js +20 -18
- package/lib/cjs/type/matrix/utils/matAlgo14xDs.js +15 -13
- package/lib/cjs/type/matrix/utils/matrixAlgorithmSuite.js +62 -126
- package/lib/cjs/type/number.js +44 -45
- package/lib/cjs/type/resultset/ResultSet.js +3 -3
- package/lib/cjs/type/string.js +12 -14
- package/lib/cjs/type/unit/Unit.js +272 -279
- package/lib/cjs/type/unit/function/createUnit.js +15 -13
- package/lib/cjs/type/unit/function/splitUnit.js +7 -5
- package/lib/cjs/type/unit/function/unit.js +12 -14
- package/lib/cjs/type/unit/physicalConstants.js +66 -62
- package/lib/cjs/utils/applyCallback.js +13 -13
- package/lib/cjs/utils/array.js +89 -96
- package/lib/cjs/utils/bignumber/bitwise.js +44 -44
- package/lib/cjs/utils/bignumber/constants.js +8 -8
- package/lib/cjs/utils/bignumber/formatter.js +26 -25
- package/lib/cjs/utils/bignumber/nearlyEqual.js +29 -31
- package/lib/cjs/utils/collection.js +9 -9
- package/lib/cjs/utils/complex.js +8 -7
- package/lib/cjs/utils/customs.js +5 -9
- package/lib/cjs/utils/emitter.js +1 -1
- package/lib/cjs/utils/factory.js +13 -27
- package/lib/cjs/utils/function.js +19 -20
- package/lib/cjs/utils/is.js +11 -9
- package/lib/cjs/utils/latex.js +48 -44
- package/lib/cjs/utils/log.js +5 -6
- package/lib/cjs/utils/lruQueue.js +12 -12
- package/lib/cjs/utils/map.js +84 -180
- package/lib/cjs/utils/number.js +152 -111
- package/lib/cjs/utils/object.js +35 -37
- package/lib/cjs/utils/print.js +1 -1
- package/lib/cjs/utils/product.js +1 -1
- package/lib/cjs/utils/snapshot.js +84 -75
- package/lib/cjs/utils/string.js +16 -18
- package/lib/cjs/utils/switch.js +5 -5
- package/lib/cjs/version.js +1 -1
- package/lib/esm/core/config.js +8 -2
- package/lib/esm/core/create.js +6 -2
- package/lib/esm/core/function/config.js +19 -7
- package/lib/esm/core/function/import.js +1 -1
- package/lib/esm/core/function/typed.js +48 -2
- package/lib/esm/entry/dependenciesAny/dependenciesBigint.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIsZero.generated.js +2 -0
- package/lib/esm/entry/dependenciesAny/dependenciesUnaryPlus.generated.js +2 -2
- package/lib/esm/entry/dependenciesAny.generated.js +1 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesBigint.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber.generated.js +1 -0
- package/lib/esm/entry/impureFunctionsAny.generated.js +6 -5
- package/lib/esm/entry/impureFunctionsNumber.generated.js +6 -5
- package/lib/esm/entry/pureFunctionsAny.generated.js +21 -15
- package/lib/esm/entry/pureFunctionsNumber.generated.js +8 -5
- package/lib/esm/entry/typeChecks.js +1 -1
- package/lib/esm/expression/embeddedDocs/construction/bigint.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/bignumber.js +1 -1
- package/lib/esm/expression/embeddedDocs/construction/number.js +1 -1
- package/lib/esm/expression/embeddedDocs/embeddedDocs.js +2 -0
- package/lib/esm/expression/embeddedDocs/function/utils/numeric.js +3 -3
- package/lib/esm/expression/node/ConstantNode.js +6 -1
- package/lib/esm/expression/parse.js +4 -1
- package/lib/esm/factoriesAny.js +1 -0
- package/lib/esm/factoriesNumber.js +1 -0
- package/lib/esm/function/algebra/derivative.js +2 -1
- package/lib/esm/function/algebra/simplifyConstant.js +17 -2
- package/lib/esm/function/arithmetic/abs.js +3 -2
- package/lib/esm/function/arithmetic/add.js +3 -3
- package/lib/esm/function/arithmetic/addScalar.js +6 -3
- package/lib/esm/function/arithmetic/ceil.js +4 -4
- package/lib/esm/function/arithmetic/cube.js +5 -2
- package/lib/esm/function/arithmetic/divide.js +3 -3
- package/lib/esm/function/arithmetic/divideScalar.js +6 -3
- package/lib/esm/function/arithmetic/floor.js +4 -4
- package/lib/esm/function/arithmetic/mod.js +13 -3
- package/lib/esm/function/arithmetic/multiply.js +3 -3
- package/lib/esm/function/arithmetic/multiplyScalar.js +6 -3
- package/lib/esm/function/arithmetic/pow.js +4 -3
- package/lib/esm/function/arithmetic/round.js +12 -12
- package/lib/esm/function/arithmetic/sign.js +5 -2
- package/lib/esm/function/arithmetic/square.js +5 -2
- package/lib/esm/function/arithmetic/subtract.js +3 -3
- package/lib/esm/function/arithmetic/subtractScalar.js +6 -3
- package/lib/esm/function/arithmetic/unaryMinus.js +3 -2
- package/lib/esm/function/arithmetic/unaryPlus.js +13 -7
- package/lib/esm/function/bitwise/bitAnd.js +5 -4
- package/lib/esm/function/bitwise/bitNot.js +3 -2
- package/lib/esm/function/bitwise/bitOr.js +5 -4
- package/lib/esm/function/bitwise/bitXor.js +5 -4
- package/lib/esm/function/bitwise/leftShift.js +4 -3
- package/lib/esm/function/bitwise/rightArithShift.js +4 -3
- package/lib/esm/function/geometry/intersect.js +1 -1
- package/lib/esm/function/logical/and.js +3 -2
- package/lib/esm/function/logical/not.js +2 -1
- package/lib/esm/function/logical/or.js +3 -2
- package/lib/esm/function/logical/xor.js +3 -2
- package/lib/esm/function/matrix/eigs/realSymmetric.js +3 -3
- package/lib/esm/function/matrix/eigs.js +2 -2
- package/lib/esm/function/relational/compare.js +9 -6
- package/lib/esm/function/relational/compareNatural.js +1 -1
- package/lib/esm/function/relational/equal.js +3 -3
- package/lib/esm/function/relational/equalScalar.js +9 -6
- package/lib/esm/function/relational/larger.js +6 -5
- package/lib/esm/function/relational/largerEq.js +8 -5
- package/lib/esm/function/relational/smaller.js +6 -5
- package/lib/esm/function/relational/smallerEq.js +6 -5
- package/lib/esm/function/relational/unequal.js +1 -1
- package/lib/esm/function/special/zeta.js +2 -2
- package/lib/esm/function/statistics/max.js +2 -1
- package/lib/esm/function/statistics/min.js +2 -1
- package/lib/esm/function/statistics/prod.js +2 -1
- package/lib/esm/function/statistics/sum.js +2 -1
- package/lib/esm/function/utils/hasNumericValue.js +3 -1
- package/lib/esm/function/utils/isInteger.js +4 -1
- package/lib/esm/function/utils/isNaN.js +4 -1
- package/lib/esm/function/utils/isNegative.js +12 -10
- package/lib/esm/function/utils/isNumeric.js +3 -2
- package/lib/esm/function/utils/isPositive.js +10 -10
- package/lib/esm/function/utils/isPrime.js +14 -6
- package/lib/esm/function/utils/isZero.js +6 -14
- package/lib/esm/function/utils/numeric.js +6 -4
- package/lib/esm/function/utils/typeOf.js +1 -0
- package/lib/esm/json/replacer.js +6 -0
- package/lib/esm/type/bigint.js +65 -0
- package/lib/esm/type/bignumber/function/bignumber.js +5 -2
- package/lib/esm/type/fraction/function/fraction.js +4 -1
- package/lib/esm/type/matrix/utils/broadcast.js +34 -63
- package/lib/esm/type/matrix/utils/matrixAlgorithmSuite.js +3 -7
- package/lib/esm/type/number.js +4 -1
- package/lib/esm/utils/bignumber/nearlyEqual.js +29 -31
- package/lib/esm/utils/complex.js +8 -7
- package/lib/esm/utils/is.js +3 -0
- package/lib/esm/utils/latex.js +4 -0
- package/lib/esm/utils/number.js +64 -26
- package/lib/esm/utils/object.js +1 -1
- package/lib/esm/version.js +1 -1
- package/package.json +30 -38
- package/types/index.d.ts +218 -75
- package/dist/math.js +0 -3
- package/dist/math.min.js +0 -3
- package/dist/package.json +0 -3
- package/main/es5/index.js +0 -3
- package/main/es5/number.js +0 -3
- package/main/es5/package.json +0 -3
- package/main/esm/index.js +0 -3
- package/main/esm/number.js +0 -3
- package/main/esm/package.json +0 -3
- package/number.cjs +0 -3
package/HISTORY.md
CHANGED
@@ -1,5 +1,33 @@
|
|
1
1
|
# History
|
2
2
|
|
3
|
+
# 2024-06-28, 13.0.1
|
4
|
+
|
5
|
+
- Fix: #3227 generated bundle containing `catch` blocks without parameters.
|
6
|
+
- Fix: #2348 update type definitions of the `Parser` methods (#3226).
|
7
|
+
Thanks @orelbn.
|
8
|
+
- Fix an error in the type definitions of `quantileSeq` (#3223).
|
9
|
+
Thanks @domdomegg.
|
10
|
+
|
11
|
+
# 2024-05-31, 13.0.0
|
12
|
+
|
13
|
+
Breaking changes:
|
14
|
+
|
15
|
+
- Change `isZero`, `isPositive`, and `isNegative` to respect `config.epsilon`
|
16
|
+
(#3139, #2838).
|
17
|
+
- Change the behavior of the internal `nearlyEqual` to align with Python and
|
18
|
+
Julia (#3152, #2838)
|
19
|
+
- Upgrade to `fraction.js@4.3.7`,
|
20
|
+
see <https://github.com/rawify/Fraction.js/issues/68>.
|
21
|
+
- Dropped support for JavaScript engines that do not fully support ES6 or
|
22
|
+
`bigint`, or are not actively maintained.
|
23
|
+
|
24
|
+
Non-breaking changes:
|
25
|
+
|
26
|
+
- Implemented support for `bigint` (#3207, #3207)
|
27
|
+
- Implemented a new config option `config.numberFallback` needed for `bigint`
|
28
|
+
(#3207).
|
29
|
+
- Internal: refactored tooling to ES modules and upgraded all devDependencies.
|
30
|
+
|
3
31
|
# 2024-05-31, 12.4.3
|
4
32
|
|
5
33
|
- Fix: serialization of Units without a value, see #1240.
|
@@ -7,17 +35,15 @@
|
|
7
35
|
operator modulus `%`. See #3189.
|
8
36
|
- Fix: #3197 improve `quantileSeq` type definitions (#3198). Thanks @domdomegg.
|
9
37
|
|
10
|
-
|
11
38
|
# 2024-04-24, 12.4.2
|
12
39
|
|
13
40
|
- Fix #3192: function `isNaN` returns `false` for `NaN` units in a matrix or
|
14
41
|
array (#3193). Thanks @lgerin.
|
15
42
|
- Fix: #3180 fix type definitions of functions `add` and `multiply` to allow
|
16
|
-
more than two arguments.
|
17
|
-
- Docs: correct the docs about `traverse` returning void (#3177).
|
43
|
+
more than two arguments.
|
44
|
+
- Docs: correct the docs about `traverse` returning void (#3177).
|
18
45
|
Thanks @rohildshah.
|
19
46
|
|
20
|
-
|
21
47
|
# 2024-03-13, 12.4.1
|
22
48
|
|
23
49
|
- Docs: implement an interactive version of the Lorenz example, and show the
|
@@ -30,79 +56,71 @@
|
|
30
56
|
- Fix: remove using polyfill.io inside the example
|
31
57
|
`pretty_printing_with_mathjax.html` (#3167). Thanks @SukkaW.
|
32
58
|
|
33
|
-
|
34
59
|
# 2024-02-22, 12.4.0
|
35
60
|
|
36
61
|
- Feat: implement support for trailing commas in matrices (#3154, #2968).
|
37
62
|
Thanks @dvd101x.
|
38
|
-
- Feat: improve the performance of `multiply` a lot by adding matrix type
|
63
|
+
- Feat: improve the performance of `multiply` a lot by adding matrix type
|
39
64
|
inferencing (#3149). Thanks @RandomGamingDev.
|
40
|
-
- Fix: #3100 function `round` not handling round-off errors (#3136).
|
65
|
+
- Fix: #3100 function `round` not handling round-off errors (#3136).
|
41
66
|
Thanks @BrianFugate.
|
42
|
-
- Fix: `PartitionedMap` and `ObjectWrappingMap` missing a property
|
67
|
+
- Fix: `PartitionedMap` and `ObjectWrappingMap` missing a property
|
43
68
|
`Symbol.iterator`, causing problems when trying `new Map(scope)` (#3156).
|
44
69
|
- Fix: type definitions of function `mode` (#3153). Thanks @rich-martinez.
|
45
70
|
- Docs: describe method `getAllAsMap` in the Parser docs (#3158, #3157).
|
46
71
|
Thanks @dvd101x.
|
47
72
|
|
48
|
-
|
49
73
|
# 2024-02-08, 12.3.2
|
50
74
|
|
51
75
|
- Improved the performance of custom defined functions in the expression
|
52
76
|
parser (#3150).
|
53
|
-
- Fix: #3143 cannot use `and` and `or` inside a function definition.
|
77
|
+
- Fix: #3143 cannot use `and` and `or` inside a function definition.
|
54
78
|
Regression since `v12.1.0` (#3150).
|
55
79
|
|
56
|
-
|
57
80
|
# 2024-02-01, 12.3.1
|
58
81
|
|
59
|
-
- Improved the typings of the arguments of `ArrayNode`, `FunctionNode`,
|
82
|
+
- Improved the typings of the arguments of `ArrayNode`, `FunctionNode`,
|
60
83
|
`IndexNode`, `OperatorNode`, and `RelationalNode` (#3123). Thanks @sylee957.
|
61
84
|
- Added a fully featured code editor example with CodeMirror and Katex (#3027).
|
62
85
|
Thanks @dvd101x.
|
63
|
-
- Fix: #3114 build warnings related to a number of wrong `/* #__PURE__ */`
|
86
|
+
- Fix: #3114 build warnings related to a number of wrong `/* #__PURE__ */`
|
64
87
|
annotations.
|
65
88
|
- Fix: #3142 support BigNumber values for the options of function `format`:
|
66
89
|
`precision`, `wordSize`, `lowerExp`, `upperExp`. Support BigNumber values
|
67
|
-
for the option `wordSize` in the functions `hex`, `bin`, and `oct`.
|
68
|
-
- Fix: #3125 type definitions of function `hypot` (#3144).
|
90
|
+
for the option `wordSize` in the functions `hex`, `bin`, and `oct`.
|
91
|
+
- Fix: #3125 type definitions of function `hypot` (#3144).
|
69
92
|
Thanks @silentmissile.
|
70
|
-
- Fix: #3141 `help(config)` altering the actual `config` when evaluating the
|
93
|
+
- Fix: #3141 `help(config)` altering the actual `config` when evaluating the
|
71
94
|
examples.
|
72
|
-
- Docs: #3145 fix documentation about REPL, it does require a build step
|
95
|
+
- Docs: #3145 fix documentation about REPL, it does require a build step
|
73
96
|
nowadays.
|
74
97
|
|
75
|
-
|
76
98
|
# 2024-01-12, 12.3.0
|
77
99
|
|
78
|
-
- Implement support new metric prefixes: `ronna` (`R`), `quetta` (`Q`),
|
100
|
+
- Implement support new metric prefixes: `ronna` (`R`), `quetta` (`Q`),
|
79
101
|
`ronto` (`r`), and `quecto` (`q`) (#3113, #3112). Thanks @AlexEdgcomb.
|
80
102
|
- Fix a bug converting a unitless unit (#3117). Thanks @costerwi.
|
81
103
|
- Fix: #3097 `toSI()` wrongly converting `degC` (#3118). Thanks @costerwi.
|
82
104
|
|
83
|
-
|
84
105
|
# 2023-12-20, 12.2.1
|
85
106
|
|
86
107
|
- Fix #3109: method `Node.toHTML` not accepting a custom `handler`.
|
87
108
|
|
88
|
-
|
89
109
|
# 2023-12-08, 12.2.0
|
90
110
|
|
91
|
-
- Feat: lazy evaluation of operators `and`, `or`, `&`, `|` (#3090, #3101,
|
111
|
+
- Feat: lazy evaluation of operators `and`, `or`, `&`, `|` (#3090, #3101,
|
92
112
|
#2766). Thanks @smith120bh.
|
93
113
|
- Fix: passing a 4th argument with a scope to raw functions.
|
94
114
|
- Fix: #3096 embedded docs of eigs throwing an error.
|
95
115
|
|
96
|
-
|
97
116
|
# 2023-11-17, 12.1.0
|
98
117
|
|
99
|
-
- Feat: Extend function `round` with support for units (#2761, #3095).
|
118
|
+
- Feat: Extend function `round` with support for units (#2761, #3095).
|
100
119
|
- Feat: Extend function `mod` with support for negative divisors in when
|
101
120
|
using `BigNumber` or `Fraction` (#3087).
|
102
121
|
- Fix: #3092 a typo in an error message when converting a string into a number.
|
103
122
|
- Fix: #3094 function `derivative` mutates the input expression when it fails.
|
104
123
|
|
105
|
-
|
106
124
|
# 2023-10-26, 12.0.0
|
107
125
|
|
108
126
|
Breaking changes:
|
@@ -110,11 +128,14 @@ Breaking changes:
|
|
110
128
|
- Fix #2879, #2927, #3014: change the confusing interface of `eigs` (#3037),
|
111
129
|
thanks @gwhitney.
|
112
130
|
Before, functions `eigs` returned an object:
|
131
|
+
|
113
132
|
```
|
114
133
|
{ values: MathCollection; vectors: MathCollection }
|
115
134
|
```
|
135
|
+
|
116
136
|
where `vectors` was a 2d matrix of which the columns contained the vectors.
|
117
137
|
This is changed to `eigs` returning an object:
|
138
|
+
|
118
139
|
```
|
119
140
|
{
|
120
141
|
values: MathCollection
|
@@ -124,27 +145,27 @@ Breaking changes:
|
|
124
145
|
}>
|
125
146
|
}
|
126
147
|
```
|
148
|
+
|
127
149
|
Where `eigenvectors` is an array containing an object with the corresponding
|
128
150
|
eigenvalue and vector.
|
129
151
|
- Refactored the TypeScript type definitions to make them work with a `NodeNext`
|
130
|
-
module resolution (#3079, #2919).
|
152
|
+
module resolution (#3079, #2919).
|
131
153
|
- Type `MathJsStatic` is renamed to `MathJsInstance`.
|
132
|
-
- Type `FactoryDependencies` is deprecated, use `MathJsFactory` instead, and
|
154
|
+
- Type `FactoryDependencies` is deprecated, use `MathJsFactory` instead, and
|
133
155
|
import dependency maps directly from the library.
|
134
|
-
- Change the assignment operator of `.toTex()` output from `:=` to `=` (see
|
156
|
+
- Change the assignment operator of `.toTex()` output from `:=` to `=` (see
|
135
157
|
#2980, #2987).
|
136
158
|
- Drop official support for Node.js 14 and 16.
|
137
159
|
|
138
160
|
Features:
|
139
161
|
|
140
|
-
- Function `eigs` now has an option to turn off calculation of eigenvectors
|
162
|
+
- Function `eigs` now has an option to turn off calculation of eigenvectors
|
141
163
|
(#3057, #2180). Thanks @gwhitney.
|
142
164
|
|
143
165
|
Fixes:
|
144
166
|
|
145
167
|
- Find eigenvectors of defective matrices (#3037). Thanks @gwhitney.
|
146
168
|
|
147
|
-
|
148
169
|
# 2023-10-26, 11.12.0
|
149
170
|
|
150
171
|
- Implemented function `subtractScalar` (#3081, #2643), thanks @vrushaket.
|
@@ -155,64 +176,57 @@ Fixes:
|
|
155
176
|
- Fix: #2960 add type definition of function `symbolicEqual` (#3035),
|
156
177
|
thanks @juancodeaudio.
|
157
178
|
|
158
|
-
|
159
179
|
# 2023-10-11, 11.11.2
|
160
180
|
|
161
|
-
- Fix #3025: improve handling of matrices and error handling
|
181
|
+
- Fix #3025: improve handling of matrices and error handling
|
162
182
|
in function `corr` (#3030). Thanks @vrushaket.
|
163
183
|
- Fix #3074: improve error message when using function `max` in `derivative`.
|
164
184
|
- Fix #3073: fix parsing quotes inside a string.
|
165
|
-
- Fix #2027: cannot use named operators like `to` or `mod` as property name.
|
166
|
-
|
185
|
+
- Fix #2027: cannot use named operators like `to` or `mod` as property name.
|
167
186
|
|
168
187
|
# 2023-09-20, 11.11.1
|
169
188
|
|
170
|
-
- Fix #2989: use one-based indices in `print` in the parser (#3009).
|
171
|
-
Thanks @dvd101x.
|
189
|
+
- Fix #2989: use one-based indices in `print` in the parser (#3009).
|
190
|
+
Thanks @dvd101x.
|
172
191
|
- Fix #2936: `mod` sometimes giving wrong results due to internal round-off
|
173
192
|
errors (#3011). Thanks @praisennamonu1.
|
174
|
-
- Internal refactor of `quantileSeq`, and fixed the embedded help (#3003).
|
193
|
+
- Internal refactor of `quantileSeq`, and fixed the embedded help (#3003).
|
175
194
|
Thanks @dvd101x.
|
176
195
|
- Updated dependencies and devDependencies.
|
177
196
|
|
178
|
-
|
179
197
|
# 2023-09-05, 11.11.0
|
180
198
|
|
181
199
|
- Implement function `corr` to calculate the correlation between two matrices
|
182
|
-
(#3015, #2624). Thanks @vrushaket.
|
183
|
-
- Lock `fraction.js` at version `4.3.4` for now, see #3024, 3022,
|
184
|
-
https://github.com/rawify/Fraction.js/issues/68
|
185
|
-
|
200
|
+
(#3015, #2624). Thanks @vrushaket.
|
201
|
+
- Lock `fraction.js` at version `4.3.4` for now, see #3024, 3022,
|
202
|
+
<https://github.com/rawify/Fraction.js/issues/68>.
|
186
203
|
|
187
204
|
# 2023-08-31, 11.10.1
|
188
205
|
|
189
206
|
- Upgrade to `fraction.js@4.3.4`, see #3022.
|
190
|
-
- Fix #3020: `lruQueue` using the global `hasOwnProperty` which may be
|
207
|
+
- Fix #3020: `lruQueue` using the global `hasOwnProperty` which may be
|
191
208
|
polluted.
|
192
209
|
- Add support for prefixes for the unit `erg`, and restrict prefixes of the
|
193
|
-
unit `joule` to only long prefixes like `kilo` and no short prefixes
|
210
|
+
unit `joule` to only long prefixes like `kilo` and no short prefixes
|
194
211
|
like `k` (#3019). Thanks @costerwi.
|
195
212
|
- Add a new browser example `examples/browser/lorenz.html` that uses `solveODE`
|
196
213
|
and plots the result in a chart (#3018). Thanks @dvd101x.
|
197
214
|
|
198
|
-
|
199
215
|
# 2023-08-23, 11.10.0
|
200
216
|
|
201
217
|
- Extend function `quantileSeq` with support for a `dimension` (#3002).
|
202
218
|
Thanks @dvd101x.
|
203
|
-
- Implement #2735: Support indexing with an array of booleans, for
|
219
|
+
- Implement #2735: Support indexing with an array of booleans, for
|
204
220
|
example `a[[true, false, true]]` and `a[a > 2]` (#2994). Thanks @dvd101x.
|
205
221
|
- Implement function `zeta` (#2950, #2975, #2904). Thanks @Bobingstern.
|
206
222
|
- Fix #2990: `DenseMatrix` can mutate input arrays (#2991).
|
207
223
|
|
208
|
-
|
209
224
|
# 2023-07-24, 11.9.1
|
210
225
|
|
211
226
|
- Fix a security vulnerability in `FunctionNode` and `SymbolNode` allowing
|
212
227
|
arbitrary code execution via `math.evaluate`. Thanks Harry Chen.
|
213
228
|
- Fix #3001: mathjs bundle containing `new Function(...)` (CSP issue).
|
214
229
|
|
215
|
-
|
216
230
|
# 2023-07-19, 11.9.0
|
217
231
|
|
218
232
|
- Implement function `solveODE` (#2958). Thanks @dvd101x.
|
@@ -220,30 +234,28 @@ Fixes:
|
|
220
234
|
- Implement support for units in function `range` (#2997). Thanks @dvd101x.
|
221
235
|
- Fix #2974: `simplify` puts plus and minus signs next to each other (#2981).
|
222
236
|
Thanks @MaybePixem.
|
223
|
-
- Fix #2973: fixes and improvements in the embedded docs (#2976).
|
237
|
+
- Fix #2973: fixes and improvements in the embedded docs (#2976).
|
224
238
|
Thanks @dvd101x.
|
225
|
-
- Fix #2996: two errors in the examples in the documentation about Expression
|
239
|
+
- Fix #2996: two errors in the examples in the documentation about Expression
|
226
240
|
trees.
|
227
|
-
- Fix round-off errors near zero when converting temperatures (#2962).
|
241
|
+
- Fix round-off errors near zero when converting temperatures (#2962).
|
228
242
|
Thanks @costerwi.
|
229
243
|
- Refactored function `range`, reducing the amount of code (#2995).
|
230
244
|
Thanks @dvd101x.
|
231
245
|
|
232
|
-
|
233
246
|
# 2023-06-20, 11.8.2
|
234
247
|
|
235
|
-
- Fix #2971: improve typings of statistics functions `min`, `max`, `mean`,
|
236
|
-
`median`, `mode`, `std`, `sum`, `prod`, `variance`. Fixes a regression
|
248
|
+
- Fix #2971: improve typings of statistics functions `min`, `max`, `mean`,
|
249
|
+
`median`, `mode`, `std`, `sum`, `prod`, `variance`. Fixes a regression
|
237
250
|
introduced in v11.8.1.
|
238
251
|
- Fix #2972: type definitions of `Unit.divide(Unit)` have a wrong return type.
|
239
252
|
|
240
|
-
|
241
253
|
# 2023-06-13, 11.8.1
|
242
254
|
|
243
|
-
- Fix #2964: issue in function `
|
244
|
-
a point to a line (#2965). Thanks @Kiku-CN.
|
255
|
+
- Fix #2964: issue in function `distance` when calculate the distance from
|
256
|
+
a point to a line (#2965). Thanks @Kiku-CN.
|
245
257
|
- Fix `math.format` not working correctly for `engineering` notation when using
|
246
|
-
BigNumbers and for `fixed` notation with `precision: 0` configured (#2956).
|
258
|
+
BigNumbers and for `fixed` notation with `precision: 0` configured (#2956).
|
247
259
|
Thanks @mgreminger.
|
248
260
|
- Fix #2880: not possible to map cube root `cbrt`.
|
249
261
|
- Fix #2938: make the syntax description of all functions consistent in the
|
@@ -253,72 +265,67 @@ Fixes:
|
|
253
265
|
- Fix #2959: typo in an example in the docs. Thanks @kunalagrwl.
|
254
266
|
- Drop official support for Node.js 14, has reached end of life.
|
255
267
|
|
256
|
-
|
257
268
|
# 2023-04-03, 11.8.0
|
258
269
|
|
259
|
-
- Extended functions `fraction`, `bignumber`, and `number` with support for
|
270
|
+
- Extended functions `fraction`, `bignumber`, and `number` with support for
|
260
271
|
units, see #2918 (#2926).
|
261
|
-
- Implemented aliases `amp` and `amps` for unit `ampere` (#2917).
|
272
|
+
- Implemented aliases `amp` and `amps` for unit `ampere` (#2917).
|
262
273
|
Thanks @veggiesaurus.
|
263
274
|
- Improve TypeScript definitions of function `gcd` (#2922). Thanks @brunoSnoww.
|
264
275
|
- Fix #2923: improve docs of the function `distance` (#2924). Thanks @tmtron.
|
265
276
|
|
266
|
-
|
267
277
|
# 2023-03-15, 11.7.0
|
268
278
|
|
269
|
-
- Implement #2567: accept array as parameter for function `gcd` (#2878).
|
279
|
+
- Implement #2567: accept array as parameter for function `gcd` (#2878).
|
270
280
|
Thanks @jakubriegel.
|
271
|
-
- Fix #2908: improvements in the docs and examples of functions
|
272
|
-
`partitionSelect`, `diff`, `expm1`, `round`, `nthRoots`, `sign`,
|
281
|
+
- Fix #2908: improvements in the docs and examples of functions
|
282
|
+
`partitionSelect`, `diff`, `expm1`, `round`, `nthRoots`, `sign`,
|
273
283
|
`rigthArithShift`, `setIsSubset`, `setSize`, and the docs about units.
|
274
284
|
Thanks @tmtron.
|
275
285
|
- Fix #2907: determinant of empty matrix should be 1.
|
276
|
-
- Refactor index.d.ts by writing function declarations using a generic,
|
286
|
+
- Refactor index.d.ts by writing function declarations using a generic,
|
277
287
|
reducing a lot of repetition (#2913). Thanks @brunoSnoww.
|
278
288
|
|
279
|
-
|
280
289
|
# 2023-02-24, 11.6.0
|
281
290
|
|
282
291
|
- Implement broadcasting for the following functions and their corresponding
|
283
|
-
operator: `add`, `dotDivide`, `dotMultiply`, `dotPow`, `gcd`, `lcm`, `mod`,
|
284
|
-
`nthRoot`, `subtract`, `bitAnd`, `bitOr`, `bitXor`, `leftShift`,
|
285
|
-
`rightArithShift`, `rightLogShift`, `and`, `or`, `xor`, `compare`,
|
286
|
-
`compareText`, `equal`, `larger`, `largerEq`, `smaller`, `smallerEq`,
|
292
|
+
operator: `add`, `dotDivide`, `dotMultiply`, `dotPow`, `gcd`, `lcm`, `mod`,
|
293
|
+
`nthRoot`, `subtract`, `bitAnd`, `bitOr`, `bitXor`, `leftShift`,
|
294
|
+
`rightArithShift`, `rightLogShift`, `and`, `or`, `xor`, `compare`,
|
295
|
+
`compareText`, `equal`, `larger`, `largerEq`, `smaller`, `smallerEq`,
|
287
296
|
`unequal`, `atan2` and `to` (#2895, #2753). Thanks @dvd101x.
|
288
297
|
- Implement support for non-power-of-2 fft (#2900, #2577). Thanks @cyavictor88.
|
289
|
-
- Fix #2888: update type definitions of function `unit` to allow creating a
|
298
|
+
- Fix #2888: update type definitions of function `unit` to allow creating a
|
290
299
|
unit from a fraction or complex number.
|
291
300
|
- Fix #2892: an error in the examples of the embedded help of function `sort`.
|
292
|
-
- Fix #2891: functions `column` and `row` sometimes returning a scalar number.
|
293
|
-
- Fix #2896: define the fourth argument of function `intersect` as optional
|
301
|
+
- Fix #2891: functions `column` and `row` sometimes returning a scalar number.
|
302
|
+
- Fix #2896: define the fourth argument of function `intersect` as optional
|
294
303
|
in the TypeScript definitions. Thanks @wodndb.
|
295
304
|
- Fix: quantileSeq not accepting a matrix as second argument `prob` (see #2902).
|
296
|
-
- Fix broken examples in functions `to`, `distance`, `getMatrixDataType`,
|
305
|
+
- Fix broken examples in functions `to`, `distance`, `getMatrixDataType`,
|
297
306
|
`subset`, and `max` (see #2902).
|
298
307
|
|
299
|
-
|
300
308
|
# 2023-01-31, 11.5.1
|
301
309
|
|
302
|
-
- Add type definitions for function `rotationMatrix` (#2860).
|
310
|
+
- Add type definitions for function `rotationMatrix` (#2860).
|
303
311
|
Thanks @brunoSnoww.
|
304
|
-
- Add type signature for `lusolve(LUDecomposition, ...)` (#2864).
|
312
|
+
- Add type signature for `lusolve(LUDecomposition, ...)` (#2864).
|
305
313
|
Thanks @evanmiller.
|
306
|
-
- Fix #2873: the rocket_trajectory_optimization.html example being partly
|
314
|
+
- Fix #2873: the rocket_trajectory_optimization.html example being partly
|
307
315
|
broken. Thanks @dvd101x.
|
308
316
|
- Fix #2871: coverage report broken (#2877). Thanks @bornova.
|
309
317
|
- Fix #2883: update documentation for stat functions, describe missing syntax.
|
310
318
|
- Fix #2884: fix examples in the embedded docs of function `pow` and some other
|
311
319
|
functions.
|
312
|
-
- Fix type definition of function `complex` for one numeric input (#2886),
|
320
|
+
- Fix type definition of function `complex` for one numeric input (#2886),
|
313
321
|
thanks @ariymarkowitz.
|
314
322
|
- Fix type definitions of `map()` and `forEach()` (#2887), thanks @xiaohk.
|
315
|
-
- Fix #2606: improve type definitions of `dotMultiply`, `dotPow` and
|
323
|
+
- Fix #2606: improve type definitions of `dotMultiply`, `dotPow` and
|
316
324
|
`dotDivide` (#2890). Thanks @brunoSnoww.
|
317
325
|
|
318
|
-
|
319
326
|
# 2022-12-05, 11.5.0
|
320
327
|
|
321
|
-
- Improve `simplify` rule matches in non-commutative contexts (#2841).
|
328
|
+
- Improve `simplify` rule matches in non-commutative contexts (#2841).
|
322
329
|
Thanks @samueltlg.
|
323
330
|
- Simplify: add rules and restructure tests for non-commutative contexts
|
324
331
|
(#2847). Thanks @samueltlg.
|
@@ -326,61 +333,54 @@ Fixes:
|
|
326
333
|
- Fix TypeScript types for `multiply()` with `number[]` and `number[][]`
|
327
334
|
(#2852). Thanks @hfhchan.
|
328
335
|
|
329
|
-
|
330
336
|
# 2022-11-18, 11.4.0
|
331
337
|
|
332
338
|
- Implemented more wildcards to describe rules for `simplify`, making it easier
|
333
339
|
for example to describe unary minus (#1915). Thanks @thatcomputerguy0101.
|
334
|
-
- Implemented functions `schur`, `sylvester`, and `lyap` (#2646).
|
340
|
+
- Implemented functions `schur`, `sylvester`, and `lyap` (#2646).
|
335
341
|
Thanks @egidioln.
|
336
|
-
- Implemented function `polynomialRoot`, and use it in a benchmark (#2839).
|
342
|
+
- Implemented function `polynomialRoot`, and use it in a benchmark (#2839).
|
337
343
|
Thanks @gwhitney.
|
338
|
-
- Fix #2825 partly: improve simplifying operations on constants in
|
344
|
+
- Fix #2825 partly: improve simplifying operations on constants in
|
339
345
|
non-commutative contexts (#2827). Thanks @samueltlg.
|
340
|
-
- Fix #2840: a bug in the docs and type definitions of `Node.traverse` and
|
346
|
+
- Fix #2840: a bug in the docs and type definitions of `Node.traverse` and
|
341
347
|
`Node.forEach`, they do return `void`.
|
342
348
|
|
343
|
-
|
344
349
|
# 2022-11-07, 11.3.3
|
345
350
|
|
346
|
-
- Fix #2830: Prevent inserting zero values when creating a `SparseMatrix` from a
|
351
|
+
- Fix #2830: Prevent inserting zero values when creating a `SparseMatrix` from a
|
347
352
|
`DenseMatrix` (#2836). Thanks @AlexandreAlvesDB.
|
348
353
|
- Fix #2835: a regression in the type definitions of `FunctionNode`, introduced
|
349
354
|
in `v11.3.2`. See #2733. Thanks @dsteve.
|
350
355
|
|
351
|
-
|
352
356
|
# 2022-10-25, 11.3.2
|
353
357
|
|
354
|
-
- Add generics to remaining Node type definitions (#2733). Thanks @mattvague.
|
355
|
-
- Allow unit prefixes for (absolute) temperatures `kelvin`, `rankine`,
|
358
|
+
- Add generics to remaining Node type definitions (#2733). Thanks @mattvague.
|
359
|
+
- Allow unit prefixes for (absolute) temperatures `kelvin`, `rankine`,
|
356
360
|
`celsius`, and `fahrenheit` (#2824). Thanks @jfeist
|
357
361
|
|
358
|
-
|
359
362
|
# 2022-10-19, 11.3.1
|
360
363
|
|
361
364
|
- Fix #2809: code completion issues in some IDE's (#2812).
|
362
|
-
- Fix #2818: throw an error when a function assignment has duplicate
|
365
|
+
- Fix #2818: throw an error when a function assignment has duplicate
|
363
366
|
parameter names (#2819).
|
364
367
|
- Update `decimal.js` to version `10.4.2`.
|
365
368
|
|
366
|
-
|
367
369
|
# 2022-10-11, 11.3.0
|
368
370
|
|
369
|
-
- Allow creating new subclasses of `Node` in TypeScript (#2772).
|
371
|
+
- Allow creating new subclasses of `Node` in TypeScript (#2772).
|
370
372
|
Note that this disables being able to narrow MathNodes by using the `.type`
|
371
373
|
property. Use typeguards like `isOperatorNode(...)` instead (see #2810).
|
372
374
|
Thanks @mattvague.
|
373
375
|
- Fix #2793: `flatten()` cloning entries of array/Matrix (#2799).
|
374
|
-
- Fix #2627: TypeScript definitions of `pinv` missing (#2804).
|
376
|
+
- Fix #2627: TypeScript definitions of `pinv` missing (#2804).
|
375
377
|
Thanks @HanchaiN.
|
376
378
|
- Update dependencies to `decimal.js@10.4.1`.
|
377
379
|
|
378
|
-
|
379
380
|
# 2022-09-13, 11.2.1
|
380
381
|
|
381
382
|
- Fix doc generator being broken, not generating a function reference.
|
382
383
|
|
383
|
-
|
384
384
|
# 2022-09-12, 11.2.0
|
385
385
|
|
386
386
|
- Implement function `isRelationalNode` (#2731). Thanks @isaacbyr.
|
@@ -391,49 +391,46 @@ Fixes:
|
|
391
391
|
- Fixed documentation of unit `min` which means `minutes`, not `minim` (#2773).
|
392
392
|
Thanks @jasonhornsby.
|
393
393
|
|
394
|
-
|
395
394
|
# 2022-08-23, 11.1.0
|
396
395
|
|
397
396
|
- Add Unit constructor from value and pure (valueless) Unit (#2628).
|
398
397
|
Thanks @costerwi
|
399
398
|
- Fix #2144: `examples/advanced/custom_loading.js` was broken.
|
400
|
-
- Fix JSON `replacer` function missing in the TypeScript definitions.
|
399
|
+
- Fix JSON `replacer` function missing in the TypeScript definitions.
|
401
400
|
Thanks @mattvague.
|
402
|
-
- Update dependencies to `typed-function@4.1.0` and `decimal.js@10.4.0`.
|
403
|
-
|
401
|
+
- Update dependencies to `typed-function@4.1.0` and `decimal.js@10.4.0`.
|
404
402
|
|
405
403
|
# 2022-07-25, version 11.0.1
|
406
404
|
|
407
405
|
- Fix #2632: TypeScript issue of `simplifyConstant` and `simplifyCore`
|
408
406
|
not having a return type defined.
|
409
407
|
|
410
|
-
|
411
408
|
# 2022-07-23, version 11.0.0
|
412
409
|
|
413
410
|
!!! BE CAREFUL: BREAKING CHANGES !!!
|
414
411
|
|
415
412
|
Breaking changes:
|
416
413
|
|
417
|
-
- Dropped official support for IE11.
|
418
|
-
- Upgraded to `typed-function@3`, see [josdejong/typed-function/HISTORY.md](https://github.com/josdejong/typed-function/blob/develop/HISTORY.md#2022-05-12-version-300). Thanks @gwhitney. Most importantly:
|
419
|
-
|
420
|
-
|
421
|
-
|
414
|
+
- Dropped official support for IE11.
|
415
|
+
- Upgraded to `typed-function@3`, see [josdejong/typed-function/HISTORY.md](https://github.com/josdejong/typed-function/blob/develop/HISTORY.md#2022-05-12-version-300). Thanks @gwhitney. Most importantly:
|
416
|
+
- Conversions now have preference over `any`.
|
417
|
+
- The `this` variable is no longer bound to the typed function itself.
|
418
|
+
- The properties `typed.types`, `typed.conversions`, and `typed.ignore`
|
422
419
|
have been removed.
|
423
|
-
|
420
|
+
- There are new static functions available like `typed.referTo`,
|
424
421
|
`typed.referToSelf`, `typed.addTypes`, `typed.addConversions`.
|
425
422
|
- Implement amended "Rule 2" for implicit multiplication (#2370, #2460):
|
426
|
-
when having a division followed by an implicit multiplication, the division
|
427
|
-
gets higher precedence over the implicit multiplication when (a) the
|
428
|
-
numerator is a constant with optionally a prefix operator (`-`, `+`, `~`),
|
429
|
-
and (b) the denominator is a constant. For example: formerly `-1 / 2 x` was
|
423
|
+
when having a division followed by an implicit multiplication, the division
|
424
|
+
gets higher precedence over the implicit multiplication when (a) the
|
425
|
+
numerator is a constant with optionally a prefix operator (`-`, `+`, `~`),
|
426
|
+
and (b) the denominator is a constant. For example: formerly `-1 / 2 x` was
|
430
427
|
interpreted as `-1 / (2 * x)` and now it is interpreted as `(-1 / 2) * x`.
|
431
428
|
Thanks @gwhitney.
|
432
429
|
- Drop elementwise matrix support for trigonometric functions, exp, log, gamma,
|
433
|
-
square, sqrt, cube, and cbrt to prevent confusion with standard matrix
|
434
|
-
functions (#2440, #2465). Instead, use `math.map(matrix, fn)`.
|
430
|
+
square, sqrt, cube, and cbrt to prevent confusion with standard matrix
|
431
|
+
functions (#2440, #2465). Instead, use `math.map(matrix, fn)`.
|
435
432
|
Thanks @gwhitney.
|
436
|
-
- Simplify: convert equivalent function calls into operators, for example,
|
433
|
+
- Simplify: convert equivalent function calls into operators, for example,
|
437
434
|
`add(2, x)` will now be simplified into `2 + x` (#2415, #2466).
|
438
435
|
Thanks @gwhitney.
|
439
436
|
- Removed the automatic conversion from `number` to `string` (#2482).
|
@@ -441,25 +438,25 @@ Breaking changes:
|
|
441
438
|
- Fix #2412: let function `diff` return an empty matrix when the input contains
|
442
439
|
only one element (#2422).
|
443
440
|
- Internal refactoring in the `simplifyCore` logic (#2490, #2484, #2459).
|
444
|
-
The function `simplifyCore` will no longer (partially) merge constants, that
|
445
|
-
behavior has been moved to `simplifyConstant`. The combination of
|
446
|
-
`simplifyConstant` and `simplifyCore` is still close to the old behavior
|
447
|
-
of `simplifyCore`, but there are some differences. To reproduce the same
|
448
|
-
behavior as the old `simplifyCore`, you can use
|
449
|
-
`math.simplify(expr, [math.simplifyCore, math.simplifyConstant])`.
|
450
|
-
Thanks to the refactoring, `simplify` is more thorough in reducing constants.
|
441
|
+
The function `simplifyCore` will no longer (partially) merge constants, that
|
442
|
+
behavior has been moved to `simplifyConstant`. The combination of
|
443
|
+
`simplifyConstant` and `simplifyCore` is still close to the old behavior
|
444
|
+
of `simplifyCore`, but there are some differences. To reproduce the same
|
445
|
+
behavior as the old `simplifyCore`, you can use
|
446
|
+
`math.simplify(expr, [math.simplifyCore, math.simplifyConstant])`.
|
447
|
+
Thanks to the refactoring, `simplify` is more thorough in reducing constants.
|
451
448
|
Thanks @gwhitney.
|
452
|
-
- Disable support for splitting rest parameters in chained calculations
|
449
|
+
- Disable support for splitting rest parameters in chained calculations
|
453
450
|
(#2485, #2474). For example: `math.chain(3).max(4, 2).done()` will now throw
|
454
|
-
an error rather than return `4`, because the rest parameter of
|
455
|
-
`math.max(...number)` has been split between the contents of the chain and
|
451
|
+
an error rather than return `4`, because the rest parameter of
|
452
|
+
`math.max(...number)` has been split between the contents of the chain and
|
456
453
|
the arguments to the max call. Thanks @gwhitney.
|
457
|
-
- Function `typeOf` now returns `function` (lowercase) for a function instead
|
454
|
+
- Function `typeOf` now returns `function` (lowercase) for a function instead
|
458
455
|
of `Function` (#2560). Thanks @gwhitney.
|
459
456
|
|
460
457
|
Non-breaking changes:
|
461
458
|
|
462
|
-
- Fix #2600: improve the TypeScript definitions of `simplify`.
|
459
|
+
- Fix #2600: improve the TypeScript definitions of `simplify`.
|
463
460
|
Thanks @laureen-m and @mattvague.
|
464
461
|
- Fix #2607: improve type definition of `createUnit`. Thanks @egziko.
|
465
462
|
- Fix #2608: clarify the docs on the need to configure a smaller `epsilon`
|
@@ -469,70 +466,62 @@ Non-breaking changes:
|
|
469
466
|
- Fix #2621: add TypeScript definitions for `count` (#2622). Thanks @Hansuku.
|
470
467
|
- Improved TypeScript definitions of `multiply` (#2623). Thanks @Windrill.
|
471
468
|
|
472
|
-
|
473
469
|
# 2022-06-28, version 10.6.4
|
474
470
|
|
475
471
|
- Improve TypeScript definitions of the `factory` function, thanks @mattvague.
|
476
472
|
|
477
|
-
|
478
473
|
# 2022-06-24, version 10.6.3
|
479
474
|
|
480
|
-
- Revert the TypeScript definition fixes for `factory` applied in `v10.6.2`,
|
475
|
+
- Revert the TypeScript definition fixes for `factory` applied in `v10.6.2`,
|
481
476
|
they give some complications.
|
482
477
|
|
483
|
-
|
484
478
|
# 2022-06-24, version 10.6.2
|
485
479
|
|
486
480
|
- Improve TypeScript definitions of `ParenthesisNode`. Thanks @mattvague.
|
487
|
-
- Change the TypeScript definition of `MathNodeCommon['type']` into a less
|
488
|
-
strict string, so it is possible to extend with new Node classes.
|
481
|
+
- Change the TypeScript definition of `MathNodeCommon['type']` into a less
|
482
|
+
strict string, so it is possible to extend with new Node classes.
|
489
483
|
Thanks @mattvague.
|
490
484
|
- Improve TypeScript definitions of the `factory` function, thanks @mattvague.
|
491
485
|
|
492
|
-
|
493
486
|
# 2022-05-31, version 10.6.1
|
494
487
|
|
495
|
-
- Improve the TypeScript types For `OperatorNode`: you can now define generic
|
488
|
+
- Improve the TypeScript types For `OperatorNode`: you can now define generic
|
496
489
|
types like `OperatorNode<'+', 'add'>`. Thanks @mattvague.
|
497
490
|
|
498
|
-
|
499
491
|
# 2022-05-24, version 10.6.0
|
500
492
|
|
501
493
|
- Implementation of fourier transform functions `fft` and `ifft` (#2540).
|
502
494
|
Thanks @HanchaiN.
|
503
495
|
- Fix TypeScript types not being listed in the exported fields (#2569).
|
504
|
-
Thanks @mattvague.
|
496
|
+
Thanks @mattvague.
|
505
497
|
- Large improvements in TypeScript definitions for chained expressions (#2537).
|
506
498
|
Thanks @mattvague.
|
507
|
-
- Fix #2571: improve TypeScript definition of functions `clone` and `cloneDeep`
|
499
|
+
- Fix #2571: improve TypeScript definition of functions `clone` and `cloneDeep`
|
508
500
|
(#2572). Thanks @mattvague.
|
509
501
|
- Fix the first argument of `derivative` holding the expression not correctly
|
510
502
|
being converted when using `.toTex()` (#2564). Thanks @mattvague.
|
511
503
|
|
512
|
-
|
513
504
|
# 2022-05-11, version 10.5.3
|
514
505
|
|
515
|
-
- Fix #2337: npm package containing examples and docs to solve security
|
506
|
+
- Fix #2337: npm package containing examples and docs to solve security
|
516
507
|
vulnerabilities being reported on the examples and their dependencies.
|
517
508
|
- Fix core, construction, and some other functions missing in docs.
|
518
509
|
- Drop official support for Node.js 12 which has reached its end of life.
|
519
510
|
|
520
|
-
|
521
511
|
# 2022-05-09, version 10.5.2
|
522
512
|
|
523
|
-
- Fix #2553: `@types/mocha` defined in `dependencies` instead of
|
513
|
+
- Fix #2553: `@types/mocha` defined in `dependencies` instead of
|
524
514
|
`devDependencies`, causing problems in projects that use a different version
|
525
515
|
of this dependency. Thanks @Kolahzary.
|
526
516
|
- Fix #2550: remove `examples/node_modules` folder from the npm package.
|
527
517
|
- Fix #2528: improve contribution guidelines (#2548).
|
528
|
-
- Document `SymbolNode.onUndefinedSymbol` and
|
518
|
+
- Document `SymbolNode.onUndefinedSymbol` and
|
529
519
|
`FunctionNode.onUndefinedFunction`.
|
530
520
|
|
531
|
-
|
532
521
|
# 2022-05-02, version 10.5.1
|
533
522
|
|
534
523
|
- Fix #2526, #2529: improve TypeScript definitions of function `round`, `fix`,
|
535
|
-
`floor`, `ceil`, and `nthRoot`, and improved the number only implementations
|
524
|
+
`floor`, `ceil`, and `nthRoot`, and improved the number only implementations
|
536
525
|
of those functions (#2531, #2539). Thanks @simlaticak and @gwhitney.
|
537
526
|
- Fix #2532: matrix index symbol `end` not working when used inside
|
538
527
|
a sub-expression.
|
@@ -540,12 +529,11 @@ Non-breaking changes:
|
|
540
529
|
(e.g., to avoid spurious duplicates in list). (#2543)
|
541
530
|
- Add type definitions of function `resolve` (#2536). Thanks @mattvague.
|
542
531
|
|
543
|
-
|
544
532
|
# 2022-04-19, version 10.5.0
|
545
533
|
|
546
|
-
- Implement #1563: function `pinv`, Moore–Penrose inverse (#2521).
|
534
|
+
- Implement #1563: function `pinv`, Moore–Penrose inverse (#2521).
|
547
535
|
Thanks @HanchaiN.
|
548
|
-
- Optimize function `det` for integers by switching to the Bareiss algorithm:
|
536
|
+
- Optimize function `det` for integers by switching to the Bareiss algorithm:
|
549
537
|
no more round-off errors for integer input (#2516). Thanks @HanchaiN.
|
550
538
|
- Implement #2463: allow negative integer powers of invertible square matrices
|
551
539
|
(#2517). Thanks @HanchaiN.
|
@@ -556,7 +544,6 @@ Non-breaking changes:
|
|
556
544
|
- Fix #2526: update TypeScript definition of `ceil` (#2531). Thanks @simlaticak
|
557
545
|
- Change mocha reporter to 'dot' to avoid excessively long log files. (#2520)
|
558
546
|
|
559
|
-
|
560
547
|
# 2022-04-08, version 10.4.3
|
561
548
|
|
562
549
|
- Fix #2508: improve the precision of stirlingS2 (#2509). Thanks @gwhitney.
|
@@ -564,14 +551,13 @@ Non-breaking changes:
|
|
564
551
|
of function `log` (#2515). Thanks @gwhitney.
|
565
552
|
- Improve the documentation on operator `;` (#2512). Thanks @gwhitney.
|
566
553
|
|
567
|
-
|
568
554
|
# 2022-03-29, version 10.4.2
|
569
555
|
|
570
556
|
- Fix #2499: different behavior for unit conversion "degC" and "K" (#2501).
|
571
|
-
Also disables getting the sign for units with an offset, which is ambiguous.
|
557
|
+
Also disables getting the sign for units with an offset, which is ambiguous.
|
572
558
|
Thanks @gwhitney.
|
573
559
|
- Fix #2503: fix an issue in `log()` for complex numbers in which the imaginary
|
574
|
-
part is much larger in absolute value than the real part, fixed in
|
560
|
+
part is much larger in absolute value than the real part, fixed in
|
575
561
|
`complex.js@2.1.0` (#2505), thanks @gwhitney, @infusion.
|
576
562
|
- Fix #2493: unclear error message when an entity that is not a function
|
577
563
|
is being called as a function (#2494). Thanks @gwhitney.
|
@@ -581,10 +567,9 @@ Non-breaking changes:
|
|
581
567
|
comparison tolerance. It was already being called this way, but was
|
582
568
|
silently ignoring the tolerance. Thanks @yifanwww.
|
583
569
|
|
584
|
-
|
585
570
|
# 2022-03-23, version 10.4.1
|
586
571
|
|
587
|
-
- Improve TypeScript definitions for function `unit` (#2479).
|
572
|
+
- Improve TypeScript definitions for function `unit` (#2479).
|
588
573
|
Thanks @SinanAkkoyun.
|
589
574
|
- Add tests for type declarations (#2448). Thanks @samestep.
|
590
575
|
- Further improvement to TypeScript definitions of `std` and `variance`
|
@@ -598,7 +583,6 @@ Non-breaking changes:
|
|
598
583
|
numbers (#2496). Thanks @gwhitney.
|
599
584
|
- Update project dependencies and devDependencies.
|
600
585
|
|
601
|
-
|
602
586
|
# 2022-03-07, version 10.4.0
|
603
587
|
|
604
588
|
- Fix #2461: make sure `simplifyCore` recurses over all binary nodes (#2462).
|
@@ -607,11 +591,10 @@ Non-breaking changes:
|
|
607
591
|
(#2455). Thanks @NattapongSiri.
|
608
592
|
- Fix #1633: implement a `cumsum` function generating cumulative sums of a list
|
609
593
|
of values or a matrix. (#1870). Thanks @hjonasson.
|
610
|
-
- Upgrade to the latest version of `Fraction.js`, having more strict input,
|
594
|
+
- Upgrade to the latest version of `Fraction.js`, having more strict input,
|
611
595
|
only accepting an integer numerator and denominator. See #2427.
|
612
596
|
- Fix typo in documentation example for `format`. (#2468) Thanks @abranhe.
|
613
|
-
- Write unit tests for all jsdoc examples. See #2452. Thanks @gwhitney.
|
614
|
-
|
597
|
+
- Write unit tests for all jsdoc examples. See #2452. Thanks @gwhitney.
|
615
598
|
|
616
599
|
# 2021-03-02, version 10.3.0
|
617
600
|
|
@@ -619,38 +602,35 @@ Non-breaking changes:
|
|
619
602
|
- Fix #2441, #2442: support passing a function as argument to functions created
|
620
603
|
in the expression parser (#2443). Thanks @gwhitney.
|
621
604
|
- Fix #2325: improve documentation of subset indices (#2446). Thanks @gwhitney.
|
622
|
-
- Fix #2439: fix a bug in `complexEigs` in which real-valued norms were
|
605
|
+
- Fix #2439: fix a bug in `complexEigs` in which real-valued norms were
|
623
606
|
inadvertently being typed as complex numbers (#2445). Thanks @gwhitney.
|
624
607
|
- Fix #2436: improve documentation and error message of function `map` (#2457).
|
625
608
|
Thanks @gwhitney.
|
626
609
|
|
627
|
-
|
628
610
|
# 2022-03-01, version 10.2.0
|
629
611
|
|
630
|
-
- Implemented context options to control simplifications allowed in `simplify`,
|
612
|
+
- Implemented context options to control simplifications allowed in `simplify`,
|
631
613
|
see #2399, #2391. Thanks @gwhitney.
|
632
|
-
- Implemented function `leafCount` as a first simple measure of the complexity
|
614
|
+
- Implemented function `leafCount` as a first simple measure of the complexity
|
633
615
|
of an expression, see #2411, #2389. Thanks @gwhitney.
|
634
616
|
- Fix #2413: improve `combinations` to return an integer result without rounding
|
635
617
|
errors for larger values, see #2414. Thanks @gwhitney.
|
636
|
-
- Fix #2385: function `rotate` missing in TypeScript definitions.
|
618
|
+
- Fix #2385: function `rotate` missing in TypeScript definitions.
|
637
619
|
Thanks @DIVYA-19.
|
638
620
|
- Fix #2450: Add BigNumber to parameter type in `math.unit` and add TypeScript
|
639
621
|
types for `Unit.simplify` and `Unit.units` (#2353). Thanks @joshhansen.
|
640
622
|
- Fix #2383: detect infinite loops in `simplify` (#2405). Thanks @gwhitney.
|
641
|
-
- Fix #1423: collect like factors and cancel like terms in sums (#2388).
|
623
|
+
- Fix #1423: collect like factors and cancel like terms in sums (#2388).
|
642
624
|
Thanks @gwhitney.
|
643
625
|
|
644
|
-
|
645
626
|
# 2022-02-02, version 10.1.1
|
646
627
|
|
647
628
|
- Improvements and fixes in function `simplify`, thanks @gwhitney:
|
648
629
|
- Fix #2393: regression bug in `simplify('2-(x+1)')`.
|
649
630
|
- Ad option `consoleDebug` to `simplify` to see what is going on.
|
650
|
-
- Fix TypeScript definition of `ConfigOptions`, which was missing option
|
631
|
+
- Fix TypeScript definition of `ConfigOptions`, which was missing option
|
651
632
|
`predictable`.
|
652
633
|
|
653
|
-
|
654
634
|
# 2022-01-15, version 10.1.0
|
655
635
|
|
656
636
|
- Implemented function `invmod`, see #2368, #1744. Thanks @thetazero.
|
@@ -661,29 +641,26 @@ Non-breaking changes:
|
|
661
641
|
- Fix #2379: add embedded documentation for function `print`.
|
662
642
|
- Remove broken example from the embedded documentation of function `forEach`.
|
663
643
|
|
664
|
-
|
665
644
|
# 2021-12-29, version 10.0.2
|
666
645
|
|
667
646
|
- Fix #2156: simplify expressions like `-1 / (-x)` to `1/x`. Thanks @ony3000.
|
668
647
|
- Fix #2363: remove a redundant part of the regex to split a number.
|
669
|
-
- Fix #2291: add support for fractions in function `intersect`.
|
648
|
+
- Fix #2291: add support for fractions in function `intersect`.
|
670
649
|
Thanks @thetazero.
|
671
650
|
- Fix #2358: bug in `SparseMatrix` when replacing a subset of a matrix with
|
672
651
|
a non-consecutive index. Thanks @Al-0.
|
673
652
|
|
674
|
-
|
675
653
|
# 2021-12-22, version 10.0.1
|
676
654
|
|
677
655
|
- Fix #1681: function `gamma` giving inaccurate complex results in some cases.
|
678
656
|
Thanks @kmdrGroch.
|
679
657
|
- Fixed a typo in an example, see #2366. Thanks @blackwindforce.
|
680
658
|
|
681
|
-
|
682
659
|
# 2021-11-03, version 10.0.0
|
683
660
|
|
684
661
|
!!! BE CAREFUL: BREAKING CHANGES IN THE TYPESCRIPT DEFINITIONS !!!
|
685
662
|
|
686
|
-
- Improvements to the Typescript typings (commit fc5c202e).
|
663
|
+
- Improvements to the Typescript typings (commit fc5c202e).
|
687
664
|
Thanks @joshhansen. First introduced in v9.5.1, but reverted because
|
688
665
|
it contains breaking changes.
|
689
666
|
|
@@ -692,51 +669,45 @@ Non-breaking changes:
|
|
692
669
|
|
693
670
|
- Fixed a typo in the TypeScript definition of toHTML. Thanks @TheToto.
|
694
671
|
|
695
|
-
|
696
672
|
# 2021-11-03, version 9.5.2`
|
697
673
|
|
698
674
|
- Revert the improvements to the Typescript typings because they contain
|
699
675
|
breaking changes. The improvements will be published in v10.0.0. See #2339.
|
700
676
|
|
701
|
-
|
702
677
|
# 2021-10-13, version 9.5.1
|
703
678
|
|
704
|
-
- Various improvements to the Typescript typings.
|
679
|
+
- Various improvements to the Typescript typings.
|
705
680
|
Thanks @joshhansen and @DianaTdr.
|
706
681
|
|
707
|
-
|
708
682
|
# 2021-09-22, version 9.5.0
|
709
683
|
|
710
|
-
- Implemented support for calculations with percentage, see #2303.
|
684
|
+
- Implemented support for calculations with percentage, see #2303.
|
711
685
|
Thanks @rvramesh.
|
712
|
-
- Fix #2319: make the API of `Parser.evaluate` consistent with `math.evaluate`:
|
686
|
+
- Fix #2319: make the API of `Parser.evaluate` consistent with `math.evaluate`:
|
713
687
|
support a list with expressions as input.
|
714
688
|
- Improved documentation of function `setCartesian`. Thanks @fieldfoxWim.
|
715
689
|
|
716
|
-
|
717
690
|
# 2021-09-15, version 9.4.5
|
718
691
|
|
719
|
-
- Improved the performance of `Node.equals` by improving the internal
|
692
|
+
- Improved the performance of `Node.equals` by improving the internal
|
720
693
|
function `deepStrictEqual`. Thanks @tomlarkworthy.
|
721
694
|
- Fixes in the TypeScript definitions:
|
722
|
-
- Define `hasNumericValue`. Thanks @write2kcl.
|
695
|
+
- Define `hasNumericValue`. Thanks @write2kcl.
|
723
696
|
- Define `MathNode.isRelationalNode`. Thanks @m93a.
|
724
697
|
- Fix typo in `MathNode.isConditionalNode`. Thanks @m93a.
|
725
698
|
|
726
|
-
|
727
699
|
# 2021-07-07, version 9.4.4
|
728
700
|
|
729
|
-
- Fixed `ArrayNode.toTex()`: remove the row delimiter on the last row,
|
701
|
+
- Fixed `ArrayNode.toTex()`: remove the row delimiter on the last row,
|
730
702
|
see #2267. Thanks @davidtranhq.
|
731
703
|
- Fix #2269: `intersect` not returning `null` for matrix input. Thanks @m93a.
|
732
704
|
- Fix #2245: mathjs not working in IE11 anymore due to a missing polyfill for
|
733
|
-
`Symbol`. The browser bundle now includes the necessary polyfills (it is
|
705
|
+
`Symbol`. The browser bundle now includes the necessary polyfills (it is
|
734
706
|
larger now because of that, see also #2266). Thanks @m93a.
|
735
707
|
- Update dependencies (`complex.js@2.0.15`, `decimal.js@10.3.1`)
|
736
|
-
- Drop official support for node.js 10, which has reached end of life.
|
708
|
+
- Drop official support for node.js 10, which has reached end of life.
|
737
709
|
See #2258.
|
738
710
|
|
739
|
-
|
740
711
|
# 2021-06-23, version 9.4.3
|
741
712
|
|
742
713
|
- Fix #2222: mathjs polluting the `Decimal` prototype. Thanks @m93a.
|
@@ -744,17 +715,15 @@ Non-breaking changes:
|
|
744
715
|
properties named `e`.
|
745
716
|
- Fixes in the TypeScript definitions:
|
746
717
|
- function `floor`, #2159, #2246. Thanks @write2kcl.
|
747
|
-
- function `simplify`, see #2252. Thanks @nitroin.
|
718
|
+
- function `simplify`, see #2252. Thanks @nitroin.
|
748
719
|
- Upgraded to `decimal.js@10.3.0`
|
749
720
|
|
750
|
-
|
751
721
|
# 2021-06-05, version 9.4.2
|
752
722
|
|
753
|
-
- Implemented iterative eigenvalue finder for `eigs`, making it much more
|
723
|
+
- Implemented iterative eigenvalue finder for `eigs`, making it much more
|
754
724
|
robust. See #2179, #2237. Thanks @m93a.
|
755
725
|
- Improved TypeScript definitions of function `parse`. Thanks @OpportunityLiu.
|
756
726
|
|
757
|
-
|
758
727
|
# 2021-05-24, version 9.4.1
|
759
728
|
|
760
729
|
- Fix #2100: add TypeScript declaration for `eigs`. Thanks @andrebianchessi.
|
@@ -762,71 +731,64 @@ Non-breaking changes:
|
|
762
731
|
- Update readme regarding TypeScript definition files. Thanks @dhritzkiv.
|
763
732
|
- Update to `fraction.js@4.1.1`
|
764
733
|
|
765
|
-
|
766
734
|
# 2021-05-16, version 9.4.0
|
767
735
|
|
768
|
-
- Implemented support to use objects with a `Map` interface as scope,
|
736
|
+
- Implemented support to use objects with a `Map` interface as scope,
|
769
737
|
see #2143, #2166. Thanks @jhugman.
|
770
738
|
- Extend `eigs` to support general complex matrices, see #1741. Thanks @m93a.
|
771
739
|
- DenseMatrix and SparseMatrix are now iterable, see #1184. Thanks @m93a.
|
772
|
-
- Implemented utility functions `matrixFromRows`, `matrixFromColumns`, and
|
740
|
+
- Implemented utility functions `matrixFromRows`, `matrixFromColumns`, and
|
773
741
|
`matrixFromFunction`, see #2155, #2153. Thanks @m93a.
|
774
742
|
- Added TypeScript definitions to the project, making it redundant to install
|
775
|
-
`@types/mathjs`, and making it easier to improve the definitions. See #2187,
|
743
|
+
`@types/mathjs`, and making it easier to improve the definitions. See #2187,
|
776
744
|
#2192. Thanks @CatsMiaow.
|
777
745
|
- Upgraded dependencies
|
778
746
|
- `complex.js@2.0.13` (fixing #2211). Thanks @infusion
|
779
747
|
- `fraction.js@4.1.0` (`pow` now supporting rational exponents).
|
780
748
|
- Fix #2174: function `pickRandom` having no name. Thanks @HK-SHAO.
|
781
749
|
- Fix #2019: VSCode auto import keeps adding import { null } from 'mathjs'.
|
782
|
-
- Fix #2185: Fix TypeScript definition of unit division, which can also return
|
750
|
+
- Fix #2185: Fix TypeScript definition of unit division, which can also return
|
783
751
|
a number.
|
784
752
|
- Fix #2123: add type definitions for functions `row` and `column`.
|
785
753
|
- Fix some files not exposed in the package, see #2213. Thanks @javiermarinros.
|
786
754
|
|
787
|
-
|
788
755
|
# 2021-04-12, version 9.3.2
|
789
756
|
|
790
|
-
- Fix #2169: mathjs requesting `@babel/runtime` dependency.
|
757
|
+
- Fix #2169: mathjs requesting `@babel/runtime` dependency.
|
791
758
|
Regression introduced in `v9.3.1`.
|
792
759
|
|
793
|
-
|
794
760
|
# 2021-04-10, version 9.3.1
|
795
761
|
|
796
|
-
- Fix #2133: strongly improved the performance of `isPrime`, see #2139.
|
762
|
+
- Fix #2133: strongly improved the performance of `isPrime`, see #2139.
|
797
763
|
Thanks @Yaffle.
|
798
764
|
- Fix #2150: give a clear error "Error: Undefined function ..." instead when
|
799
765
|
evaluating a non-existing function.
|
800
|
-
- Fix #660: expose internal functions `FunctionNode.onUndefinedFunction(name)`
|
766
|
+
- Fix #660: expose internal functions `FunctionNode.onUndefinedFunction(name)`
|
801
767
|
and `SymbolNode.onUndefinedSymbol(name)`, allowing to override the behavior.
|
802
768
|
By default, an Error is thrown.
|
803
769
|
|
804
|
-
|
805
770
|
# 2021-03-10, version 9.3.0
|
806
771
|
|
807
772
|
- Implemented support for parsing non decimal numbers with radix point,
|
808
773
|
see #2122, #2121. Thanks @clnhlzmn.
|
809
774
|
- Fix #2128: typo in docs of `luSolveAll` and `usolveAll`.
|
810
775
|
|
811
|
-
|
812
776
|
# 2021-02-03, version 9.2.0
|
813
777
|
|
814
|
-
- Implemented function `count` to count the total elements in a matrix,
|
778
|
+
- Implemented function `count` to count the total elements in a matrix,
|
815
779
|
see #2085. Thanks @Josef37.
|
816
780
|
- Fix #2096: cleanup old reference to external dependency `crypto`.
|
817
|
-
- Some refactoring in the code to remove duplications, see #2093.
|
781
|
+
- Some refactoring in the code to remove duplications, see #2093.
|
818
782
|
Thanks @Josef37.
|
819
783
|
|
820
|
-
|
821
784
|
# 2021-01-27, version 9.1.0
|
822
785
|
|
823
786
|
- Extended function `reshape` with support for a wildcard `-1` to automatically
|
824
|
-
calculate the remaining size, like `reshape([1, 2, 3, 4, 5, 6], [-1, 2])`
|
787
|
+
calculate the remaining size, like `reshape([1, 2, 3, 4, 5, 6], [-1, 2])`
|
825
788
|
which will output `[[0, 1], [2, 3], [4, 5]]`. See #2075. Thanks @Josef37.
|
826
789
|
- Fix #2087: function `simplify` ignores second argument of `log`, for example
|
827
790
|
in `simplify('log(e, 9)')` . Thanks @quentintruong.
|
828
791
|
|
829
|
-
|
830
792
|
# 2021-01-16, version 9.0.0
|
831
793
|
|
832
794
|
- Improved support for bin, hex, and oct literals. See #1996. Thanks @clnhlzmn.
|
@@ -835,188 +797,169 @@ Non-breaking changes:
|
|
835
797
|
suffix specifying the word size such as `i16` or `i32`.
|
836
798
|
- Function `format` now supports more notations: `bin`, 'hex', and `oct`,
|
837
799
|
for example `format(255, {notation: "hex"})`.
|
838
|
-
- The functions `format`, `bin`, `hex`, `oct` now allow specifying a wordSize,
|
800
|
+
- The functions `format`, `bin`, `hex`, `oct` now allow specifying a wordSize,
|
839
801
|
like `bin(10, 32)` and `format(10, {notation: "bin", wordSize: 32})`.
|
840
|
-
- BigNumber support for the bin, hex, and oct literals.
|
802
|
+
- BigNumber support for the bin, hex, and oct literals.
|
841
803
|
- Extended and improved the example rocket_trajectory_optimization.html.
|
842
804
|
Thanks @Josef37.
|
843
805
|
|
844
|
-
|
845
806
|
# 2020-12-30, version 8.1.1
|
846
807
|
|
847
|
-
- Improved the performance of parsing and evaluating units a lot, see #2065.
|
808
|
+
- Improved the performance of parsing and evaluating units a lot, see #2065.
|
848
809
|
Thanks @flaviut.
|
849
|
-
- Upgraded dependency `fraction.js` to `v4.0.13`.
|
850
|
-
- Moved continuous integration testing from Travis CI to Github Workflow,
|
810
|
+
- Upgraded dependency `fraction.js` to `v4.0.13`.
|
811
|
+
- Moved continuous integration testing from Travis CI to Github Workflow,
|
851
812
|
see #2024, #2041. Thanks @harrysarson.
|
852
813
|
|
853
|
-
|
854
814
|
# 2020-12-04, version 8.1.0
|
855
815
|
|
856
816
|
- Implemented units `kilogramforce` (`kgf`). Thanks @rnd-debug.
|
857
|
-
- Fix #2026: Implement a new option `fractionsLimit` for function `simplify`,
|
817
|
+
- Fix #2026: Implement a new option `fractionsLimit` for function `simplify`,
|
858
818
|
defaulting to `Infinity`.
|
859
819
|
- Improved the documentation of function `clone`. Thanks @redbar0n.
|
860
820
|
|
861
|
-
|
862
821
|
# 2020-11-09, version 8.0.1
|
863
822
|
|
864
823
|
- Fix #1979: missing "subset" dependency when using "mathjs/number" entry point.
|
865
|
-
- Fix #2022: update pretty printing with MathJax example to the latest version
|
824
|
+
- Fix #2022: update pretty printing with MathJax example to the latest version
|
866
825
|
of MathJax. Thanks @pkra.
|
867
826
|
|
868
|
-
|
869
827
|
# 2020-11-06, version 8.0.0
|
870
828
|
|
871
829
|
!!! BE CAREFUL: BREAKING CHANGES !!!
|
872
830
|
|
873
|
-
- You can now use mathjs directly in node.js using ES modules without need for
|
874
|
-
a transpiler (see #1928, #1941, #1962).
|
831
|
+
- You can now use mathjs directly in node.js using ES modules without need for
|
832
|
+
a transpiler (see #1928, #1941, #1962).
|
875
833
|
Automatically loading either commonjs code or ES modules code is improved.
|
876
|
-
All generated code is moved under `/lib`: the browser bundle is moved from
|
877
|
-
`/dist` to `/lib/browser`, ES module files are moved to `/lib/esm`,
|
834
|
+
All generated code is moved under `/lib`: the browser bundle is moved from
|
835
|
+
`/dist` to `/lib/browser`, ES module files are moved to `/lib/esm`,
|
878
836
|
and commonjs files are moved to `/lib/cjs`. Thanks @GreenImp.
|
879
837
|
- Non-minified bundle `dist/math.js` is no longer provided. Either use the
|
880
838
|
minified bundle, or create a bundle yourself.
|
881
|
-
- Replaced random library `seed-random` with `seedrandom`, see #1955.
|
839
|
+
- Replaced random library `seed-random` with `seedrandom`, see #1955.
|
882
840
|
Thanks @poppinlp.
|
883
841
|
- Breaking changes in `pickRandom`, see #1990, #1976.
|
884
|
-
- Will no longer return the input matrix when the given number is greater
|
842
|
+
- Will no longer return the input matrix when the given number is greater
|
885
843
|
than the length of the provided possibles. Instead, the function always
|
886
844
|
returns results with the requested number of picks.
|
887
845
|
- Will now return a `Matrix` as output when input was a `Matrix`.
|
888
846
|
- Introduced a new syntax:
|
889
|
-
|
847
|
+
|
890
848
|
```
|
891
849
|
math.pickRandom(array, { weights, number, elementWise })
|
892
850
|
```
|
893
|
-
|
851
|
+
|
852
|
+
- Introduced a new option `elementWise`, which is `true` by default.
|
894
853
|
When setting `elementWise` to false, an array containing arrays will return
|
895
854
|
random pick of arrays instead of the elements inside of the nested arrays.
|
896
855
|
|
897
|
-
|
898
856
|
# 2020-11-02, version 7.6.0
|
899
857
|
|
900
|
-
- Implemented function `rotate(w, theta)`. See #1992, #1160. Thanks @rnd-debug.
|
901
|
-
- Implemented support for custom characters in Units via `Unit.isValidAlpha`.
|
858
|
+
- Implemented function `rotate(w, theta)`. See #1992, #1160. Thanks @rnd-debug.
|
859
|
+
- Implemented support for custom characters in Units via `Unit.isValidAlpha`.
|
902
860
|
See #1663, #2000. Thanks @rnd-debug.
|
903
861
|
|
904
|
-
|
905
862
|
# 2020-10-10, version 7.5.1
|
906
863
|
|
907
864
|
- Fix object pollution vulnerability in `math.config`. Thanks Snyk.
|
908
865
|
|
909
|
-
|
910
866
|
# 2020-10-07, version 7.5.0
|
911
867
|
|
912
|
-
- Function `pickRandom` now allows randomly picking elements from matrices
|
868
|
+
- Function `pickRandom` now allows randomly picking elements from matrices
|
913
869
|
with 2 or more dimensions instead of only from a vector, see #1974.
|
914
870
|
Thanks @KonradLinkowski.
|
915
871
|
|
916
|
-
|
917
872
|
# 2020-10-07, version 7.4.0
|
918
873
|
|
919
|
-
- Implemented support for passing a precision in functions `ceil`, `floor`,
|
874
|
+
- Implemented support for passing a precision in functions `ceil`, `floor`,
|
920
875
|
and `fix`, similar to `round`, see #1967, #1901. Thanks @rnd-debug.
|
921
876
|
- Implemented function `rotationMatrix`, see #1160, #1984. Thanks @rnd-debug.
|
922
|
-
- Implement a clear error message when using `sqrtm` with a matrix having
|
877
|
+
- Implement a clear error message when using `sqrtm` with a matrix having
|
923
878
|
more than two dimensions. Thanks @KonradLinkowski.
|
924
879
|
- Update dependency `decimal.js` to `10.2.1`.
|
925
880
|
|
926
|
-
|
927
881
|
# 2020-09-26, version 7.3.0
|
928
882
|
|
929
883
|
- Implemented functions `usolveAll` and `lsolveAll`, see #1916. Thanks @m93a.
|
930
|
-
- Implemented support for units in functions `std` and `variance`, see #1950.
|
884
|
+
- Implemented support for units in functions `std` and `variance`, see #1950.
|
931
885
|
Thanks @rnd-debug.
|
932
|
-
- Implemented support for binary, octal, and hexadecimal notation in the
|
933
|
-
expression parser, and implemented functions `bin`, `oct`, and `hex` for
|
886
|
+
- Implemented support for binary, octal, and hexadecimal notation in the
|
887
|
+
expression parser, and implemented functions `bin`, `oct`, and `hex` for
|
934
888
|
formatting. Thanks @clnhlzmn.
|
935
|
-
- Fix #1964: inconsistent calculation of negative dividend modulo for
|
889
|
+
- Fix #1964: inconsistent calculation of negative dividend modulo for
|
936
890
|
`BigNumber` and `Fraction`. Thanks @ovk.
|
937
891
|
|
938
|
-
|
939
892
|
# 2020-08-24, version 7.2.0
|
940
893
|
|
941
|
-
- Implemented new function `diff`, see #1634, #1920. Thanks @Veeloxfire.
|
942
|
-
- Implemented support for norm 2 for matrices in function `norm`.
|
943
|
-
Thanks @rnd-debug.
|
944
|
-
|
894
|
+
- Implemented new function `diff`, see #1634, #1920. Thanks @Veeloxfire.
|
895
|
+
- Implemented support for norm 2 for matrices in function `norm`.
|
896
|
+
Thanks @rnd-debug.
|
945
897
|
|
946
898
|
# 2020-07-13, version 7.1.0
|
947
899
|
|
948
|
-
- Implement support for recursion (self-referencing) of typed-functions,
|
949
|
-
new in `typed-function@2.0.0`. This fixes #1885: functions which where
|
900
|
+
- Implement support for recursion (self-referencing) of typed-functions,
|
901
|
+
new in `typed-function@2.0.0`. This fixes #1885: functions which where
|
950
902
|
extended with a new data type did not always work. Thanks @nickewing.
|
951
|
-
- Fix #1899: documentation on expression trees still using old namespace
|
903
|
+
- Fix #1899: documentation on expression trees still using old namespace
|
952
904
|
`math.expression.node.*` instead of `math.*`.
|
953
905
|
|
954
|
-
|
955
906
|
# 2020-06-24, version 7.0.2
|
956
907
|
|
957
|
-
- Fix #1882: have `DenseMatrix.resize` and `SparseMatrix.resize` accept
|
908
|
+
- Fix #1882: have `DenseMatrix.resize` and `SparseMatrix.resize` accept
|
958
909
|
`DenseMatrix` and `SparseMatrix` as inputs too, not only `Array`.
|
959
910
|
- Fix functions `sum`, `prod`, `min`, and `max` not throwing a conversion error
|
960
911
|
when passing a single string, like `sum("abc")`.
|
961
912
|
|
962
|
-
|
963
913
|
# 2020-05-30, version 7.0.1
|
964
914
|
|
965
915
|
- Fix #1844: clarify the documentation of function `eigs`. Thanks @Lazersmoke.
|
966
916
|
- Fix #1855: Fix error in the documentation for `math.nthRoots(x)`.
|
967
917
|
- Fix #1856: make the library robust against Object prototype pollution.
|
968
918
|
|
969
|
-
|
970
919
|
# 2020-05-07, version 7.0.0
|
971
920
|
|
972
921
|
Breaking changes:
|
973
922
|
|
974
|
-
- Improvements in calculation of the `dot` product of complex values.
|
923
|
+
- Improvements in calculation of the `dot` product of complex values.
|
975
924
|
The first argument is now conjugated. See #1761. Thanks @m93a.
|
976
925
|
- Dropped official support for Node.js v8 which has reached end of life.
|
977
|
-
- Removed all deprecation warnings introduced in v6.
|
926
|
+
- Removed all deprecation warnings introduced in v6.
|
978
927
|
To upgrade smoothly from v5 to v7 or higher, upgrade to v6 first
|
979
928
|
and resolve all deprecation warnings.
|
980
929
|
|
981
|
-
|
982
930
|
# 2020-05-04, version 6.6.5
|
983
931
|
|
984
|
-
- Fix #1834: value `Infinity` cannot be serialized and deserialized.
|
985
|
-
This is solved now with a new `math.replacer` function used as
|
932
|
+
- Fix #1834: value `Infinity` cannot be serialized and deserialized.
|
933
|
+
This is solved now with a new `math.replacer` function used as
|
986
934
|
`JSON.stringify(value, math.replacer)`.
|
987
935
|
- Fix #1842: value `Infinity` not turned into the latex symbol `\\infty`.
|
988
936
|
|
989
|
-
|
990
937
|
# 2020-04-15, version 6.6.4
|
991
938
|
|
992
939
|
- Fix published files containing Windows line endings (CRLF instead of LF).
|
993
940
|
|
994
|
-
|
995
941
|
# 2020-04-10, version 6.6.3
|
996
942
|
|
997
943
|
- Fix #1813: bug in engineering notation for numbers of function `format`,
|
998
944
|
sometimes resulting in needless trailing zeros.
|
999
|
-
- Fix #1808: methods `.toNumber()` and `.toNumeric()` not working on a
|
945
|
+
- Fix #1808: methods `.toNumber()` and `.toNumeric()` not working on a
|
1000
946
|
unitless unit.
|
1001
947
|
- Fix #1645: not being able to use named operators `mod`, `and`, `not`, `or`,
|
1002
948
|
`xor`, `to`, `in` as object keys. Thanks @Veeloxfire.
|
1003
949
|
- Fix `eigs` not using `config.epsilon`.
|
1004
950
|
|
1005
|
-
|
1006
951
|
# 2020-03-29, version 6.6.2
|
1007
952
|
|
1008
|
-
- Fix #1789: Function `eigs` not calculating with BigNumber precision
|
953
|
+
- Fix #1789: Function `eigs` not calculating with BigNumber precision
|
1009
954
|
when input contains BigNumbers.
|
1010
955
|
- Run the build script during npm `prepare`, so you can use the library
|
1011
956
|
directly when installing directly from git. See #1751. Thanks @cinderblock.
|
1012
957
|
|
1013
|
-
|
1014
958
|
# 2020-02-26, version 6.6.1
|
1015
959
|
|
1016
960
|
- Fix #1725: simplify `a/(b/c)`. Thanks @dbramwell.
|
1017
961
|
- Fix examples in documentation of `row` and `column`.
|
1018
962
|
|
1019
|
-
|
1020
963
|
# 2020-02-01, version 6.6.0
|
1021
964
|
|
1022
965
|
- Implemented function `eigs`, see #1705, #542 #1175. Thanks @arkajitmandal.
|
@@ -1027,32 +970,27 @@ Breaking changes:
|
|
1027
970
|
- Add a caret to dependencies (like) `^1.2.3`) to allow downstream updates
|
1028
971
|
without having to await a new release of mathjs.
|
1029
972
|
|
1030
|
-
|
1031
973
|
# 2020-01-08, version 6.5.0
|
1032
974
|
|
1033
975
|
- Implemented `baseName` option for `createUnit`, see #1707.
|
1034
976
|
Thanks @ericman314.
|
1035
977
|
|
1036
|
-
|
1037
978
|
# 2020-01-06, version 6.4.0
|
1038
979
|
|
1039
980
|
- Extended function `dimension` with support for n-dimensional points.
|
1040
981
|
Thanks @Veeloxfire.
|
1041
982
|
|
1042
|
-
|
1043
983
|
# 2019-12-31, version 6.3.0
|
1044
984
|
|
1045
985
|
- Improved performance of `factorial` for `BigNumber` up to a factor two,
|
1046
986
|
see #1687. Thanks @kmdrGroch.
|
1047
987
|
|
1048
|
-
|
1049
988
|
# 2019-11-20, version 6.2.5
|
1050
989
|
|
1051
990
|
- Fixed `IndexNode` using a hardcoded, one-based implementation of `index`,
|
1052
991
|
making it impossible to instantiate a zero-based version of the expression
|
1053
992
|
parser. See #782.
|
1054
993
|
|
1055
|
-
|
1056
994
|
# 2019-11-20, version 6.2.4
|
1057
995
|
|
1058
996
|
- Fixed #1669: function 'qr' threw an error if the pivot was zero,
|
@@ -1061,7 +999,6 @@ Breaking changes:
|
|
1061
999
|
- Work around a bug in complex.js where `sign(0)` returns complex NaN.
|
1062
1000
|
Thanks @harrysarson.
|
1063
1001
|
|
1064
|
-
|
1065
1002
|
# 2019-10-06, version 6.2.3
|
1066
1003
|
|
1067
1004
|
- Fixed #1640: function `mean` not working for units. Thanks @clintonc.
|
@@ -1069,7 +1006,6 @@ Breaking changes:
|
|
1069
1006
|
embedded docs of function `std`.
|
1070
1007
|
- Improved performance of `isPrime`, see #1641. Thanks @arguiot.
|
1071
1008
|
|
1072
|
-
|
1073
1009
|
# 2019-09-23, version 6.2.2
|
1074
1010
|
|
1075
1011
|
- Fixed methods `map` and `clone` not copying the `dotNotation` property of
|
@@ -1078,12 +1014,10 @@ Breaking changes:
|
|
1078
1014
|
- Fixed #1615: error in the docs of `isNumeric`.
|
1079
1015
|
- Fixed #1628: Cannot call methods on empty strings or numbers with value `0`.
|
1080
1016
|
|
1081
|
-
|
1082
1017
|
# 2019-08-31, version 6.2.1
|
1083
1018
|
|
1084
1019
|
- Fixed #1606: function `format` not working for expressions.
|
1085
1020
|
|
1086
|
-
|
1087
1021
|
# 2019-08-28, version 6.2.0
|
1088
1022
|
|
1089
1023
|
- Improved performance of `combinationsWithRep`. Thanks @waseemyusuf.
|
@@ -1091,18 +1025,15 @@ Breaking changes:
|
|
1091
1025
|
- Fix docs referring to `bit` and `byte` instead of `bits` and `bytes`.
|
1092
1026
|
- Updated dependency `typed-function@1.1.1`.
|
1093
1027
|
|
1094
|
-
|
1095
1028
|
# 2019-08-17, version 6.1.0
|
1096
1029
|
|
1097
1030
|
- Implemented function `combinationsWithRep` (see #1329). Thanks @waseemyusuf.
|
1098
1031
|
|
1099
|
-
|
1100
1032
|
# 2019-08-05, version 6.0.4
|
1101
1033
|
|
1102
1034
|
- Fixed #1554, #1565: ES Modules where not transpiled to ES5, giving issues on
|
1103
1035
|
old browsers. Thanks @mockdeep for helping to find a solution.
|
1104
1036
|
|
1105
|
-
|
1106
1037
|
# 2019-07-07, version 6.0.3
|
1107
1038
|
|
1108
1039
|
- Add `unpkg` and `jsdelivr` fields in package.json pointing to UMD build.
|
@@ -1110,26 +1041,23 @@ Breaking changes:
|
|
1110
1041
|
- Fix #1550: nested user defined function not receiving variables of an
|
1111
1042
|
outer user defined function.
|
1112
1043
|
|
1113
|
-
|
1114
1044
|
# 2019-06-11, version 6.0.2
|
1115
1045
|
|
1116
1046
|
- Fix not being able to set configuration after disabling function `import`
|
1117
1047
|
(regression since v6.0.0).
|
1118
1048
|
|
1119
|
-
|
1120
1049
|
# 2019-06-09, version 6.0.1
|
1121
1050
|
|
1122
1051
|
- Fix function reference not published in npm library.
|
1123
1052
|
- Fix function `evaluate` and `parse` missing in generated docs.
|
1124
1053
|
|
1125
|
-
|
1126
1054
|
# 2019-06-08, version 6.0.0
|
1127
1055
|
|
1128
1056
|
!!! BE CAREFUL: BREAKING CHANGES !!!
|
1129
1057
|
|
1130
1058
|
### Most notable changes
|
1131
1059
|
|
1132
|
-
1.
|
1060
|
+
1. Full support for **ES modules**. Support for tree-shaking out of the box.
|
1133
1061
|
|
1134
1062
|
Load all functions:
|
1135
1063
|
|
@@ -1162,14 +1090,13 @@ Breaking changes:
|
|
1162
1090
|
}, config)
|
1163
1091
|
```
|
1164
1092
|
|
1165
|
-
2.
|
1093
|
+
2. Support for **lightweight, number-only** implementations of all functions:
|
1166
1094
|
|
1167
1095
|
```
|
1168
1096
|
import { add, multiply } from 'mathjs/number'
|
1169
1097
|
```
|
1170
1098
|
|
1171
|
-
3.
|
1172
|
-
|
1099
|
+
3. New **dependency injection** solution used under the hood.
|
1173
1100
|
|
1174
1101
|
### Breaking changes
|
1175
1102
|
|
@@ -1249,32 +1176,27 @@ Breaking changes:
|
|
1249
1176
|
and after that rounded the value instead of the other way around.
|
1250
1177
|
- Fix #1473: remove `'use strict'` in every file, not needed anymore.
|
1251
1178
|
|
1252
|
-
|
1253
1179
|
# 2019-05-18, version 5.10.3
|
1254
1180
|
|
1255
1181
|
- Fixed dependency `del` being a dependency instead of devDependency.
|
1256
1182
|
|
1257
|
-
|
1258
1183
|
# 2019-05-18, version 5.10.2
|
1259
1184
|
|
1260
1185
|
- Fix #1515, #1516, #1517: broken package due to a naming conflict in
|
1261
1186
|
the build folder of a util file `typeOf.js` and `typeof.js`.
|
1262
1187
|
Solved by properly cleaning all build folders before building.
|
1263
1188
|
|
1264
|
-
|
1265
1189
|
# 2019-05-17, version 5.10.1
|
1266
1190
|
|
1267
1191
|
- Fix #1512: format using notation `engineering` can give wrong results
|
1268
1192
|
when the value has less significant digits than the number of digits in
|
1269
1193
|
the output.
|
1270
1194
|
|
1271
|
-
|
1272
1195
|
# 2019-05-08, version 5.10.0
|
1273
1196
|
|
1274
1197
|
- Fix `lib/header.js` not having filled in date and version. Thanks @kevjin.
|
1275
1198
|
- Upgraded dependency `decimal.js@10.2.0`, fixing an issue on node.js 12.
|
1276
1199
|
|
1277
|
-
|
1278
1200
|
# 2019-04-08, version 5.9.0
|
1279
1201
|
|
1280
1202
|
- Implemented functions `row` and `column` (see #1413). Thanks @SzechuanSage.
|
@@ -1283,28 +1205,24 @@ Breaking changes:
|
|
1283
1205
|
- Fixed #1465: `node.toHTML()` not correct for unary operators like
|
1284
1206
|
`factorial`.
|
1285
1207
|
|
1286
|
-
|
1287
1208
|
# 2019-03-20, version 5.8.0
|
1288
1209
|
|
1289
1210
|
- Implemented new function `apply`. Thanks @bnlcas.
|
1290
1211
|
- Implemented passing an optional `dimension` argument to `std` and `var`.
|
1291
1212
|
Thanks @bnlcas.
|
1292
1213
|
|
1293
|
-
|
1294
1214
|
# 2019-03-10, version 5.7.0
|
1295
1215
|
|
1296
1216
|
- Implemented support for `pow()` in `derivative`. Thanks @sam-19.
|
1297
1217
|
- Gracefully handle round-off errors in fix, ceil, floor, and range
|
1298
1218
|
(Fixes #1429, see also #1434, #1432). Thanks @ericman314.
|
1299
1219
|
|
1300
|
-
|
1301
1220
|
# 2019-03-02, version 5.6.0
|
1302
1221
|
|
1303
1222
|
- Upgrade decimal.js to v10.1.1 (#1421).
|
1304
1223
|
- Fixed #1418: missing whitespace when stringifying an expression
|
1305
1224
|
containing "not".
|
1306
1225
|
|
1307
|
-
|
1308
1226
|
# 2019-02-20, version 5.5.0
|
1309
1227
|
|
1310
1228
|
- Fixed #1401: methods `map` and `forEach` of `SparseMatrix` not working
|
@@ -1312,7 +1230,6 @@ Breaking changes:
|
|
1312
1230
|
- Fixed #1404: inconsistent rounding of negative numbers.
|
1313
1231
|
- Upgrade tiny-emitter to v2.1.0 (#1397).
|
1314
1232
|
|
1315
|
-
|
1316
1233
|
# 2019-01-25, version 5.4.2
|
1317
1234
|
|
1318
1235
|
- Fixed `math.format` not working for BigNumbers with a precision above
|
@@ -1321,13 +1238,11 @@ Breaking changes:
|
|
1321
1238
|
- Fixed a bug the methods `map`, `forEach`, `traverse`, and `transform`
|
1322
1239
|
of `FunctionNode`.
|
1323
1240
|
|
1324
|
-
|
1325
1241
|
# 2019-01-10, version 5.4.1
|
1326
1242
|
|
1327
1243
|
- Fix #1378: negative bignumbers not formatted correctly.
|
1328
1244
|
- Upgrade fraction.js to version 4.0.12 (#1369).
|
1329
1245
|
|
1330
|
-
|
1331
1246
|
# 2018-12-09, version 5.4.0
|
1332
1247
|
|
1333
1248
|
- Extended sum.js to accept a dimension input to calculate the sum over a
|
@@ -1336,13 +1251,11 @@ Breaking changes:
|
|
1336
1251
|
- Remove side effects caused by `Unit.format` and `Unit.toString`,
|
1337
1252
|
making changes to the unit on execution. Thanks @ericman314.
|
1338
1253
|
|
1339
|
-
|
1340
1254
|
# 2018-12-03, version 5.3.1
|
1341
1255
|
|
1342
1256
|
- Fixed #1336: Unit.toSI() returning units with prefix like `mm` instead
|
1343
1257
|
of `m`. Thanks @ericman314.
|
1344
1258
|
|
1345
|
-
|
1346
1259
|
# 2018-11-29, version 5.3.0
|
1347
1260
|
|
1348
1261
|
- Implemented function `hasNumericValue`. Thanks @Sathish-kumar-Subramani.
|
@@ -1350,7 +1263,6 @@ Breaking changes:
|
|
1350
1263
|
- Fix #1337: `math.format` not working correctly with `{ precision: 0 }`.
|
1351
1264
|
Thanks @dkenul.
|
1352
1265
|
|
1353
|
-
|
1354
1266
|
# 2018-10-30, version 5.2.3
|
1355
1267
|
|
1356
1268
|
- Fixed #1293: non-unicode characters in `escape-latex` giving issues in some
|
@@ -1359,13 +1271,11 @@ Breaking changes:
|
|
1359
1271
|
- Fixed #1304: function `pow` not supporting inputs `pow(Unit, BigNumber)`.
|
1360
1272
|
- Upgraded dependencies (`escape-latex@1.2.0`)
|
1361
1273
|
|
1362
|
-
|
1363
1274
|
# 2018-10-23, version 5.2.2
|
1364
1275
|
|
1365
1276
|
- Fixed #1286: Fixed unit base recognition and formatting for
|
1366
1277
|
user-defined units. Thanks @ericman314.
|
1367
1278
|
|
1368
|
-
|
1369
1279
|
# 2018-10-18, version 5.2.1
|
1370
1280
|
|
1371
1281
|
- Fixed unit `rod` being defined as `5.02921` instead of `5.0292`.
|
@@ -1374,7 +1284,6 @@ Breaking changes:
|
|
1374
1284
|
- Upgraded devDependencies (`@babel/core@7.1.2`, `nyc@13.1.0`,
|
1375
1285
|
`webpack@4.21.0`).
|
1376
1286
|
|
1377
|
-
|
1378
1287
|
# 2018-10-05, version 5.2.0
|
1379
1288
|
|
1380
1289
|
- Implemented support for chained conditionals like `10 < x <= 50`.
|
@@ -1384,7 +1293,6 @@ Breaking changes:
|
|
1384
1293
|
- Fixed #1240: allow units having just a value and no unit.
|
1385
1294
|
Thanks @ericman314.
|
1386
1295
|
|
1387
|
-
|
1388
1296
|
## 2018-09-09, version 5.1.2
|
1389
1297
|
|
1390
1298
|
- Fixed a typo in the docs of `parse`. Thanks @mathiasvr.
|
@@ -1396,7 +1304,6 @@ Breaking changes:
|
|
1396
1304
|
- Upgraded devDependencies (`babel@7`, `karma-webpack@3.0.4`,
|
1397
1305
|
`nyc@13.0.1`, `standard@12.0.0`, `uglify-js@3.4.9`, `webpack@4.17.2`)
|
1398
1306
|
|
1399
|
-
|
1400
1307
|
## 2018-08-21, version 5.1.1
|
1401
1308
|
|
1402
1309
|
- Function `isNumeric` now recognizes more types.
|
@@ -1407,7 +1314,6 @@ Breaking changes:
|
|
1407
1314
|
- Upgraded dependencies (`escape-latex@1.1.1`)
|
1408
1315
|
- Upgraded devDependencies (`webpack@4.17.0`)
|
1409
1316
|
|
1410
|
-
|
1411
1317
|
## 2018-08-12, version 5.1.0
|
1412
1318
|
|
1413
1319
|
- Implemented support for strings enclosed in single quotes.
|
@@ -1416,7 +1322,6 @@ Breaking changes:
|
|
1416
1322
|
- Implemented new `options` argument in `simplify`. Thanks @paulobuchsbaum.
|
1417
1323
|
- Bug fixes in `rationalize`, see #1173. Thanks @paulobuchsbaum.
|
1418
1324
|
|
1419
|
-
|
1420
1325
|
## 2018-07-22, version 5.0.4
|
1421
1326
|
|
1422
1327
|
- Strongly improved the performance of functions `factorial` for numbers.
|
@@ -1425,7 +1330,6 @@ Breaking changes:
|
|
1425
1330
|
- Strongly improved the performance of function `reshape`, thanks to a
|
1426
1331
|
friend of @honeybar.
|
1427
1332
|
|
1428
|
-
|
1429
1333
|
## 2018-07-14, version 5.0.3
|
1430
1334
|
|
1431
1335
|
- Fixed many functions (for example `add` and `subtract`) not working
|
@@ -1439,7 +1343,6 @@ Breaking changes:
|
|
1439
1343
|
Thanks @harrysarson.
|
1440
1344
|
- Changed `decimal.js` import to ES6. Thanks @weinshel.
|
1441
1345
|
|
1442
|
-
|
1443
1346
|
## 2018-07-07, version 5.0.2
|
1444
1347
|
|
1445
1348
|
- Fixed #1136: rocket trajectory example broken (since v4.0.0).
|
@@ -1453,16 +1356,14 @@ Breaking changes:
|
|
1453
1356
|
Thanks @ChristopherChudzicki.
|
1454
1357
|
- Fixed a broken link in the documentation on units. Thanks @stropitek.
|
1455
1358
|
- Upgraded dependencies (`typed-function@1.0.4`, `complex.js@2.0.11`).
|
1456
|
-
- Upgraded devDependencies (`babel-loader@7.1.5
|
1359
|
+
- Upgraded devDependencies (`babel-loader@7.1.5`, `uglify-js@3.4.3`,
|
1457
1360
|
`expr-eval@1.2.2`, `webpack@4.15.1`).
|
1458
1361
|
|
1459
|
-
|
1460
1362
|
## 2018-07-01, version 5.0.1
|
1461
1363
|
|
1462
1364
|
- Improved error messaging when converting units. Thanks @gap777.
|
1463
1365
|
- Upgraded devDependencies (`kerma`, `uglify-js`, `webpack`).
|
1464
1366
|
|
1465
|
-
|
1466
1367
|
## 2018-06-16, version 5.0.0
|
1467
1368
|
|
1468
1369
|
!!! BE CAREFUL: BREAKING CHANGES !!!
|
@@ -1479,7 +1380,7 @@ Breaking changes:
|
|
1479
1380
|
- Upgraded dependencies:
|
1480
1381
|
- `decimal.js` from `9.0.1` to `10.0.1`
|
1481
1382
|
- Upgraded dev dependencies
|
1482
|
-
- Changed code style to https://standardjs.com
|
1383
|
+
- Changed code style to <https://standardjs.com/>, run linter on `npm test`.
|
1483
1384
|
See #1110.
|
1484
1385
|
- Dropped support for bower. Use npm or an other package manages instead.
|
1485
1386
|
- Dropped support for (non-primitive) instances of `Number`, `Boolean`, and
|
@@ -1490,7 +1391,6 @@ Breaking changes:
|
|
1490
1391
|
- Fixed #1103: Calling `toTex` on node that contains `derivative` causing
|
1491
1392
|
an exception. Thanks @joelhoover.
|
1492
1393
|
|
1493
|
-
|
1494
1394
|
## 2018-06-02, version 4.4.2
|
1495
1395
|
|
1496
1396
|
- Drastically improved the performance of `det`. Thanks @ericman314.
|
@@ -1499,18 +1399,15 @@ Breaking changes:
|
|
1499
1399
|
- Fixed #1122 a regression in function `inv` (since `v4.4.1`).
|
1500
1400
|
Thanks @ericman314.
|
1501
1401
|
|
1502
|
-
|
1503
1402
|
## 2018-05-29, version 4.4.1
|
1504
1403
|
|
1505
1404
|
- Fixed #1109: a bug in `inv` when dealing with values close to zero.
|
1506
1405
|
Thanks @ericman314.
|
1507
1406
|
|
1508
|
-
|
1509
1407
|
## 2018-05-28, version 4.4.0
|
1510
1408
|
|
1511
1409
|
- Implemented functions `equalText` and `compareText`. See #1085.
|
1512
1410
|
|
1513
|
-
|
1514
1411
|
## 2018-05-21, version 4.3.0
|
1515
1412
|
|
1516
1413
|
- Implemented matrix exponential `math.expm`. Thanks @ericman314.
|
@@ -1520,7 +1417,6 @@ Breaking changes:
|
|
1520
1417
|
- `fraction.js` from `v4.0.4` to `v4.0.8`.
|
1521
1418
|
- Upgraded devDependencies (`mocha`, `uglify-js`, `webpack`).
|
1522
1419
|
|
1523
|
-
|
1524
1420
|
## 2018-05-05, version 4.2.2
|
1525
1421
|
|
1526
1422
|
- Fixed calculating the Frobenius norm of complex matrices correctly,
|
@@ -1528,12 +1424,10 @@ Breaking changes:
|
|
1528
1424
|
- Fixed #1076: cannot use mathjs in React VR by updating to
|
1529
1425
|
`escape-latex@1.0.3`.
|
1530
1426
|
|
1531
|
-
|
1532
1427
|
## 2018-05-02, version 4.2.1
|
1533
1428
|
|
1534
1429
|
- Fixed `dist/math.js` being minified.
|
1535
1430
|
|
1536
|
-
|
1537
1431
|
## 2018-05-02, version 4.2.0
|
1538
1432
|
|
1539
1433
|
- Implemented function `math.sqrtm`. Thanks @ferrolho.
|
@@ -1543,7 +1437,6 @@ Breaking changes:
|
|
1543
1437
|
- Upgraded development dependencies.
|
1544
1438
|
- Dropped integration testing on nodejs v4.
|
1545
1439
|
|
1546
|
-
|
1547
1440
|
## 2018-04-18, version 4.1.2
|
1548
1441
|
|
1549
1442
|
- Fixed #1082: implemented support for unit plurals `decades`, `centuries`,
|
@@ -1551,13 +1444,11 @@ Breaking changes:
|
|
1551
1444
|
- Fixed #1083: units `decade` and `watt` having a wrong name when stringifying.
|
1552
1445
|
Thanks @ericman314.
|
1553
1446
|
|
1554
|
-
|
1555
1447
|
## 2018-04-11, version 4.1.1
|
1556
1448
|
|
1557
1449
|
- Fixed #1063: derivative not working when resolving a variable with unary
|
1558
1450
|
minus like `math.derivative('-x', 'x')`.
|
1559
1451
|
|
1560
|
-
|
1561
1452
|
## 2018-04-08, version 4.1.0
|
1562
1453
|
|
1563
1454
|
- Extended function `math.print` with support for arrays and matrices.
|
@@ -1569,13 +1460,11 @@ Breaking changes:
|
|
1569
1460
|
- Fixed #1072: Added support for long and short prefixes for the unit `bar`
|
1570
1461
|
(i.e. `millibar` and `mbar`).
|
1571
1462
|
|
1572
|
-
|
1573
1463
|
## 2018-03-17, version 4.0.1
|
1574
1464
|
|
1575
1465
|
- Fixed #1062: mathjs not working on ES5 browsers like IE11 and Safari 9.3.
|
1576
1466
|
- Fixed #1061: `math.unit` not accepting input like `1/s`.
|
1577
1467
|
|
1578
|
-
|
1579
1468
|
## 2018-02-25, version 4.0.0
|
1580
1469
|
|
1581
1470
|
!!! BE CAREFUL: BREAKING CHANGES !!!
|
@@ -1587,52 +1476,55 @@ Breaking changes (see also #682):
|
|
1587
1476
|
The compiler of the expression parser is replaced with one that doesn't use
|
1588
1477
|
`eval` internally. See #1019. This means:
|
1589
1478
|
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1479
|
+
- a slightly improved performance on most browsers.
|
1480
|
+
- less risk of security exploits.
|
1481
|
+
- the code of the new compiler is easier to understand, maintain, and debug.
|
1593
1482
|
|
1594
1483
|
Breaking change here: When using custom nodes in the expression parser,
|
1595
1484
|
the syntax of `_compile` has changed. This is an undocumented feature though.
|
1596
1485
|
|
1597
1486
|
- **Parsed expressions**
|
1598
1487
|
|
1599
|
-
|
1488
|
+
- The class `ConstantNode` is changed such that it just holds a value
|
1600
1489
|
instead of holding a stringified value and it's type.
|
1601
1490
|
`ConstantNode(valueStr, valueType`) is now `ConstantNode(value)`
|
1602
1491
|
Stringification uses `math.format`, which may result in differently
|
1603
1492
|
formatted numeric output.
|
1604
1493
|
|
1605
|
-
|
1494
|
+
- The constants `true`, `false`, `null`, `undefined`, `NaN`, `Infinity`,
|
1606
1495
|
and `uninitialized` are now parsed as ConstantNodes instead of
|
1607
1496
|
SymbolNodes in the expression parser. See #833.
|
1608
1497
|
|
1609
1498
|
- **Implicit multiplication**
|
1610
1499
|
|
1611
|
-
|
1500
|
+
- Changed the behavior of implicit multiplication to have higher
|
1612
1501
|
precedence than explicit multiplication and division, except in
|
1613
1502
|
a number of specific cases. This gives a more natural behavior
|
1614
1503
|
for implicit multiplications. For example `24h / 6h` now returns `4`,
|
1615
1504
|
whilst `1/2 kg` evaluates to `0.5 kg`. Thanks @ericman314. See: #792.
|
1616
|
-
Detailed documentation: https://github.com/josdejong/mathjs/blob/v4/docs/expressions/syntax.md#implicit-multiplication
|
1505
|
+
Detailed documentation: <https://github.com/josdejong/mathjs/blob/v4/docs/expressions/syntax.md#implicit-multiplication>.
|
1617
1506
|
|
1618
|
-
|
1507
|
+
- Immediately invoking a function returned by a function like `partialAdd(2)(3)`
|
1619
1508
|
is no longer supported, instead these expressions are evaluated as
|
1620
1509
|
an implicit multiplication `partialAdd(2) * (3)`. See #1035.
|
1621
1510
|
|
1622
1511
|
- **String formatting**
|
1623
1512
|
|
1624
|
-
|
1513
|
+
- In function `math.format`, the options `{exponential: {lower: number, upper: number}}`
|
1625
1514
|
(where `lower` and `upper` are values) are replaced with `{lowerExp: number, upperExp: number}`
|
1626
1515
|
(where `lowerExp` and `upperExp` are exponents). See #676. For example:
|
1516
|
+
|
1627
1517
|
```js
|
1628
1518
|
math.format(2000, {exponential: {lower: 1e-2, upper: 1e2}})
|
1629
1519
|
```
|
1520
|
+
|
1630
1521
|
is now:
|
1522
|
+
|
1631
1523
|
```js
|
1632
1524
|
math.format(2000, {lowerExp: -2, upperExp: 2})
|
1633
1525
|
```
|
1634
1526
|
|
1635
|
-
|
1527
|
+
- In function `math.format`, the option `notation: 'fixed'` no longer rounds to
|
1636
1528
|
zero digits when no precision is specified: it leaves the digits as is.
|
1637
1529
|
See #676.
|
1638
1530
|
|
@@ -1653,17 +1545,17 @@ Breaking changes (see also #682):
|
|
1653
1545
|
|
1654
1546
|
- **Null**
|
1655
1547
|
|
1656
|
-
|
1548
|
+
- `null` is no longer implicitly casted to a number `0`, so input like
|
1657
1549
|
`math.add(2, null)` is no longer supported. See #830, #353.
|
1658
1550
|
|
1659
|
-
|
1551
|
+
- Dropped constant `uninitialized`, which was used to initialize
|
1660
1552
|
leave new entries undefined when resizing a matrix is removed.
|
1661
1553
|
Use `undefined` instead to indicate entries that are not explicitly
|
1662
1554
|
set. See #833.
|
1663
1555
|
|
1664
1556
|
- **New typed-function library**
|
1665
1557
|
|
1666
|
-
|
1558
|
+
- The `typed-function` library used to check the input types
|
1667
1559
|
of functions is completely rewritten and doesn't use `eval` under
|
1668
1560
|
the hood anymore. This means a reduced security risk, and easier
|
1669
1561
|
to debug code. The API is the same, but error messages may differ
|
@@ -1683,7 +1575,6 @@ Non breaking changes:
|
|
1683
1575
|
- Fixed #1014: `derivative` silently dropping additional arguments
|
1684
1576
|
from operator nodes with more than two arguments.
|
1685
1577
|
|
1686
|
-
|
1687
1578
|
## 2018-02-07, version 3.20.2
|
1688
1579
|
|
1689
1580
|
- Upgraded to `typed-function@0.10.7` (bug-fix release).
|
@@ -1692,19 +1583,17 @@ Non breaking changes:
|
|
1692
1583
|
- Fixed #995: spaces and underscores not property being escaped
|
1693
1584
|
in `toTex()`. Thanks @FSMaxB.
|
1694
1585
|
|
1695
|
-
|
1696
1586
|
## 2018-01-17, version 3.20.1
|
1697
1587
|
|
1698
1588
|
- Fixed #1018: `simplifyCore` failing in some cases with parentheses.
|
1699
1589
|
Thanks @firepick1.
|
1700
1590
|
|
1701
|
-
|
1702
1591
|
## 2018-01-14, version 3.20.0
|
1703
1592
|
|
1704
1593
|
- Implement support for 3 or more arguments for operators `+` and `*` in
|
1705
1594
|
`derivative`. Thanks @HarrySarson. See #1002.
|
1706
1595
|
- Fixed `simplify` evalution of `simplify` of functions with more than two
|
1707
|
-
arguments wrongly: `simplify('f(x, y, z)') evaluated to
|
1596
|
+
arguments wrongly: `simplify('f(x, y, z)') evaluated to`f(f(x, y), z)`
|
1708
1597
|
instead of `f(x, y, z)`. Thanks @joelhoover.
|
1709
1598
|
- Fixed `simplify` throwing an error in some cases when simplifying unknown
|
1710
1599
|
functions, for example `simplify('f(4)')`. Thanks @joelhoover.
|
@@ -1712,7 +1601,6 @@ Non breaking changes:
|
|
1712
1601
|
minus, like `0 - -x`. Thanks @joelhoover.
|
1713
1602
|
- Fixed an error in an example in the documentation of `xor`. Thanks @denisx.
|
1714
1603
|
|
1715
|
-
|
1716
1604
|
## 2018-01-06, version 3.19.0
|
1717
1605
|
|
1718
1606
|
- Extended functions `distance` and `intersect` with support for BigNumbers.
|
@@ -1720,22 +1608,22 @@ Non breaking changes:
|
|
1720
1608
|
- Improvements in function `simplify`: added a rule that allows combining
|
1721
1609
|
of like terms in embedded quantities. Thanks @joelhoover.
|
1722
1610
|
|
1723
|
-
|
1724
1611
|
## 2017-12-28, version 3.18.1
|
1725
1612
|
|
1726
1613
|
- Fixed #998: An issue with simplifying an expression containing a subtraction.
|
1727
1614
|
Thanks @firepick1.
|
1728
1615
|
|
1729
|
-
|
1730
1616
|
## 2017-12-16, version 3.18.0
|
1731
1617
|
|
1732
1618
|
- Implemented function `rationalize`. Thanks @paulobuchsbaum.
|
1733
1619
|
- Upgraded dependencies:
|
1620
|
+
|
1734
1621
|
```
|
1735
1622
|
decimal.js 7.2.3 → 9.0.1 (no breaking changes affecting mathjs)
|
1736
1623
|
fraction.js 4.0.2 → 4.0.4
|
1737
1624
|
tiny-emitter 2.0.0 → 2.0.2
|
1738
1625
|
```
|
1626
|
+
|
1739
1627
|
- Upgraded dev dependencies.
|
1740
1628
|
- Fixed #975: a wrong example in the docs of lusolve.
|
1741
1629
|
- Fixed #983: `pickRandom` returning an array instead of single value
|
@@ -1743,7 +1631,6 @@ Non breaking changes:
|
|
1743
1631
|
- Fixed #969: preven issues with yarn autoclean by renaming an
|
1744
1632
|
interally used folder "docs" to "embeddedDocs".
|
1745
1633
|
|
1746
|
-
|
1747
1634
|
## 2017-11-18, version 3.17.0
|
1748
1635
|
|
1749
1636
|
- Improved `simplify` for nested exponentiations. Thanks @IvanVergiliev.
|
@@ -1754,20 +1641,17 @@ Non breaking changes:
|
|
1754
1641
|
replaced by using unicode characters when creating an object. No known exploit,
|
1755
1642
|
but could possibly allow arbitrary code execution. Thanks Masato Kinugawa.
|
1756
1643
|
|
1757
|
-
|
1758
1644
|
## 2017-10-18, version 3.16.5
|
1759
1645
|
|
1760
1646
|
- Fixed #954: Functions `add` and `multiply` not working when
|
1761
1647
|
passing three or more arrays or matrices.
|
1762
1648
|
|
1763
|
-
|
1764
1649
|
## 2017-10-01, version 3.16.4
|
1765
1650
|
|
1766
1651
|
- Fixed #948, #949: function `simplify` returning wrong results or
|
1767
1652
|
running into an infinite recursive loop. Thanks @ericman314.
|
1768
1653
|
- Fixed many small issues in the embedded docs. Thanks @Schnark.
|
1769
1654
|
|
1770
|
-
|
1771
1655
|
## 2017-08-28, version 3.16.3
|
1772
1656
|
|
1773
1657
|
- Fixed #934: Wrong simplification of unary minus. Thanks @firepick1.
|
@@ -1776,7 +1660,6 @@ Non breaking changes:
|
|
1776
1660
|
numbers having just one of their parts (re/im) being `NaN`.
|
1777
1661
|
- Fixed #929: `FibonacciHeap.isEmpty` returning wrong result.
|
1778
1662
|
|
1779
|
-
|
1780
1663
|
## 2017-08-20, version 3.16.2
|
1781
1664
|
|
1782
1665
|
- Fixed #924: a regression in `simplify` not accepting the signature
|
@@ -1784,7 +1667,6 @@ Non breaking changes:
|
|
1784
1667
|
- Fixed missing parenthesis when stringifying expressions containing
|
1785
1668
|
implicit multiplications (see #922). Thanks @FSMaxB.
|
1786
1669
|
|
1787
|
-
|
1788
1670
|
## 2017-08-12, version 3.16.1
|
1789
1671
|
|
1790
1672
|
- For security reasons, type checking is now done in a more strict
|
@@ -1797,7 +1679,6 @@ Non breaking changes:
|
|
1797
1679
|
immediately invoked function assignment not being wrapped in
|
1798
1680
|
parenthesis (for example `(f(x) = x^2)(4)`).
|
1799
1681
|
|
1800
|
-
|
1801
1682
|
## 2017-08-06, version 3.16.0
|
1802
1683
|
|
1803
1684
|
- Significant performance improvements in `math.simplify`.
|
@@ -1807,7 +1688,6 @@ Non breaking changes:
|
|
1807
1688
|
- Fixed #912: math.js didn't work on IE10 anymore (regression
|
1808
1689
|
since 3.15.0).
|
1809
1690
|
|
1810
|
-
|
1811
1691
|
## 2017-07-29, version 3.15.0
|
1812
1692
|
|
1813
1693
|
- Added support for the dollar character `$` in symbol names (see #895).
|
@@ -1822,19 +1702,16 @@ Non breaking changes:
|
|
1822
1702
|
and `forEach`.
|
1823
1703
|
- Index and original array/matrix not passed in `map` and `filter`.
|
1824
1704
|
|
1825
|
-
|
1826
1705
|
## 2017-07-05, version 3.14.2
|
1827
1706
|
|
1828
1707
|
- Upgraded to `fraction.js@4.0.2`
|
1829
1708
|
- Fixed #891 using BigNumbers not working in browser environments.
|
1830
1709
|
|
1831
|
-
|
1832
1710
|
## 2017-06-30, version 3.14.1
|
1833
1711
|
|
1834
1712
|
- Reverted to `fraction.js@4.0.0`, there is an issue with `4.0.1`
|
1835
1713
|
in the browser.
|
1836
1714
|
|
1837
|
-
|
1838
1715
|
## 2017-06-30, version 3.14.0
|
1839
1716
|
|
1840
1717
|
- Implemented set methods `setCartesian`, `setDifference`,
|
@@ -1854,14 +1731,12 @@ Non breaking changes:
|
|
1854
1731
|
- More informative error message when using single quotes instead of
|
1855
1732
|
double quotes around a string. Thanks @HarrySarson.
|
1856
1733
|
|
1857
|
-
|
1858
1734
|
## 2017-05-27, version 3.13.3
|
1859
1735
|
|
1860
1736
|
- Fixed a bug in function `intersection` of line and plane.
|
1861
1737
|
Thanks @viclai.
|
1862
1738
|
- Fixed security vulnerabilities.
|
1863
1739
|
|
1864
|
-
|
1865
1740
|
## 2017-05-26, version 3.13.2
|
1866
1741
|
|
1867
1742
|
- Disabled function `chain` inside the expression parser for security
|
@@ -1870,14 +1745,12 @@ Non breaking changes:
|
|
1870
1745
|
from Arrays correctly. (like `math.eval('arr[1]', {arr: [math.bignumber(2)]})`.
|
1871
1746
|
- Fixed #861: physical constants not available in the expression parser.
|
1872
1747
|
|
1873
|
-
|
1874
1748
|
## 2017-05-12, version 3.13.1
|
1875
1749
|
|
1876
1750
|
- Fixed creating units with an alias not working within the expression
|
1877
1751
|
parser.
|
1878
1752
|
- Fixed security vulnerabilities. Thanks Sam.
|
1879
1753
|
|
1880
|
-
|
1881
1754
|
## 2017-05-12, version 3.13.0
|
1882
1755
|
|
1883
1756
|
- Command line application can now evaluate inline expressions
|
@@ -1890,17 +1763,14 @@ Non breaking changes:
|
|
1890
1763
|
- Fixed #838: Function `simplify` now supports constants like `e`.
|
1891
1764
|
Thanks @tetslee.
|
1892
1765
|
|
1893
|
-
|
1894
1766
|
## 2017-05-05, version 3.12.3
|
1895
1767
|
|
1896
1768
|
- Fixed security vulnerabilities. Thanks Dan and Sam.
|
1897
1769
|
|
1898
|
-
|
1899
1770
|
## 2017-04-30, version 3.12.2
|
1900
1771
|
|
1901
1772
|
- Added a rocket trajectory optimization example.
|
1902
1773
|
|
1903
|
-
|
1904
1774
|
## 2017-04-24, version 3.12.1
|
1905
1775
|
|
1906
1776
|
- Fixed #804
|
@@ -1909,13 +1779,11 @@ Non breaking changes:
|
|
1909
1779
|
- Fixed security vulnerabilities in the expression parser.
|
1910
1780
|
Thanks Sam and Dan.
|
1911
1781
|
|
1912
|
-
|
1913
1782
|
## 2017-04-17, version 3.12.0
|
1914
1783
|
|
1915
1784
|
- Implemented QR decomposition, function `math.qr`. Thanks @HarrySarson.
|
1916
1785
|
- Fixed #824: Calling `math.random()` freezes IE and node.js.
|
1917
1786
|
|
1918
|
-
|
1919
1787
|
## 2017-04-08, version 3.11.5
|
1920
1788
|
|
1921
1789
|
- More security measures in the expression parser.
|
@@ -1925,28 +1793,23 @@ Non breaking changes:
|
|
1925
1793
|
objects, not on classes, arrays, and functions anymore.
|
1926
1794
|
- Accessing methods is restricted to a set of known, safe methods.
|
1927
1795
|
|
1928
|
-
|
1929
1796
|
## 2017-04-03, version 3.11.4
|
1930
1797
|
|
1931
1798
|
- Fixed a security vulnerability in the expression parser. Thanks @xfix.
|
1932
1799
|
|
1933
|
-
|
1934
1800
|
## 2017-04-03, version 3.11.3
|
1935
1801
|
|
1936
1802
|
- Fixed a security vulnerability in the expression parser. Thanks @xfix.
|
1937
1803
|
|
1938
|
-
|
1939
1804
|
## 2017-04-03, version 3.11.2
|
1940
1805
|
|
1941
1806
|
- Fixed a security vulnerability in the expression parser. Thanks @xfix.
|
1942
1807
|
|
1943
|
-
|
1944
1808
|
## 2017-04-02, version 3.11.1
|
1945
1809
|
|
1946
1810
|
- Fixed security vulnerabilities in the expression parser.
|
1947
1811
|
Thanks Joe Vennix and @xfix.
|
1948
1812
|
|
1949
|
-
|
1950
1813
|
## 2017-04-02, version 3.11.0
|
1951
1814
|
|
1952
1815
|
- Implemented method Unit.toSI() to convert a unit to base SI units.
|
@@ -1954,25 +1817,21 @@ Non breaking changes:
|
|
1954
1817
|
- Fixed #821, #822: security vulnerabilities in the expression parser.
|
1955
1818
|
Thanks @comex and @xfix.
|
1956
1819
|
|
1957
|
-
|
1958
1820
|
## 2017-03-31, version 3.10.3
|
1959
1821
|
|
1960
1822
|
- More security fixes related to the ones fixed in `v3.10.2`.
|
1961
1823
|
|
1962
|
-
|
1963
1824
|
## 2017-03-31, version 3.10.2
|
1964
1825
|
|
1965
1826
|
- Fixed a security vulnerability in the expression parser allowing
|
1966
1827
|
execution of arbitrary JavaScript. Thanks @CapacitorSet and @denvit.
|
1967
1828
|
|
1968
|
-
|
1969
1829
|
## 2017-03-26, version 3.10.1
|
1970
1830
|
|
1971
1831
|
- Fixed `xgcd` for negative values. Thanks @litmit.
|
1972
1832
|
- Fixed #807: function transform of existing functions not being removed when
|
1973
1833
|
overriding such a function.
|
1974
1834
|
|
1975
|
-
|
1976
1835
|
## 2017-03-05, version 3.10.0
|
1977
1836
|
|
1978
1837
|
- Implemented function `reshape`. Thanks @patgrasso and @ericman314.
|
@@ -1982,19 +1841,16 @@ Non breaking changes:
|
|
1982
1841
|
- Dropped support for component package manager (which became deprecated about
|
1983
1842
|
one and a half year ago).
|
1984
1843
|
|
1985
|
-
|
1986
1844
|
## 2017-02-22, version 3.9.3
|
1987
1845
|
|
1988
1846
|
- Fixed #797: issue with production builds of React Native projects.
|
1989
1847
|
- Fixed `math.round` not accepting inputs `NaN`, `Infinity`, `-Infinity`.
|
1990
1848
|
- Upgraded all dependencies.
|
1991
1849
|
|
1992
|
-
|
1993
1850
|
## 2017-02-16, version 3.9.2
|
1994
1851
|
|
1995
1852
|
- Fixed #795: Parse error in case of a multi-line expression with just comments.
|
1996
1853
|
|
1997
|
-
|
1998
1854
|
## 2017-02-06, version 3.9.1
|
1999
1855
|
|
2000
1856
|
- Fixed #789: Math.js not supporting conversion of `string` to `BigNumber`,
|
@@ -2003,7 +1859,6 @@ Non breaking changes:
|
|
2003
1859
|
functions via `scope` to functions having `rawArgs = true`.
|
2004
1860
|
- Small fixes in the docs. Thanks @HarrySarson.
|
2005
1861
|
|
2006
|
-
|
2007
1862
|
## 2017-01-23, version 3.9.0
|
2008
1863
|
|
2009
1864
|
- Implemented support for algebra: powerful new functions `simplify` and
|
@@ -2013,14 +1868,12 @@ Non breaking changes:
|
|
2013
1868
|
- Fixed #765: `FunctionAssignmentNode.toString()` returning a string
|
2014
1869
|
incompatible with the function assignment syntax.
|
2015
1870
|
|
2016
|
-
|
2017
1871
|
## 2016-12-15, version 3.8.1
|
2018
1872
|
|
2019
1873
|
- Implemented function `mad` (median absolute deviation). Thanks @ruhleder.
|
2020
1874
|
- Fixed #762: expression parser failing to invoke a function returned
|
2021
1875
|
by a function.
|
2022
1876
|
|
2023
|
-
|
2024
1877
|
## 2016-11-18, version 3.8.0
|
2025
1878
|
|
2026
1879
|
- Functions `add` and `multiply` now accept more than two arguments. See #739.
|
@@ -2035,7 +1888,6 @@ Non breaking changes:
|
|
2035
1888
|
- Fixed #749: Units `rad`, `deg`, and `grad` can now have prefixes like `millirad`.
|
2036
1889
|
- Some fixes in the docs and comments of examples. Thanks @HarrySarson.
|
2037
1890
|
|
2038
|
-
|
2039
1891
|
## 2016-11-05, version 3.7.0
|
2040
1892
|
|
2041
1893
|
- Implemented method `Node.equals(other)` for all nodes of the expression parser.
|
@@ -2044,7 +1896,6 @@ Non breaking changes:
|
|
2044
1896
|
- Implicit conversions between Fractions and BigNumbers throw a neat error now
|
2045
1897
|
(See #710).
|
2046
1898
|
|
2047
|
-
|
2048
1899
|
## 2016-10-21, version 3.6.0
|
2049
1900
|
|
2050
1901
|
- Implemented function `erf()`. THanks @patgrasso.
|
@@ -2058,23 +1909,19 @@ Non breaking changes:
|
|
2058
1909
|
like `-2 2` and `2^3 4` (right after the second value of an operator).
|
2059
1910
|
- Fixed #688: Describe allowed variable names in the docs.
|
2060
1911
|
|
2061
|
-
|
2062
1912
|
## 2016-09-21, version 3.5.3
|
2063
1913
|
|
2064
1914
|
- Some more fixes regarding numbers ending with a decimal mark (like `2.`).
|
2065
1915
|
|
2066
|
-
|
2067
1916
|
## 2016-09-20, version 3.5.2
|
2068
1917
|
|
2069
1918
|
- Fixed numbers ending with a decimal mark (like `2.`) not being supported by
|
2070
1919
|
the parser, solved the underlying ambiguity in the parser. See #707, #711.
|
2071
1920
|
|
2072
|
-
|
2073
1921
|
## 2016-09-12, version 3.5.1
|
2074
1922
|
|
2075
1923
|
- Removed a left over console.log statement. Thanks @eknkc.
|
2076
1924
|
|
2077
|
-
|
2078
1925
|
## 2016-09-07, version 3.5.0
|
2079
1926
|
|
2080
1927
|
- Comments of expressions are are now stored in the parsed nodes. See #690.
|
@@ -2083,20 +1930,17 @@ Non breaking changes:
|
|
2083
1930
|
- Fixed #707: The expression parser no longer accepts numbers ending with a dot
|
2084
1931
|
like `2.`.
|
2085
1932
|
|
2086
|
-
|
2087
1933
|
## 2016-08-08, version 3.4.1
|
2088
1934
|
|
2089
1935
|
- Fixed broken bundle files (`dist/math.js`, `dist/math.min.js`).
|
2090
1936
|
- Fixed some layout issues in the function reference docs.
|
2091
1937
|
|
2092
|
-
|
2093
1938
|
## 2016-08-07, version 3.4.0
|
2094
1939
|
|
2095
1940
|
- Implemented support for custom units using `createUnit`. Thanks @ericman314.
|
2096
1941
|
- Implemented function `splitUnits`. Thanks @ericman314.
|
2097
1942
|
- Implemented function `isPrime`. Thanks @MathBunny.
|
2098
1943
|
|
2099
|
-
|
2100
1944
|
## 2016-07-05, version 3.3.0
|
2101
1945
|
|
2102
1946
|
- Implemented function `isNaN`.
|
@@ -2107,13 +1951,11 @@ Non breaking changes:
|
|
2107
1951
|
- Fixed #665: functions `map`, `forEach`, and `filter` now invoke callbacks
|
2108
1952
|
which are a typed-function with the correct number of arguments.
|
2109
1953
|
|
2110
|
-
|
2111
1954
|
## 2016-04-26, version 3.2.1
|
2112
1955
|
|
2113
1956
|
- Fixed #651: unable to perform calculations on "Unit-less" units.
|
2114
1957
|
- Fixed matrix.subset mutating the replacement matrix when unsqueezing it.
|
2115
1958
|
|
2116
|
-
|
2117
1959
|
## 2016-04-16, version 3.2.0
|
2118
1960
|
|
2119
1961
|
- Implemented #644: method `Parser.getAll()` to retrieve all defined variables.
|
@@ -2127,7 +1969,6 @@ Non breaking changes:
|
|
2127
1969
|
- Fixed #645: Added documentation about `engineering` notation of function
|
2128
1970
|
`math.format`.
|
2129
1971
|
|
2130
|
-
|
2131
1972
|
## 2016-04-03, version 3.1.4
|
2132
1973
|
|
2133
1974
|
- Using ES6 Math functions like `Math.sinh`, `Math.cbrt`, `Math.sign`, etc when
|
@@ -2141,17 +1982,14 @@ Non breaking changes:
|
|
2141
1982
|
- Fixed #625: Unit `in` (`inch`) not always working due to ambiguity with
|
2142
1983
|
the operator `a in b` (alias of `a to b`).
|
2143
1984
|
|
2144
|
-
|
2145
1985
|
## 2016-03-24, version 3.1.3
|
2146
1986
|
|
2147
1987
|
- Fix broken bundle.
|
2148
1988
|
|
2149
|
-
|
2150
1989
|
## 2016-03-24, version 3.1.2
|
2151
1990
|
|
2152
1991
|
- Fix broken npm release.
|
2153
1992
|
|
2154
|
-
|
2155
1993
|
## 2016-03-24, version 3.1.1
|
2156
1994
|
|
2157
1995
|
- Fixed #621: a bug in parsing implicit multiplications like `(2)(3)+4`.
|
@@ -2160,7 +1998,6 @@ Non breaking changes:
|
|
2160
1998
|
- Throw an error when functions `min`, `max`, `mean`, or `median` are invoked
|
2161
1999
|
with multiple matrices as arguments (see #598).
|
2162
2000
|
|
2163
|
-
|
2164
2001
|
## 2016-03-19, version 3.1.0
|
2165
2002
|
|
2166
2003
|
- Hide multiplication operator by default when outputting `toTex` and `toString`
|
@@ -2172,7 +2009,6 @@ Non breaking changes:
|
|
2172
2009
|
- Added automatic conversions from `boolean` and `null` to `Fraction`,
|
2173
2010
|
and conversions from `Fraction` to `Complex`.
|
2174
2011
|
|
2175
|
-
|
2176
2012
|
## 2016-03-04, version 3.0.0
|
2177
2013
|
|
2178
2014
|
### breaking changes
|
@@ -2235,7 +2071,6 @@ Non breaking changes:
|
|
2235
2071
|
- Fixed angle units `deg`, `rad`, `grad`, `cycle`, `arcsec`, and `arcmin` not
|
2236
2072
|
being defined as BigNumbers when configuring to use BigNumbers.
|
2237
2073
|
|
2238
|
-
|
2239
2074
|
## 2016-02-03, version 2.7.0
|
2240
2075
|
|
2241
2076
|
- Added more unit aliases for time: `secs`, `mins`, `hr`, `hrs`. See #551.
|
@@ -2244,7 +2079,6 @@ Non breaking changes:
|
|
2244
2079
|
- Fixed #546: Cannot import BigNumber, Fraction, Matrix, Array.
|
2245
2080
|
Thanks @brettjurgens.
|
2246
2081
|
|
2247
|
-
|
2248
2082
|
## 2016-01-08, version 2.6.0
|
2249
2083
|
|
2250
2084
|
- Implemented (complex) units `VA` and `VAR`.
|
@@ -2256,7 +2090,6 @@ Non breaking changes:
|
|
2256
2090
|
of the correct subset.
|
2257
2091
|
- Fixed #536: A bug in an internal method used for sparse matrices.
|
2258
2092
|
|
2259
|
-
|
2260
2093
|
## 2015-12-05, version 2.5.0
|
2261
2094
|
|
2262
2095
|
- Implemented support for numeric types `Fraction` and `BigNumber` in units.
|
@@ -2268,14 +2101,12 @@ Non breaking changes:
|
|
2268
2101
|
function definition.
|
2269
2102
|
- Fixed: Function `number` didn't support `Fraction` as input.
|
2270
2103
|
|
2271
|
-
|
2272
2104
|
## 2015-11-14, version 2.4.2
|
2273
2105
|
|
2274
2106
|
- Fixed #502: Issue with `format` in some JavaScript engines.
|
2275
2107
|
- Fixed #503: Removed trailing commas and the use of keyword `import` as
|
2276
2108
|
property, as this gives issues with old JavaScript engines.
|
2277
2109
|
|
2278
|
-
|
2279
2110
|
## 2015-10-29, version 2.4.1
|
2280
2111
|
|
2281
2112
|
- Fixed #480: `nthRoot` not working on Internet Explorer (up to IE11).
|
@@ -2292,7 +2123,6 @@ Non breaking changes:
|
|
2292
2123
|
- Fixed: removed memoization from `gamma` and `factorial` functions, this
|
2293
2124
|
could blow up memory.
|
2294
2125
|
|
2295
|
-
|
2296
2126
|
## 2015-10-09, version 2.4.0
|
2297
2127
|
|
2298
2128
|
- Added support in the expression parser for mathematical alphanumeric symbols
|
@@ -2303,7 +2133,6 @@ Non breaking changes:
|
|
2303
2133
|
BigNumber integer values around multiples of tau (i.e. `sin(bignumber(7))`).
|
2304
2134
|
- Fixed value of unit `stone`. Thanks @Esvandiary for finding the error.
|
2305
2135
|
|
2306
|
-
|
2307
2136
|
## 2015-09-19, version 2.3.0
|
2308
2137
|
|
2309
2138
|
- Implemented function `distance`. Thanks @devanp92.
|
@@ -2315,7 +2144,6 @@ Non breaking changes:
|
|
2315
2144
|
- Fixed #463, #322: inconsistent handling of implicit multiplication.
|
2316
2145
|
- Fixed #444: factorial of infinity not returning infinity.
|
2317
2146
|
|
2318
|
-
|
2319
2147
|
## 2015-08-30, version 2.2.0
|
2320
2148
|
|
2321
2149
|
- Units with powers (like `m^2` and `s^-1`) now output with the best prefix.
|
@@ -2327,13 +2155,11 @@ Non breaking changes:
|
|
2327
2155
|
- Fixed function `to` not working in case of a simplified unit.
|
2328
2156
|
- Fixed #437: an issue with row swapping in `lup`, also affecting `lusolve`.
|
2329
2157
|
|
2330
|
-
|
2331
2158
|
## 2015-08-12, version 2.1.1
|
2332
2159
|
|
2333
2160
|
- Fixed wrong values of the physical constants `speedOfLight`, `molarMassC12`,
|
2334
2161
|
and `magneticFluxQuantum`. Thanks @ericman314 for finding two of them.
|
2335
2162
|
|
2336
|
-
|
2337
2163
|
## 2015-08-11, version 2.1.0
|
2338
2164
|
|
2339
2165
|
- Implemented derived units (like `110 km/h in m/s`). Thanks @ericman314.
|
@@ -2347,13 +2173,11 @@ Non breaking changes:
|
|
2347
2173
|
- Internal functions `Unit.parse` and `Complex.parse` now throw an Error
|
2348
2174
|
instead of returning null when passing invalid input.
|
2349
2175
|
|
2350
|
-
|
2351
2176
|
## 2015-07-29, version 2.0.1
|
2352
2177
|
|
2353
2178
|
- Fixed operations with mixed fractions and numbers be converted to numbers
|
2354
2179
|
instead of fractions.
|
2355
2180
|
|
2356
|
-
|
2357
2181
|
## 2015-07-28, version 2.0.0
|
2358
2182
|
|
2359
2183
|
- Large internal refactoring:
|
@@ -2393,7 +2217,6 @@ Non breaking changes:
|
|
2393
2217
|
- The size of Arrays is no longer validated. Matrices will validate this on
|
2394
2218
|
creation.
|
2395
2219
|
|
2396
|
-
|
2397
2220
|
## 2015-07-12, version 1.7.1
|
2398
2221
|
|
2399
2222
|
- Fixed #397: Inaccuracies in nthRoot for very large values, and wrong results
|
@@ -2401,7 +2224,6 @@ Non breaking changes:
|
|
2401
2224
|
- Fixed #405: Parser throws error when defining a function in a multiline
|
2402
2225
|
expression.
|
2403
2226
|
|
2404
|
-
|
2405
2227
|
## 2015-05-31, version 1.7.0
|
2406
2228
|
|
2407
2229
|
- Implemented function `quantileSeq` and `partitionSelect`. Thanks @BigFav.
|
@@ -2416,14 +2238,12 @@ Non breaking changes:
|
|
2416
2238
|
node tree (see #349).
|
2417
2239
|
- Fixed #381: issue in docs of `randomInt`.
|
2418
2240
|
|
2419
|
-
|
2420
2241
|
## 2015-04-22, version 1.6.0
|
2421
2242
|
|
2422
2243
|
- Improvements in `toTex`. Thanks @FSMaxB.
|
2423
2244
|
- Fixed #328: `abs(0 + 0i)` evaluated to `NaN`.
|
2424
2245
|
- Fixed not being able to override lazy loaded constants.
|
2425
2246
|
|
2426
|
-
|
2427
2247
|
## 2015-04-09, version 1.5.2
|
2428
2248
|
|
2429
2249
|
- Fixed #313: parsed functions did not handle recursive calls correctly.
|
@@ -2431,13 +2251,11 @@ Non breaking changes:
|
|
2431
2251
|
following SI standards (`1 KiB == 1024 B`, `1 kB == 1000 B`).
|
2432
2252
|
- Performance improvements in parsed functions.
|
2433
2253
|
|
2434
|
-
|
2435
2254
|
## 2015-04-08, version 1.5.1
|
2436
2255
|
|
2437
2256
|
- Fixed #316: a bug in rounding values when formatting.
|
2438
2257
|
- Fixed #317, #319: a bug in formatting negative values.
|
2439
2258
|
|
2440
|
-
|
2441
2259
|
## 2015-03-28, version 1.5.0
|
2442
2260
|
|
2443
2261
|
- Added unit `stone` (6.35 kg).
|
@@ -2449,7 +2267,6 @@ Non breaking changes:
|
|
2449
2267
|
- Fixed #291: function `format` sometimes returning exponential notation when
|
2450
2268
|
it should return a fixed notation.
|
2451
2269
|
|
2452
|
-
|
2453
2270
|
## 2015-02-28, version 1.4.0
|
2454
2271
|
|
2455
2272
|
- Implemented trigonometric functions:
|
@@ -2464,7 +2281,6 @@ Non breaking changes:
|
|
2464
2281
|
- Fixed #281: improved formatting complex numbers. Round the real or imaginary
|
2465
2282
|
part to zero when the difference is larger than the configured precision.
|
2466
2283
|
|
2467
|
-
|
2468
2284
|
## 2015-02-09, version 1.3.0
|
2469
2285
|
|
2470
2286
|
- Implemented BigNumber implementations of most trigonometric functions: `sin`,
|
@@ -2478,7 +2294,6 @@ Non breaking changes:
|
|
2478
2294
|
`permutations`.
|
2479
2295
|
- Some minor fixes in the docs. Thanks @KenanY.
|
2480
2296
|
|
2481
|
-
|
2482
2297
|
## 2014-12-25, version 1.2.0
|
2483
2298
|
|
2484
2299
|
- Support for bitwise operations `bitAnd`, `bitNot`, `bitOr`, `bitXor`,
|
@@ -2492,14 +2307,12 @@ Non breaking changes:
|
|
2492
2307
|
functional until math.js v2.0.
|
2493
2308
|
- Upgraded to decimal.js v4.0.1 (BigNumber library).
|
2494
2309
|
|
2495
|
-
|
2496
2310
|
## 2014-11-22, version 1.1.1
|
2497
2311
|
|
2498
2312
|
- Fixed Unit divided by Number returning zero.
|
2499
2313
|
- Fixed BigNumber downgrading to Number for a negative base in `pow`.
|
2500
2314
|
- Fixed some typos in error messaging (thanks @andy0130tw) and docs.
|
2501
2315
|
|
2502
|
-
|
2503
2316
|
## 2014-11-15, version 1.1.0
|
2504
2317
|
|
2505
2318
|
- Implemented functions `dot` (dot product), `cross` (cross product), and
|
@@ -2520,7 +2333,6 @@ Non breaking changes:
|
|
2520
2333
|
of via a function `add`.
|
2521
2334
|
- Fixed `2e` giving a syntax error instead of being parsed as `2 * e`.
|
2522
2335
|
|
2523
|
-
|
2524
2336
|
## 2014-09-12, version 1.0.1
|
2525
2337
|
|
2526
2338
|
- Disabled array notation for ranges in a matrix index in the expression parser
|
@@ -2529,7 +2341,6 @@ Non breaking changes:
|
|
2529
2341
|
a scalar.
|
2530
2342
|
- Fixed some missing docs and broken links in the docs.
|
2531
2343
|
|
2532
|
-
|
2533
2344
|
## 2014-09-04, version 1.0.0
|
2534
2345
|
|
2535
2346
|
- Implemented a function `filter(x, test)`.
|
@@ -2539,7 +2350,6 @@ Non breaking changes:
|
|
2539
2350
|
- Fixed an zero-based issue when getting a matrix subset using an index
|
2540
2351
|
containing a matrix.
|
2541
2352
|
|
2542
|
-
|
2543
2353
|
## 2014-08-21, version 0.27.0
|
2544
2354
|
|
2545
2355
|
- Implemented functions `sort(x [, compare])` and `flatten(x)`.
|
@@ -2558,7 +2368,6 @@ Non breaking changes:
|
|
2558
2368
|
- A returned matrix subset is now only squeezed when the `index` consists of
|
2559
2369
|
scalar values, and no longer for ranges resolving into a single value.
|
2560
2370
|
|
2561
|
-
|
2562
2371
|
## 2014-08-03, version 0.26.0
|
2563
2372
|
|
2564
2373
|
- A new instance of math.js can no longer be created like `math([options])`,
|
@@ -2588,7 +2397,6 @@ Non breaking changes:
|
|
2588
2397
|
- Fixed broken auto completion in CLI.
|
2589
2398
|
- Some minor fixes.
|
2590
2399
|
|
2591
|
-
|
2592
2400
|
## 2014-07-01, version 0.25.0
|
2593
2401
|
|
2594
2402
|
- The library now immediately returns a default instance of mathjs, there is
|
@@ -2611,12 +2419,10 @@ Non breaking changes:
|
|
2611
2419
|
like `math.eval('10 * celsius')`.
|
2612
2420
|
- Fixed a bug with symbols having value `undefined` not being evaluated.
|
2613
2421
|
|
2614
|
-
|
2615
2422
|
## 2014-06-20, version 0.24.1
|
2616
2423
|
|
2617
2424
|
- Something went wrong with publishing on npm.
|
2618
2425
|
|
2619
|
-
|
2620
2426
|
## 2014-06-20, version 0.24.0
|
2621
2427
|
|
2622
2428
|
- Added constant `null`.
|
@@ -2630,7 +2436,6 @@ Non breaking changes:
|
|
2630
2436
|
- Fixed imported, wrapped functions not accepting `null` and `undefined` as
|
2631
2437
|
function arguments.
|
2632
2438
|
|
2633
|
-
|
2634
2439
|
## 2014-06-10, version 0.23.0
|
2635
2440
|
|
2636
2441
|
- Renamed some functions (everything now has a logical, camel case name):
|
@@ -2662,7 +2467,6 @@ Non breaking changes:
|
|
2662
2467
|
return ans;
|
2663
2468
|
}
|
2664
2469
|
|
2665
|
-
|
2666
2470
|
## 2014-05-22, version 0.22.0
|
2667
2471
|
|
2668
2472
|
- Implemented support to export expressions to LaTeX. Thanks Niels Heisterkamp
|
@@ -2675,7 +2479,6 @@ Non breaking changes:
|
|
2675
2479
|
- Fixed random functions not accepting Matrix as input, and always returning
|
2676
2480
|
a Matrix as output.
|
2677
2481
|
|
2678
|
-
|
2679
2482
|
## 2014-05-13, version 0.21.1
|
2680
2483
|
|
2681
2484
|
- Removed `crypto` library from the bundle.
|
@@ -2685,7 +2488,6 @@ Non breaking changes:
|
|
2685
2488
|
- Fixed parser not being able to evaluate an exponent followed by a unary minus
|
2686
2489
|
like `2^-3`, and a transpose followed by an index like `[3]'[1]`.
|
2687
2490
|
|
2688
|
-
|
2689
2491
|
## 2014-04-24, version 0.21.0
|
2690
2492
|
|
2691
2493
|
- Implemented trigonometric hyperbolic functions `cosh`, `coth`, `csch`,
|
@@ -2694,7 +2496,6 @@ Non breaking changes:
|
|
2694
2496
|
- Fixed functions `log`, `log10`, `pow`, and `sqrt` not supporting complex
|
2695
2497
|
results from BigNumber input (like `sqrt(bignumber(-4))`).
|
2696
2498
|
|
2697
|
-
|
2698
2499
|
## 2014-04-16, version 0.20.0
|
2699
2500
|
|
2700
2501
|
- Switched to module `decimal.js` for BigNumber support, instead of
|
@@ -2718,14 +2519,12 @@ Non breaking changes:
|
|
2718
2519
|
of zero-based.
|
2719
2520
|
- Minor bug fixes.
|
2720
2521
|
|
2721
|
-
|
2722
2522
|
## 2014-03-30, version 0.19.0
|
2723
2523
|
|
2724
2524
|
- Implemented functions `compare`, `sum`, `prod`, `var`, `std`, `median`.
|
2725
2525
|
- Implemented function `ifElse` Thanks @mtraynham.
|
2726
2526
|
- Minor bug fixes.
|
2727
2527
|
|
2728
|
-
|
2729
2528
|
## 2014-02-15, version 0.18.1
|
2730
2529
|
|
2731
2530
|
- Added unit `feet`.
|
@@ -2735,7 +2534,6 @@ Non breaking changes:
|
|
2735
2534
|
- Fixed an error in function `combinations` for large numbers, and
|
2736
2535
|
improved performance of both functions `combinations` and `permutations`.
|
2737
2536
|
|
2738
|
-
|
2739
2537
|
## 2014-01-18, version 0.18.0
|
2740
2538
|
|
2741
2539
|
- Changed matrix index notation of expression parser from round brackets to
|
@@ -2754,13 +2552,11 @@ Non breaking changes:
|
|
2754
2552
|
Thanks Daniel Levin (@daniel-levin).
|
2755
2553
|
- Added lower case abbreviation `l` for unit litre.
|
2756
2554
|
|
2757
|
-
|
2758
2555
|
## 2013-12-19, version 0.17.1
|
2759
2556
|
|
2760
2557
|
- Fixed a bug with negative temperatures.
|
2761
2558
|
- Fixed a bug with prefixes of units squared meter `m2` and cubic meter `m3`.
|
2762
2559
|
|
2763
|
-
|
2764
2560
|
## 2013-12-12, version 0.17.0
|
2765
2561
|
|
2766
2562
|
- Renamed and flattened configuration settings:
|
@@ -2772,7 +2568,6 @@ Non breaking changes:
|
|
2772
2568
|
- Fixed support for old browsers (IE8 and older), compatible when using es5-shim.
|
2773
2569
|
- Fixed support for Java's ScriptEngine.
|
2774
2570
|
|
2775
|
-
|
2776
2571
|
## 2013-11-28, version 0.16.0
|
2777
2572
|
|
2778
2573
|
- Implemented BigNumber support for arbitrary precision calculations.
|
@@ -2804,7 +2599,6 @@ Non breaking changes:
|
|
2804
2599
|
input.
|
2805
2600
|
- Minor bug fixes.
|
2806
2601
|
|
2807
|
-
|
2808
2602
|
## 2013-10-26, version 0.15.0
|
2809
2603
|
|
2810
2604
|
- Math.js must be instantiated now, static calls are no longer supported. Usage:
|
@@ -2836,7 +2630,6 @@ Non breaking changes:
|
|
2836
2630
|
- Removed support for comparing complex numbers in functions `smaller`,
|
2837
2631
|
`smallereq`, `larger`, `largereq`. Complex numbers cannot be ordered.
|
2838
2632
|
|
2839
|
-
|
2840
2633
|
## 2013-10-08, version 0.14.0
|
2841
2634
|
|
2842
2635
|
- Introduced an option `math.options.matrix.default` which can have values
|
@@ -2853,7 +2646,6 @@ Non breaking changes:
|
|
2853
2646
|
- Documentation is restructured and extended.
|
2854
2647
|
- Fixed non working operator `mod` (modulus operator).
|
2855
2648
|
|
2856
|
-
|
2857
2649
|
## 2013-09-03, version 0.13.0
|
2858
2650
|
|
2859
2651
|
- Implemented support for booleans in all relevant functions.
|
@@ -2876,13 +2668,11 @@ Non breaking changes:
|
|
2876
2668
|
- Moved `math.expr.Selector` to `math.chaining.Selector`.
|
2877
2669
|
- Fixed some edge cases in functions `lcm` and `xgcd`.
|
2878
2670
|
|
2879
|
-
|
2880
2671
|
## 2013-08-22, version 0.12.1
|
2881
2672
|
|
2882
2673
|
- Fixed outdated version of README.md.
|
2883
2674
|
- Fixed a broken unit test.
|
2884
2675
|
|
2885
|
-
|
2886
2676
|
## 2013-08-22, version 0.12.0
|
2887
2677
|
|
2888
2678
|
- Implemented functions `random([min, max])`, `randomInt([min, max])`,
|
@@ -2906,12 +2696,10 @@ Non breaking changes:
|
|
2906
2696
|
value with an imaginary part equal to zero to a number.
|
2907
2697
|
- Fixed zeros being formatted as null. Thanks @TimKraft.
|
2908
2698
|
|
2909
|
-
|
2910
2699
|
## 2013-07-23, version 0.11.1
|
2911
2700
|
|
2912
2701
|
- Fixed missing development dependency
|
2913
2702
|
|
2914
|
-
|
2915
2703
|
## 2013-07-23, version 0.11.0
|
2916
2704
|
|
2917
2705
|
- Changed math.js from one-based to zero-based indexes.
|
@@ -2926,7 +2714,6 @@ Non breaking changes:
|
|
2926
2714
|
- Fixed not accepting empty matrices like `[[], []]`.
|
2927
2715
|
- Some fixes in the end user documentation.
|
2928
2716
|
|
2929
|
-
|
2930
2717
|
## 2013-07-08, version 0.10.0
|
2931
2718
|
|
2932
2719
|
- For complex calculations, all functions now automatically replace results
|
@@ -2941,7 +2728,6 @@ Non breaking changes:
|
|
2941
2728
|
- Renamed function `unaryminus` to `unary`.
|
2942
2729
|
- Fixed a bug in determining node dependencies in function assignments.
|
2943
2730
|
|
2944
|
-
|
2945
2731
|
## 2013-06-14, version 0.9.1
|
2946
2732
|
|
2947
2733
|
- Implemented element-wise functions and operators: `emultiply` (`x .* y`),
|
@@ -2953,7 +2739,6 @@ Non breaking changes:
|
|
2953
2739
|
- Fixed a bug in function multiply multiplying a pure complex value with
|
2954
2740
|
Infinity.
|
2955
2741
|
|
2956
|
-
|
2957
2742
|
## 2013-05-29, version 0.9.0
|
2958
2743
|
|
2959
2744
|
- Implemented function `math.parse(expr [,scope])`. Optional parameter scope can
|
@@ -2971,7 +2756,6 @@ Non breaking changes:
|
|
2971
2756
|
- Fixed function mod for negative numerators, and added error messages in case
|
2972
2757
|
of wrong input.
|
2973
2758
|
|
2974
|
-
|
2975
2759
|
## 2013-05-18, version 0.8.2
|
2976
2760
|
|
2977
2761
|
- Extended the import function and some other minor improvements.
|
@@ -2979,12 +2763,10 @@ Non breaking changes:
|
|
2979
2763
|
- Fixed a bug in function subtract, when subtracting a complex number from a
|
2980
2764
|
real number.
|
2981
2765
|
|
2982
|
-
|
2983
2766
|
## 2013-05-10, version 0.8.1
|
2984
2767
|
|
2985
2768
|
- Fixed an npm warning when installing mathjs globally.
|
2986
2769
|
|
2987
|
-
|
2988
2770
|
## 2013-05-10, version 0.8.0
|
2989
2771
|
|
2990
2772
|
- Implemented a command line interface. When math.js is installed globally via
|
@@ -3000,13 +2782,11 @@ Non breaking changes:
|
|
3000
2782
|
- Fixed a bug in updating a subset of a non-existing variable.
|
3001
2783
|
- Minor bug fixes.
|
3002
2784
|
|
3003
|
-
|
3004
2785
|
## 2013-05-04, version 0.7.2
|
3005
2786
|
|
3006
2787
|
- Fixed method unequal, which was checking for equality instead of inequality.
|
3007
2788
|
Thanks @FJS2.
|
3008
2789
|
|
3009
|
-
|
3010
2790
|
## 2013-04-27, version 0.7.1
|
3011
2791
|
|
3012
2792
|
- Improvements in the parser:
|
@@ -3022,7 +2802,6 @@ Non breaking changes:
|
|
3022
2802
|
- Fixed a bug in Workspace.insertAfter.
|
3023
2803
|
- Fixed: math.js now works on IE 6-8 too.
|
3024
2804
|
|
3025
|
-
|
3026
2805
|
## 2013-04-20, version 0.7.0
|
3027
2806
|
|
3028
2807
|
- Implemented method `math.eval`, which uses a readonly parser to evaluate
|
@@ -3039,7 +2818,6 @@ Non breaking changes:
|
|
3039
2818
|
- Fixed method math.typeof on IE.
|
3040
2819
|
- Minor bug fixes and improvements.
|
3041
2820
|
|
3042
|
-
|
3043
2821
|
## 2013-04-13, version 0.6.0
|
3044
2822
|
|
3045
2823
|
- Implemented chained operations via method math.select(). For example
|
@@ -3061,7 +2839,6 @@ Non breaking changes:
|
|
3061
2839
|
- Fixed constant i being defined as -1i instead of 1i.
|
3062
2840
|
- Minor bug fixes.
|
3063
2841
|
|
3064
|
-
|
3065
2842
|
## 2013-04-06, version 0.5.0
|
3066
2843
|
|
3067
2844
|
- Implemented data types Matrix and Range.
|
@@ -3082,7 +2859,6 @@ Non breaking changes:
|
|
3082
2859
|
- Changed: renamed the parsers method 'put' into 'set'.
|
3083
2860
|
- Fixed: method 'in' did not check for units to have the same base.
|
3084
2861
|
|
3085
|
-
|
3086
2862
|
## 2013-03-16, version 0.4.0
|
3087
2863
|
|
3088
2864
|
- Implemented Array support for all methods.
|
@@ -3095,14 +2871,12 @@ Non breaking changes:
|
|
3095
2871
|
- Fixed: method 'typeof' was not working well with minified and mangled code.
|
3096
2872
|
- Fixed: errors in determining the best prefix for a unit.
|
3097
2873
|
|
3098
|
-
|
3099
2874
|
## 2013-03-09, version 0.3.0
|
3100
2875
|
|
3101
2876
|
- Implemented Workspace
|
3102
2877
|
- Implemented methods cot, csc, sec.
|
3103
2878
|
- Implemented Array support for methods with one parameter.
|
3104
2879
|
|
3105
|
-
|
3106
2880
|
## 2013-02-25, version 0.2.0
|
3107
2881
|
|
3108
2882
|
- Parser, Scope, and expression tree with Nodes implemented.
|
@@ -3110,21 +2884,18 @@ Non breaking changes:
|
|
3110
2884
|
- Implemented methods arg, conj, cube, equal, factorial, im, largereq,
|
3111
2885
|
log(x, base), log10, mod, re, sign, smallereq, square, unequal.
|
3112
2886
|
|
3113
|
-
|
3114
2887
|
## 2013-02-18, version 0.1.0
|
3115
2888
|
|
3116
2889
|
- Reached full compatibility with Javascripts built-in Math library.
|
3117
2890
|
- More functions implemented.
|
3118
2891
|
- Some bugfixes.
|
3119
2892
|
|
3120
|
-
|
3121
2893
|
## 2013-02-16, version 0.0.2
|
3122
2894
|
|
3123
2895
|
- All constants of Math implemented, plus the imaginary unit i.
|
3124
2896
|
- Data types Complex and Unit implemented.
|
3125
2897
|
- First set of functions implemented.
|
3126
2898
|
|
3127
|
-
|
3128
2899
|
## 2013-02-15, version 0.0.1
|
3129
2900
|
|
3130
2901
|
- First publish of the mathjs package. (package is still empty)
|