mathjs-min 11.7.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of mathjs-min might be problematic. Click here for more details.
- package/CONTRIBUTING.md +24 -0
- package/HISTORY.md +2872 -0
- package/LICENSE +176 -0
- package/NOTICE +16 -0
- package/README.md +235 -0
- package/bin/cli.js +432 -0
- package/bin/package.json +3 -0
- package/dist/math.js +3 -0
- package/dist/math.min.js +3 -0
- package/dist/package.json +3 -0
- package/lib/cjs/constants.js +127 -0
- package/lib/cjs/core/config.js +26 -0
- package/lib/cjs/core/create.js +207 -0
- package/lib/cjs/core/function/config.js +118 -0
- package/lib/cjs/core/function/import.js +340 -0
- package/lib/cjs/core/function/typed.js +421 -0
- package/lib/cjs/defaultInstance.js +13 -0
- package/lib/cjs/entry/allFactoriesAny.js +14 -0
- package/lib/cjs/entry/allFactoriesNumber.js +14 -0
- package/lib/cjs/entry/configReadonly.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAbs.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAccessorNode.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAcos.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAcosh.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAcot.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAcoth.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAcsc.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAcsch.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAdd.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAddScalar.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAnd.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesApply.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesApplyTransform.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesArg.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesArrayNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAsec.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAsech.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAsin.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAsinh.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAssignmentNode.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAtan.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAtan2.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAtanh.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAtomicMass.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesAvogadro.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBellNumbers.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBigNumberClass.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBignumber.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBin.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBitAnd.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBitNot.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBitOr.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBitXor.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBlockNode.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBohrMagneton.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBohrRadius.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBoltzmann.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesBoolean.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCatalan.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCbrt.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCeil.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesChain.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesChainClass.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesClassicalElectronRadius.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesClone.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesColumn.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesColumnTransform.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCombinations.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCombinationsWithRep.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCompare.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCompareNatural.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCompareText.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCompile.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesComplex.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesComplexClass.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesComposition.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesConcat.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesConcatTransform.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesConditionalNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesConductanceQuantum.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesConj.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesConstantNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCos.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCosh.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCot.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCoth.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCoulomb.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCount.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCreateUnit.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCross.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCsc.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCsch.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCtranspose.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCube.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCumSum.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesCumSumTransform.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDeepEqual.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDenseMatrixClass.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDerivative.generated.js +38 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDet.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDeuteronMass.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDiag.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDiff.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDiffTransform.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDistance.generated.js +32 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDivide.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDivideScalar.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDot.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDotDivide.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDotMultiply.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesDotPow.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesE.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesEfimovFactor.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesEigs.generated.js +76 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesElectricConstant.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesElectronMass.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesElementaryCharge.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesEqual.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesEqualScalar.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesEqualText.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesErf.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesEvaluate.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesExp.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesExpm.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesExpm1.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFactorial.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFalse.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFaraday.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFermiCoupling.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFft.generated.js +42 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFibonacciHeapClass.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFilter.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFilterTransform.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFineStructure.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFirstRadiation.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFix.generated.js +32 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFlatten.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFloor.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesForEach.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesForEachTransform.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFormat.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFraction.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFractionClass.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFunctionAssignmentNode.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesFunctionNode.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesGamma.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesGasConstant.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesGcd.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesGetMatrixDataType.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesGravitationConstant.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesGravity.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesHartreeEnergy.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesHasNumericValue.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesHelp.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesHelpClass.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesHex.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesHypot.generated.js +32 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesI.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIdentity.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIfft.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIm.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesImmutableDenseMatrixClass.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIndex.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIndexClass.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIndexNode.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIndexTransform.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesInfinity.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIntersect.generated.js +44 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesInv.generated.js +34 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesInverseConductanceQuantum.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesInvmod.generated.js +32 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIsInteger.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIsNaN.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIsNegative.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIsNumeric.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIsPositive.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIsPrime.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIsZero.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesKldivergence.generated.js +34 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesKlitzing.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesKron.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLN10.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLN2.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLOG10E.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLOG2E.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLarger.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLargerEq.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLcm.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLeafCount.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLeftShift.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLgamma.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLog.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLog10.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLog1p.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLog2.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLoschmidt.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLsolve.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLsolveAll.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLup.generated.js +42 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLusolve.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesLyap.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMad.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMagneticConstant.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMagneticFluxQuantum.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMap.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMapTransform.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMatrix.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMatrixClass.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromColumns.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromFunction.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMatrixFromRows.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMax.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMaxTransform.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMean.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMeanTransform.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMedian.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMin.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMinTransform.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMod.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMode.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMolarMass.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMolarMassC12.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMolarPlanckConstant.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMolarVolume.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMultinomial.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMultiply.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesMultiplyScalar.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNaN.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNeutronMass.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNode.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNorm.generated.js +42 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNot.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNthRoot.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNthRoots.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNuclearMagneton.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNull.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNumber.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNumeric.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesObjectNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesOct.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesOnes.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesOperatorNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesOr.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesParenthesisNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesParse.generated.js +50 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesParser.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesParserClass.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPartitionSelect.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPermutations.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPhi.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPi.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPickRandom.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPinv.generated.js +40 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckCharge.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckConstant.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckLength.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckMass.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckTemperature.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPlanckTime.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPolynomialRoot.generated.js +42 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPow.generated.js +32 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesPrint.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesProd.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesProtonMass.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesQr.generated.js +46 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesQuantileSeq.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesQuantumOfCirculation.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRandom.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRandomInt.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRange.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRangeClass.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRangeNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRangeTransform.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRationalize.generated.js +64 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRe.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesReducedPlanckConstant.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRelationalNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesReplacer.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesReshape.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesResize.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesResolve.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesResultSet.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesReviver.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRightArithShift.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRightLogShift.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRotate.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRotationMatrix.generated.js +38 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRound.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRow.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRowTransform.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRydberg.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSQRT1_2.generated.js +21 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSQRT2.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSackurTetrode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSchur.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSec.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSech.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSecondRadiation.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSetCartesian.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSetDifference.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSetDistinct.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSetIntersect.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSetIsSubset.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSetMultiplicity.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSetPowerset.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSetSize.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSetSymDifference.generated.js +28 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSetUnion.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSign.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSimplify.generated.js +64 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyConstant.generated.js +40 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyCore.generated.js +52 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSin.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSinh.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSize.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSlu.generated.js +36 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSmaller.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSmallerEq.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSort.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSpaClass.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSparse.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSparseMatrixClass.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSpeedOfLight.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSplitUnit.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSqrt.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSqrtm.generated.js +38 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSquare.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSqueeze.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesStd.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesStdTransform.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesStefanBoltzmann.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesStirlingS2.generated.js +42 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesString.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSubset.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSubsetTransform.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSubtract.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSum.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSumTransform.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSylvester.generated.js +46 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSymbolNode.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSymbolicEqual.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesTan.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesTanh.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesTau.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesThomsonCrossSection.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesTo.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesTrace.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesTranspose.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesTrue.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesTypeOf.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesTyped.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesUnaryMinus.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesUnaryPlus.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesUnequal.generated.js +26 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesUnitClass.generated.js +46 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesUnitFunction.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesUppercaseE.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesUppercasePi.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesUsolve.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesUsolveAll.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesVacuumImpedance.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesVariance.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesVarianceTransform.generated.js +30 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesVersion.generated.js +16 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesWeakMixingAngle.generated.js +18 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesWienDisplacement.generated.js +20 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesXgcd.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesXor.generated.js +24 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesZeros.generated.js +22 -0
- package/lib/cjs/entry/dependenciesAny.generated.js +2455 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAbs.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAccessorNode.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcos.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcosh.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcot.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcoth.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcsc.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAcsch.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAdd.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAddScalar.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAnd.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesApply.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesApplyTransform.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesArrayNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAsec.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAsech.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAsin.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAsinh.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAssignmentNode.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAtan.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAtan2.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesAtanh.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesBellNumbers.generated.js +26 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesBitAnd.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesBitNot.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesBitOr.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesBitXor.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesBlockNode.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesBoolean.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCatalan.generated.js +30 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCbrt.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCeil.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesChain.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesChainClass.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesClone.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCombinations.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCombinationsWithRep.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCompare.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCompareNatural.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCompareText.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCompile.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesComposition.generated.js +30 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesConditionalNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesConstantNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCos.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCosh.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCot.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCoth.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCsc.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCsch.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCube.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCumSum.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesCumSumTransform.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesDeepEqual.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesDerivative.generated.js +38 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesDivide.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesDivideScalar.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesE.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesEqual.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesEqualScalar.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesEqualText.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesErf.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesEvaluate.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesExp.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesExpm1.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesFactorial.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesFalse.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesFilter.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesFilterTransform.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesFix.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesFloor.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesForEach.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesForEachTransform.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesFormat.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesFunctionAssignmentNode.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesFunctionNode.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesGamma.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesGcd.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesHasNumericValue.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesHelp.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesHelpClass.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesHypot.generated.js +32 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesIndex.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesIndexNode.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesInfinity.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsInteger.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsNaN.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsNegative.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsNumeric.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsPositive.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsPrime.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsZero.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLN10.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLN2.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLOG10E.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLOG2E.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLarger.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLargerEq.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLcm.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLeftShift.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLgamma.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLog.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLog10.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLog1p.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesLog2.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMad.generated.js +26 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMap.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMapTransform.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMatrix.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMax.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMaxTransform.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMean.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMeanTransform.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMedian.generated.js +26 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMin.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMinTransform.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMod.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMode.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMultinomial.generated.js +30 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMultiply.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesMultiplyScalar.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesNaN.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesNode.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesNorm.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesNot.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesNthRoot.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesNull.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesNumber.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesNumeric.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesObjectNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesOperatorNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesOr.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesParenthesisNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesParse.generated.js +50 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesParser.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesParserClass.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesPartitionSelect.generated.js +24 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesPermutations.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesPhi.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesPi.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesPickRandom.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesPow.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesPrint.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesProd.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesQuantileSeq.generated.js +26 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRandom.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRandomInt.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRange.generated.js +28 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRangeClass.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRangeNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRangeTransform.generated.js +28 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRationalize.generated.js +60 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRelationalNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesReplacer.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesResolve.generated.js +28 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesResultSet.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesReviver.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRightArithShift.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRightLogShift.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRound.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSQRT1_2.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSQRT2.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSec.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSech.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSign.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSimplify.generated.js +60 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyConstant.generated.js +36 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyCore.generated.js +52 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSin.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSinh.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSize.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSmaller.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSmallerEq.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSqrt.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSquare.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesStd.generated.js +24 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesStdTransform.generated.js +24 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesStirlingS2.generated.js +40 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesString.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSubset.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSubsetTransform.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSubtract.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSum.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSumTransform.generated.js +22 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSymbolNode.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesTan.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesTanh.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesTau.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesTrue.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesTypeOf.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesTyped.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesUnaryMinus.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesUnaryPlus.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesUnequal.generated.js +20 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesUppercaseE.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesUppercasePi.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesVariance.generated.js +30 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesVarianceTransform.generated.js +30 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesVersion.generated.js +16 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesXgcd.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesXor.generated.js +18 -0
- package/lib/cjs/entry/dependenciesNumber.generated.js +1419 -0
- package/lib/cjs/entry/impureFunctionsAny.generated.js +734 -0
- package/lib/cjs/entry/impureFunctionsNumber.generated.js +541 -0
- package/lib/cjs/entry/mainAny.js +115 -0
- package/lib/cjs/entry/mainNumber.js +115 -0
- package/lib/cjs/entry/pureFunctionsAny.generated.js +2005 -0
- package/lib/cjs/entry/pureFunctionsNumber.generated.js +723 -0
- package/lib/cjs/entry/typeChecks.js +240 -0
- package/lib/cjs/error/ArgumentsError.js +30 -0
- package/lib/cjs/error/DimensionError.js +29 -0
- package/lib/cjs/error/IndexError.js +41 -0
- package/lib/cjs/expression/Help.js +122 -0
- package/lib/cjs/expression/Parser.js +146 -0
- package/lib/cjs/expression/embeddedDocs/constants/Infinity.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/LN10.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/LN2.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/LOG10E.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/LOG2E.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/NaN.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/SQRT1_2.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/SQRT2.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/e.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/false.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/i.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/null.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/phi.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/pi.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/tau.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/true.js +15 -0
- package/lib/cjs/expression/embeddedDocs/constants/version.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/bignumber.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/boolean.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/complex.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/createUnit.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/fraction.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/index.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/matrix.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/number.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/sparse.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/splitUnit.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/string.js +15 -0
- package/lib/cjs/expression/embeddedDocs/construction/unit.js +15 -0
- package/lib/cjs/expression/embeddedDocs/core/config.js +15 -0
- package/lib/cjs/expression/embeddedDocs/core/import.js +15 -0
- package/lib/cjs/expression/embeddedDocs/core/typed.js +15 -0
- package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +713 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/derivative.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/leafCount.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/lsolve.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/lsolveAll.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/lup.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/lusolve.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/polynomialRoot.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/qr.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/rationalize.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/resolve.js +16 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/simplify.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/simplifyConstant.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/simplifyCore.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/slu.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/symbolicEqual.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/usolve.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/usolveAll.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/abs.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/add.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/cbrt.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/ceil.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/cube.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/divide.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotDivide.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotMultiply.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/dotPow.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/exp.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/expm.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/expm1.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/fix.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/floor.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/gcd.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/hypot.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/invmod.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/lcm.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/log.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/log10.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/log1p.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/log2.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/mod.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/multiply.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/norm.js +14 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/nthRoot.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/nthRoots.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/pow.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/round.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/sign.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/sqrt.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/sqrtm.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/square.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/subtract.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/unaryMinus.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/unaryPlus.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/xgcd.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/bitwise/bitAnd.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/bitwise/bitNot.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/bitwise/bitOr.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/bitwise/bitXor.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/bitwise/leftShift.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/bitwise/rightArithShift.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/bitwise/rightLogShift.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/combinatorics/bellNumbers.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/combinatorics/catalan.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/combinatorics/composition.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/combinatorics/stirlingS2.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/complex/arg.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/complex/conj.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/complex/im.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/complex/re.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/expression/evaluate.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/expression/help.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/geometry/distance.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/geometry/intersect.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/logical/and.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/logical/not.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/logical/or.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/logical/xor.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/column.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/concat.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/count.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/cross.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/ctranspose.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/det.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/diag.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/diff.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/dot.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/eigs.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/fft.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/filter.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/flatten.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/forEach.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/getMatrixDataType.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/identity.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/ifft.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/inv.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/kron.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/lyap.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/map.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromColumns.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromFunction.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromRows.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/ones.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/partitionSelect.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/pinv.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/range.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/reshape.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/resize.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/rotate.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/rotationMatrix.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/row.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/schur.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/size.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/sort.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/squeeze.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/subset.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/sylvester.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/trace.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/transpose.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/zeros.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/combinations.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/combinationsWithRep.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/distribution.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/factorial.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/gamma.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/kldivergence.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/lgamma.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/multinomial.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/permutations.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/pickRandom.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/random.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/probability/randomInt.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/relational/compare.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/relational/compareNatural.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/relational/compareText.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/relational/deepEqual.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/relational/equal.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/relational/equalText.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/relational/larger.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/relational/largerEq.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/relational/smaller.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/relational/smallerEq.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/relational/unequal.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/set/setCartesian.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/set/setDifference.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/set/setDistinct.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/set/setIntersect.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/set/setIsSubset.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/set/setMultiplicity.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/set/setPowerset.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/set/setSize.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/set/setSymDifference.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/set/setUnion.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/special/erf.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/cumsum.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/mad.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/max.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/mean.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/median.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/min.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/mode.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/prod.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/quantileSeq.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/std.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/sum.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/statistics/variance.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acos.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acosh.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acot.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acoth.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acsc.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/acsch.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/asec.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/asech.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/asin.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/asinh.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/atan.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/atan2.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/atanh.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/cos.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/cosh.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/cot.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/coth.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/csc.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/csch.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/sec.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/sech.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/sin.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/sinh.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/tan.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/trigonometry/tanh.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/units/to.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/bin.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/clone.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/format.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/hasNumericValue.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/hex.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/isInteger.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/isNaN.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/isNegative.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/isNumeric.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/isPositive.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/isPrime.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/isZero.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/numeric.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/oct.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/print.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/typeOf.js +15 -0
- package/lib/cjs/expression/function/compile.js +59 -0
- package/lib/cjs/expression/function/evaluate.js +68 -0
- package/lib/cjs/expression/function/help.js +72 -0
- package/lib/cjs/expression/function/parser.js +62 -0
- package/lib/cjs/expression/keywords.js +9 -0
- package/lib/cjs/expression/node/AccessorNode.js +233 -0
- package/lib/cjs/expression/node/ArrayNode.js +218 -0
- package/lib/cjs/expression/node/AssignmentNode.js +350 -0
- package/lib/cjs/expression/node/BlockNode.js +227 -0
- package/lib/cjs/expression/node/ConditionalNode.js +267 -0
- package/lib/cjs/expression/node/ConstantNode.js +214 -0
- package/lib/cjs/expression/node/FunctionAssignmentNode.js +289 -0
- package/lib/cjs/expression/node/FunctionNode.js +533 -0
- package/lib/cjs/expression/node/IndexNode.js +268 -0
- package/lib/cjs/expression/node/Node.js +423 -0
- package/lib/cjs/expression/node/ObjectNode.js +238 -0
- package/lib/cjs/expression/node/OperatorNode.js +671 -0
- package/lib/cjs/expression/node/ParenthesisNode.js +196 -0
- package/lib/cjs/expression/node/RangeNode.js +294 -0
- package/lib/cjs/expression/node/RelationalNode.js +248 -0
- package/lib/cjs/expression/node/SymbolNode.js +237 -0
- package/lib/cjs/expression/node/utils/access.js +46 -0
- package/lib/cjs/expression/node/utils/assign.js +52 -0
- package/lib/cjs/expression/operators.js +386 -0
- package/lib/cjs/expression/parse.js +1650 -0
- package/lib/cjs/expression/transform/apply.transform.js +49 -0
- package/lib/cjs/expression/transform/column.transform.js +52 -0
- package/lib/cjs/expression/transform/concat.transform.js +50 -0
- package/lib/cjs/expression/transform/cumsum.transform.js +50 -0
- package/lib/cjs/expression/transform/diff.transform.js +46 -0
- package/lib/cjs/expression/transform/filter.transform.js +82 -0
- package/lib/cjs/expression/transform/forEach.transform.js +71 -0
- package/lib/cjs/expression/transform/index.transform.js +54 -0
- package/lib/cjs/expression/transform/map.transform.js +85 -0
- package/lib/cjs/expression/transform/max.transform.js +45 -0
- package/lib/cjs/expression/transform/mean.transform.js +43 -0
- package/lib/cjs/expression/transform/min.transform.js +45 -0
- package/lib/cjs/expression/transform/range.transform.js +51 -0
- package/lib/cjs/expression/transform/row.transform.js +52 -0
- package/lib/cjs/expression/transform/std.transform.js +45 -0
- package/lib/cjs/expression/transform/subset.transform.js +38 -0
- package/lib/cjs/expression/transform/sum.transform.js +44 -0
- package/lib/cjs/expression/transform/utils/compileInlineExpression.js +34 -0
- package/lib/cjs/expression/transform/utils/errorTransform.js +18 -0
- package/lib/cjs/expression/transform/utils/lastDimToZeroBase.js +22 -0
- package/lib/cjs/expression/transform/variance.transform.js +51 -0
- package/lib/cjs/factoriesAny.js +2381 -0
- package/lib/cjs/factoriesNumber.js +1098 -0
- package/lib/cjs/function/algebra/decomposition/lup.js +384 -0
- package/lib/cjs/function/algebra/decomposition/qr.js +228 -0
- package/lib/cjs/function/algebra/decomposition/schur.js +75 -0
- package/lib/cjs/function/algebra/decomposition/slu.js +106 -0
- package/lib/cjs/function/algebra/derivative.js +548 -0
- package/lib/cjs/function/algebra/leafCount.js +59 -0
- package/lib/cjs/function/algebra/lyap.js +57 -0
- package/lib/cjs/function/algebra/polynomialRoot.js +139 -0
- package/lib/cjs/function/algebra/rationalize.js +830 -0
- package/lib/cjs/function/algebra/resolve.js +132 -0
- package/lib/cjs/function/algebra/simplify/util.js +267 -0
- package/lib/cjs/function/algebra/simplify/wildcards.js +38 -0
- package/lib/cjs/function/algebra/simplify.js +1265 -0
- package/lib/cjs/function/algebra/simplifyConstant.js +490 -0
- package/lib/cjs/function/algebra/simplifyCore.js +302 -0
- package/lib/cjs/function/algebra/solver/lsolve.js +162 -0
- package/lib/cjs/function/algebra/solver/lsolveAll.js +207 -0
- package/lib/cjs/function/algebra/solver/lusolve.js +113 -0
- package/lib/cjs/function/algebra/solver/usolve.js +166 -0
- package/lib/cjs/function/algebra/solver/usolveAll.js +211 -0
- package/lib/cjs/function/algebra/solver/utils/solveValidation.js +119 -0
- package/lib/cjs/function/algebra/sparse/csAmd.js +586 -0
- package/lib/cjs/function/algebra/sparse/csChol.js +161 -0
- package/lib/cjs/function/algebra/sparse/csCounts.js +130 -0
- package/lib/cjs/function/algebra/sparse/csCumsum.js +32 -0
- package/lib/cjs/function/algebra/sparse/csDfs.js +80 -0
- package/lib/cjs/function/algebra/sparse/csEreach.js +67 -0
- package/lib/cjs/function/algebra/sparse/csEtree.js +75 -0
- package/lib/cjs/function/algebra/sparse/csFkeep.js +62 -0
- package/lib/cjs/function/algebra/sparse/csFlip.js +17 -0
- package/lib/cjs/function/algebra/sparse/csIpvec.js +35 -0
- package/lib/cjs/function/algebra/sparse/csLeaf.js +62 -0
- package/lib/cjs/function/algebra/sparse/csLu.js +185 -0
- package/lib/cjs/function/algebra/sparse/csMark.js +19 -0
- package/lib/cjs/function/algebra/sparse/csMarked.js +18 -0
- package/lib/cjs/function/algebra/sparse/csPermute.js +65 -0
- package/lib/cjs/function/algebra/sparse/csPost.js +56 -0
- package/lib/cjs/function/algebra/sparse/csReach.js +55 -0
- package/lib/cjs/function/algebra/sparse/csSpsolve.js +88 -0
- package/lib/cjs/function/algebra/sparse/csSqr.js +183 -0
- package/lib/cjs/function/algebra/sparse/csSymperm.js +97 -0
- package/lib/cjs/function/algebra/sparse/csTdfs.js +46 -0
- package/lib/cjs/function/algebra/sparse/csUnflip.js +18 -0
- package/lib/cjs/function/algebra/sylvester.js +127 -0
- package/lib/cjs/function/algebra/symbolicEqual.js +65 -0
- package/lib/cjs/function/arithmetic/abs.js +51 -0
- package/lib/cjs/function/arithmetic/add.js +90 -0
- package/lib/cjs/function/arithmetic/addScalar.js +53 -0
- package/lib/cjs/function/arithmetic/cbrt.js +136 -0
- package/lib/cjs/function/arithmetic/ceil.js +187 -0
- package/lib/cjs/function/arithmetic/cube.js +56 -0
- package/lib/cjs/function/arithmetic/divide.js +84 -0
- package/lib/cjs/function/arithmetic/divideScalar.js +46 -0
- package/lib/cjs/function/arithmetic/dotDivide.js +83 -0
- package/lib/cjs/function/arithmetic/dotMultiply.js +71 -0
- package/lib/cjs/function/arithmetic/dotPow.js +83 -0
- package/lib/cjs/function/arithmetic/exp.js +53 -0
- package/lib/cjs/function/arithmetic/expm1.js +58 -0
- package/lib/cjs/function/arithmetic/fix.js +140 -0
- package/lib/cjs/function/arithmetic/floor.js +190 -0
- package/lib/cjs/function/arithmetic/gcd.js +132 -0
- package/lib/cjs/function/arithmetic/hypot.js +84 -0
- package/lib/cjs/function/arithmetic/invmod.js +65 -0
- package/lib/cjs/function/arithmetic/lcm.js +119 -0
- package/lib/cjs/function/arithmetic/log.js +79 -0
- package/lib/cjs/function/arithmetic/log10.js +68 -0
- package/lib/cjs/function/arithmetic/log1p.js +92 -0
- package/lib/cjs/function/arithmetic/log2.js +77 -0
- package/lib/cjs/function/arithmetic/mod.js +106 -0
- package/lib/cjs/function/arithmetic/multiply.js +894 -0
- package/lib/cjs/function/arithmetic/multiplyScalar.js +44 -0
- package/lib/cjs/function/arithmetic/norm.js +292 -0
- package/lib/cjs/function/arithmetic/nthRoot.js +194 -0
- package/lib/cjs/function/arithmetic/nthRoots.js +117 -0
- package/lib/cjs/function/arithmetic/pow.js +196 -0
- package/lib/cjs/function/arithmetic/round.js +169 -0
- package/lib/cjs/function/arithmetic/sign.js +74 -0
- package/lib/cjs/function/arithmetic/sqrt.js +75 -0
- package/lib/cjs/function/arithmetic/square.js +57 -0
- package/lib/cjs/function/arithmetic/subtract.js +121 -0
- package/lib/cjs/function/arithmetic/unaryMinus.js +59 -0
- package/lib/cjs/function/arithmetic/unaryPlus.js +69 -0
- package/lib/cjs/function/arithmetic/xgcd.js +96 -0
- package/lib/cjs/function/bitwise/bitAnd.js +70 -0
- package/lib/cjs/function/bitwise/bitNot.js +47 -0
- package/lib/cjs/function/bitwise/bitOr.js +71 -0
- package/lib/cjs/function/bitwise/bitXor.js +69 -0
- package/lib/cjs/function/bitwise/leftShift.js +127 -0
- package/lib/cjs/function/bitwise/rightArithShift.js +127 -0
- package/lib/cjs/function/bitwise/rightLogShift.js +128 -0
- package/lib/cjs/function/bitwise/useMatrixForArrayScalar.js +34 -0
- package/lib/cjs/function/combinatorics/bellNumbers.js +52 -0
- package/lib/cjs/function/combinatorics/catalan.js +48 -0
- package/lib/cjs/function/combinatorics/composition.js +51 -0
- package/lib/cjs/function/combinatorics/stirlingS2.js +91 -0
- package/lib/cjs/function/complex/arg.js +59 -0
- package/lib/cjs/function/complex/conj.js +52 -0
- package/lib/cjs/function/complex/im.js +57 -0
- package/lib/cjs/function/complex/re.js +54 -0
- package/lib/cjs/function/geometry/distance.js +312 -0
- package/lib/cjs/function/geometry/intersect.js +207 -0
- package/lib/cjs/function/logical/and.js +142 -0
- package/lib/cjs/function/logical/not.js +62 -0
- package/lib/cjs/function/logical/or.js +85 -0
- package/lib/cjs/function/logical/xor.js +84 -0
- package/lib/cjs/function/matrix/apply.js +116 -0
- package/lib/cjs/function/matrix/column.js +64 -0
- package/lib/cjs/function/matrix/concat.js +136 -0
- package/lib/cjs/function/matrix/count.js +44 -0
- package/lib/cjs/function/matrix/cross.js +86 -0
- package/lib/cjs/function/matrix/ctranspose.js +42 -0
- package/lib/cjs/function/matrix/det.js +150 -0
- package/lib/cjs/function/matrix/diag.js +160 -0
- package/lib/cjs/function/matrix/diff.js +178 -0
- package/lib/cjs/function/matrix/dot.js +161 -0
- package/lib/cjs/function/matrix/eigs/complexEigs.js +739 -0
- package/lib/cjs/function/matrix/eigs/realSymetric.js +297 -0
- package/lib/cjs/function/matrix/eigs.js +259 -0
- package/lib/cjs/function/matrix/expm.js +159 -0
- package/lib/cjs/function/matrix/fft.js +153 -0
- package/lib/cjs/function/matrix/filter.js +77 -0
- package/lib/cjs/function/matrix/flatten.js +44 -0
- package/lib/cjs/function/matrix/forEach.js +74 -0
- package/lib/cjs/function/matrix/getMatrixDataType.js +57 -0
- package/lib/cjs/function/matrix/identity.js +141 -0
- package/lib/cjs/function/matrix/ifft.js +44 -0
- package/lib/cjs/function/matrix/inv.js +189 -0
- package/lib/cjs/function/matrix/kron.js +90 -0
- package/lib/cjs/function/matrix/map.js +110 -0
- package/lib/cjs/function/matrix/matrixFromColumns.js +108 -0
- package/lib/cjs/function/matrix/matrixFromFunction.js +79 -0
- package/lib/cjs/function/matrix/matrixFromRows.js +96 -0
- package/lib/cjs/function/matrix/ones.js +128 -0
- package/lib/cjs/function/matrix/partitionSelect.js +151 -0
- package/lib/cjs/function/matrix/pinv.js +191 -0
- package/lib/cjs/function/matrix/range.js +263 -0
- package/lib/cjs/function/matrix/reshape.js +68 -0
- package/lib/cjs/function/matrix/resize.js +126 -0
- package/lib/cjs/function/matrix/rotate.js +76 -0
- package/lib/cjs/function/matrix/rotationMatrix.js +167 -0
- package/lib/cjs/function/matrix/row.js +64 -0
- package/lib/cjs/function/matrix/size.js +53 -0
- package/lib/cjs/function/matrix/sort.js +120 -0
- package/lib/cjs/function/matrix/sqrtm.js +104 -0
- package/lib/cjs/function/matrix/squeeze.js +59 -0
- package/lib/cjs/function/matrix/subset.js +218 -0
- package/lib/cjs/function/matrix/trace.js +133 -0
- package/lib/cjs/function/matrix/transpose.js +168 -0
- package/lib/cjs/function/matrix/zeros.js +128 -0
- package/lib/cjs/function/probability/combinations.js +74 -0
- package/lib/cjs/function/probability/combinationsWithRep.js +89 -0
- package/lib/cjs/function/probability/factorial.js +56 -0
- package/lib/cjs/function/probability/gamma.js +125 -0
- package/lib/cjs/function/probability/kldivergence.js +84 -0
- package/lib/cjs/function/probability/lgamma.js +142 -0
- package/lib/cjs/function/probability/multinomial.js +55 -0
- package/lib/cjs/function/probability/permutations.js +83 -0
- package/lib/cjs/function/probability/pickRandom.js +155 -0
- package/lib/cjs/function/probability/random.js +120 -0
- package/lib/cjs/function/probability/randomInt.js +86 -0
- package/lib/cjs/function/probability/util/randomMatrix.js +26 -0
- package/lib/cjs/function/probability/util/seededRNG.js +26 -0
- package/lib/cjs/function/relational/compare.js +115 -0
- package/lib/cjs/function/relational/compareNatural.js +280 -0
- package/lib/cjs/function/relational/compareText.js +61 -0
- package/lib/cjs/function/relational/compareUnits.js +21 -0
- package/lib/cjs/function/relational/deepEqual.js +79 -0
- package/lib/cjs/function/relational/equal.js +114 -0
- package/lib/cjs/function/relational/equalScalar.js +57 -0
- package/lib/cjs/function/relational/equalText.js +46 -0
- package/lib/cjs/function/relational/larger.js +106 -0
- package/lib/cjs/function/relational/largerEq.js +102 -0
- package/lib/cjs/function/relational/smaller.js +106 -0
- package/lib/cjs/function/relational/smallerEq.js +102 -0
- package/lib/cjs/function/relational/unequal.js +117 -0
- package/lib/cjs/function/set/setCartesian.js +63 -0
- package/lib/cjs/function/set/setDifference.js +76 -0
- package/lib/cjs/function/set/setDistinct.js +62 -0
- package/lib/cjs/function/set/setIntersect.js +68 -0
- package/lib/cjs/function/set/setIsSubset.js +67 -0
- package/lib/cjs/function/set/setMultiplicity.js +55 -0
- package/lib/cjs/function/set/setPowerset.js +80 -0
- package/lib/cjs/function/set/setSize.js +56 -0
- package/lib/cjs/function/set/setSymDifference.js +53 -0
- package/lib/cjs/function/set/setUnion.js +54 -0
- package/lib/cjs/function/special/erf.js +161 -0
- package/lib/cjs/function/statistics/cumsum.js +128 -0
- package/lib/cjs/function/statistics/mad.js +69 -0
- package/lib/cjs/function/statistics/max.js +109 -0
- package/lib/cjs/function/statistics/mean.js +99 -0
- package/lib/cjs/function/statistics/median.js +114 -0
- package/lib/cjs/function/statistics/min.js +109 -0
- package/lib/cjs/function/statistics/mode.js +81 -0
- package/lib/cjs/function/statistics/prod.js +84 -0
- package/lib/cjs/function/statistics/quantileSeq.js +240 -0
- package/lib/cjs/function/statistics/std.js +102 -0
- package/lib/cjs/function/statistics/sum.js +89 -0
- package/lib/cjs/function/statistics/utils/improveErrorMessage.js +30 -0
- package/lib/cjs/function/statistics/variance.js +160 -0
- package/lib/cjs/function/string/bin.js +49 -0
- package/lib/cjs/function/string/format.js +136 -0
- package/lib/cjs/function/string/hex.js +48 -0
- package/lib/cjs/function/string/oct.js +50 -0
- package/lib/cjs/function/string/print.js +91 -0
- package/lib/cjs/function/trigonometry/acos.js +54 -0
- package/lib/cjs/function/trigonometry/acosh.js +54 -0
- package/lib/cjs/function/trigonometry/acot.js +47 -0
- package/lib/cjs/function/trigonometry/acoth.js +53 -0
- package/lib/cjs/function/trigonometry/acsc.js +54 -0
- package/lib/cjs/function/trigonometry/acsch.js +46 -0
- package/lib/cjs/function/trigonometry/asec.js +55 -0
- package/lib/cjs/function/trigonometry/asech.js +58 -0
- package/lib/cjs/function/trigonometry/asin.js +54 -0
- package/lib/cjs/function/trigonometry/asinh.js +45 -0
- package/lib/cjs/function/trigonometry/atan.js +47 -0
- package/lib/cjs/function/trigonometry/atan2.js +96 -0
- package/lib/cjs/function/trigonometry/atanh.js +52 -0
- package/lib/cjs/function/trigonometry/cos.js +51 -0
- package/lib/cjs/function/trigonometry/cosh.js +42 -0
- package/lib/cjs/function/trigonometry/cot.js +51 -0
- package/lib/cjs/function/trigonometry/coth.js +48 -0
- package/lib/cjs/function/trigonometry/csc.js +51 -0
- package/lib/cjs/function/trigonometry/csch.js +48 -0
- package/lib/cjs/function/trigonometry/sec.js +51 -0
- package/lib/cjs/function/trigonometry/sech.js +48 -0
- package/lib/cjs/function/trigonometry/sin.js +51 -0
- package/lib/cjs/function/trigonometry/sinh.js +42 -0
- package/lib/cjs/function/trigonometry/tan.js +48 -0
- package/lib/cjs/function/trigonometry/tanh.js +45 -0
- package/lib/cjs/function/trigonometry/trigUnit.js +21 -0
- package/lib/cjs/function/unit/to.js +53 -0
- package/lib/cjs/function/utils/clone.js +35 -0
- package/lib/cjs/function/utils/hasNumericValue.js +55 -0
- package/lib/cjs/function/utils/isInteger.js +60 -0
- package/lib/cjs/function/utils/isNaN.js +62 -0
- package/lib/cjs/function/utils/isNegative.js +64 -0
- package/lib/cjs/function/utils/isNumeric.js +56 -0
- package/lib/cjs/function/utils/isPositive.js +65 -0
- package/lib/cjs/function/utils/isPrime.js +133 -0
- package/lib/cjs/function/utils/isZero.js +70 -0
- package/lib/cjs/function/utils/numeric.js +84 -0
- package/lib/cjs/function/utils/typeOf.js +69 -0
- package/lib/cjs/header.js +26 -0
- package/lib/cjs/index.js +16 -0
- package/lib/cjs/json/replacer.js +34 -0
- package/lib/cjs/json/reviver.js +26 -0
- package/lib/cjs/number.js +16 -0
- package/lib/cjs/package.json +3 -0
- package/lib/cjs/plain/bignumber/arithmetic.js +32 -0
- package/lib/cjs/plain/bignumber/index.js +29 -0
- package/lib/cjs/plain/number/arithmetic.js +411 -0
- package/lib/cjs/plain/number/bitwise.js +64 -0
- package/lib/cjs/plain/number/combinations.js +39 -0
- package/lib/cjs/plain/number/constants.js +14 -0
- package/lib/cjs/plain/number/index.js +104 -0
- package/lib/cjs/plain/number/logical.js +27 -0
- package/lib/cjs/plain/number/probability.js +92 -0
- package/lib/cjs/plain/number/relational.js +1 -0
- package/lib/cjs/plain/number/trigonometry.js +142 -0
- package/lib/cjs/plain/number/utils.js +32 -0
- package/lib/cjs/type/bignumber/BigNumber.js +63 -0
- package/lib/cjs/type/bignumber/function/bignumber.js +83 -0
- package/lib/cjs/type/boolean.js +79 -0
- package/lib/cjs/type/chain/Chain.js +220 -0
- package/lib/cjs/type/chain/function/chain.js +57 -0
- package/lib/cjs/type/complex/Complex.js +203 -0
- package/lib/cjs/type/complex/function/complex.js +95 -0
- package/lib/cjs/type/fraction/Fraction.js +49 -0
- package/lib/cjs/type/fraction/function/fraction.js +84 -0
- package/lib/cjs/type/matrix/DenseMatrix.js +1002 -0
- package/lib/cjs/type/matrix/FibonacciHeap.js +356 -0
- package/lib/cjs/type/matrix/ImmutableDenseMatrix.js +226 -0
- package/lib/cjs/type/matrix/Matrix.js +249 -0
- package/lib/cjs/type/matrix/MatrixIndex.js +271 -0
- package/lib/cjs/type/matrix/Range.js +311 -0
- package/lib/cjs/type/matrix/Spa.js +141 -0
- package/lib/cjs/type/matrix/SparseMatrix.js +1524 -0
- package/lib/cjs/type/matrix/function/index.js +67 -0
- package/lib/cjs/type/matrix/function/matrix.js +87 -0
- package/lib/cjs/type/matrix/function/sparse.js +61 -0
- package/lib/cjs/type/matrix/utils/broadcast.js +84 -0
- package/lib/cjs/type/matrix/utils/matAlgo01xDSid.js +117 -0
- package/lib/cjs/type/matrix/utils/matAlgo02xDS0.js +121 -0
- package/lib/cjs/type/matrix/utils/matAlgo03xDSf.js +127 -0
- package/lib/cjs/type/matrix/utils/matAlgo04xSidSid.js +184 -0
- package/lib/cjs/type/matrix/utils/matAlgo05xSfSf.js +176 -0
- package/lib/cjs/type/matrix/utils/matAlgo06xS0S0.js +158 -0
- package/lib/cjs/type/matrix/utils/matAlgo07xSSf.js +124 -0
- package/lib/cjs/type/matrix/utils/matAlgo08xS0Sid.js +159 -0
- package/lib/cjs/type/matrix/utils/matAlgo09xS0Sf.js +147 -0
- package/lib/cjs/type/matrix/utils/matAlgo10xSids.js +110 -0
- package/lib/cjs/type/matrix/utils/matAlgo11xS0s.js +108 -0
- package/lib/cjs/type/matrix/utils/matAlgo12xSfs.js +110 -0
- package/lib/cjs/type/matrix/utils/matAlgo13xDD.js +99 -0
- package/lib/cjs/type/matrix/utils/matAlgo14xDs.js +81 -0
- package/lib/cjs/type/matrix/utils/matrixAlgorithmSuite.js +223 -0
- package/lib/cjs/type/number.js +154 -0
- package/lib/cjs/type/resultset/ResultSet.js +75 -0
- package/lib/cjs/type/string.js +63 -0
- package/lib/cjs/type/unit/Unit.js +3863 -0
- package/lib/cjs/type/unit/function/createUnit.js +84 -0
- package/lib/cjs/type/unit/function/splitUnit.js +37 -0
- package/lib/cjs/type/unit/function/unit.js +71 -0
- package/lib/cjs/type/unit/physicalConstants.js +153 -0
- package/lib/cjs/utils/array.js +607 -0
- package/lib/cjs/utils/bignumber/bitwise.js +411 -0
- package/lib/cjs/utils/bignumber/constants.js +66 -0
- package/lib/cjs/utils/bignumber/formatter.js +259 -0
- package/lib/cjs/utils/bignumber/nearlyEqual.js +47 -0
- package/lib/cjs/utils/collection.js +186 -0
- package/lib/cjs/utils/complex.js +18 -0
- package/lib/cjs/utils/customs.js +161 -0
- package/lib/cjs/utils/emitter.js +24 -0
- package/lib/cjs/utils/factory.js +152 -0
- package/lib/cjs/utils/function.js +107 -0
- package/lib/cjs/utils/is.js +218 -0
- package/lib/cjs/utils/latex.js +499 -0
- package/lib/cjs/utils/log.js +24 -0
- package/lib/cjs/utils/lruQueue.js +61 -0
- package/lib/cjs/utils/map.js +167 -0
- package/lib/cjs/utils/noop.js +25 -0
- package/lib/cjs/utils/number.js +691 -0
- package/lib/cjs/utils/object.js +397 -0
- package/lib/cjs/utils/product.js +20 -0
- package/lib/cjs/utils/scope.js +29 -0
- package/lib/cjs/utils/snapshot.js +234 -0
- package/lib/cjs/utils/string.js +209 -0
- package/lib/cjs/utils/switch.js +26 -0
- package/lib/cjs/version.js +10 -0
- package/lib/esm/constants.js +124 -0
- package/lib/esm/core/config.js +19 -0
- package/lib/esm/core/create.js +198 -0
- package/lib/esm/core/function/config.js +106 -0
- package/lib/esm/core/function/import.js +327 -0
- package/lib/esm/core/function/typed.js +410 -0
- package/lib/esm/defaultInstance.js +3 -0
- package/lib/esm/entry/allFactoriesAny.js +3 -0
- package/lib/esm/entry/allFactoriesNumber.js +3 -0
- package/lib/esm/entry/configReadonly.js +15 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAbs.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAccessorNode.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAcos.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAcosh.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAcot.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAcoth.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAcsc.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAcsch.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAdd.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAddScalar.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAnd.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesApply.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesApplyTransform.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesArg.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesArrayNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAsec.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAsech.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAsin.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAsinh.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAssignmentNode.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAtan.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAtan2.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAtanh.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAtomicMass.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesAvogadro.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBellNumbers.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBigNumberClass.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBignumber.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBin.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBitAnd.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBitNot.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBitOr.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBitXor.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBlockNode.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBohrMagneton.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBohrRadius.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBoltzmann.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesBoolean.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCatalan.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCbrt.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCeil.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesChain.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesChainClass.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesClassicalElectronRadius.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesClone.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesColumn.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesColumnTransform.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCombinations.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCombinationsWithRep.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCompare.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCompareNatural.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCompareText.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCompile.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesComplex.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesComplexClass.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesComposition.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesConcat.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesConcatTransform.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesConditionalNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesConductanceQuantum.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesConj.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesConstantNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCos.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCosh.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCot.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCoth.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCoulomb.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCount.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCreateUnit.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCross.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCsc.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCsch.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCtranspose.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCube.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCumSum.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesCumSumTransform.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDeepEqual.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDenseMatrixClass.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDerivative.generated.js +30 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDet.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDeuteronMass.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDiag.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDiff.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDiffTransform.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDistance.generated.js +24 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDivide.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDivideScalar.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDot.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDotDivide.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDotMultiply.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesDotPow.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesE.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesEfimovFactor.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesEigs.generated.js +68 -0
- package/lib/esm/entry/dependenciesAny/dependenciesElectricConstant.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesElectronMass.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesElementaryCharge.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesEqual.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesEqualScalar.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesEqualText.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesErf.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesEvaluate.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesExp.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesExpm.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesExpm1.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFactorial.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFalse.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFaraday.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFermiCoupling.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFft.generated.js +34 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFibonacciHeapClass.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFilter.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFilterTransform.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFineStructure.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFirstRadiation.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFix.generated.js +24 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFlatten.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFloor.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesForEach.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesForEachTransform.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFormat.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFraction.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFractionClass.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFunctionAssignmentNode.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesFunctionNode.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesGamma.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesGasConstant.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesGcd.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesGetMatrixDataType.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesGravitationConstant.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesGravity.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesHartreeEnergy.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesHasNumericValue.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesHelp.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesHelpClass.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesHex.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesHypot.generated.js +24 -0
- package/lib/esm/entry/dependenciesAny/dependenciesI.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIdentity.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIfft.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIm.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesImmutableDenseMatrixClass.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIndex.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIndexClass.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIndexNode.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIndexTransform.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesInfinity.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIntersect.generated.js +36 -0
- package/lib/esm/entry/dependenciesAny/dependenciesInv.generated.js +26 -0
- package/lib/esm/entry/dependenciesAny/dependenciesInverseConductanceQuantum.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesInvmod.generated.js +24 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIsInteger.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIsNaN.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIsNegative.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIsNumeric.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIsPositive.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIsPrime.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIsZero.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesKldivergence.generated.js +26 -0
- package/lib/esm/entry/dependenciesAny/dependenciesKlitzing.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesKron.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLN10.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLN2.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLOG10E.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLOG2E.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLarger.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLargerEq.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLcm.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLeafCount.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLeftShift.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLgamma.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLog.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLog10.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLog1p.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLog2.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLoschmidt.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLsolve.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLsolveAll.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLup.generated.js +34 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLusolve.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesLyap.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMad.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMagneticConstant.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMagneticFluxQuantum.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMap.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMapTransform.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMatrix.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMatrixClass.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMatrixFromColumns.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMatrixFromFunction.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMatrixFromRows.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMax.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMaxTransform.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMean.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMeanTransform.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMedian.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMin.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMinTransform.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMod.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMode.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMolarMass.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMolarMassC12.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMolarPlanckConstant.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMolarVolume.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMultinomial.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMultiply.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesMultiplyScalar.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNaN.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNeutronMass.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNode.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNorm.generated.js +34 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNot.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNthRoot.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNthRoots.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNuclearMagneton.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNull.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNumber.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNumeric.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesObjectNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesOct.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesOnes.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesOperatorNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesOr.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesParenthesisNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesParse.generated.js +42 -0
- package/lib/esm/entry/dependenciesAny/dependenciesParser.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesParserClass.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPartitionSelect.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPermutations.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPhi.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPi.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPickRandom.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPinv.generated.js +32 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPlanckCharge.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPlanckConstant.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPlanckLength.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPlanckMass.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPlanckTemperature.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPlanckTime.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPolynomialRoot.generated.js +34 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPow.generated.js +24 -0
- package/lib/esm/entry/dependenciesAny/dependenciesPrint.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesProd.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesProtonMass.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesQr.generated.js +38 -0
- package/lib/esm/entry/dependenciesAny/dependenciesQuantileSeq.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesQuantumOfCirculation.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRandom.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRandomInt.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRange.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRangeClass.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRangeNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRangeTransform.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRationalize.generated.js +56 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRe.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesReducedPlanckConstant.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRelationalNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesReplacer.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesReshape.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesResize.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesResolve.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesResultSet.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesReviver.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRightArithShift.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRightLogShift.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRotate.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRotationMatrix.generated.js +30 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRound.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRow.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRowTransform.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRydberg.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSQRT1_2.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSQRT2.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSackurTetrode.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSchur.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSec.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSech.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSecondRadiation.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSetCartesian.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSetDifference.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSetDistinct.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSetIntersect.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSetIsSubset.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSetMultiplicity.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSetPowerset.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSetSize.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSetSymDifference.generated.js +20 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSetUnion.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSign.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSimplify.generated.js +56 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSimplifyConstant.generated.js +32 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSimplifyCore.generated.js +44 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSin.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSinh.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSize.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSlu.generated.js +28 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSmaller.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSmallerEq.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSort.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSpaClass.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSparse.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSparseMatrixClass.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSpeedOfLight.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSplitUnit.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSqrt.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSqrtm.generated.js +30 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSquare.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSqueeze.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesStd.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesStdTransform.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesStefanBoltzmann.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesStirlingS2.generated.js +34 -0
- package/lib/esm/entry/dependenciesAny/dependenciesString.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSubset.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSubsetTransform.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSubtract.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSum.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSumTransform.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSylvester.generated.js +38 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSymbolNode.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSymbolicEqual.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesTan.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesTanh.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesTau.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesThomsonCrossSection.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesTo.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesTrace.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesTranspose.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesTrue.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesTypeOf.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesTyped.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesUnaryMinus.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesUnaryPlus.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesUnequal.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesUnitClass.generated.js +38 -0
- package/lib/esm/entry/dependenciesAny/dependenciesUnitFunction.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesUppercaseE.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesUppercasePi.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesUsolve.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesUsolveAll.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesVacuumImpedance.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesVariance.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesVarianceTransform.generated.js +22 -0
- package/lib/esm/entry/dependenciesAny/dependenciesVersion.generated.js +8 -0
- package/lib/esm/entry/dependenciesAny/dependenciesWeakMixingAngle.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesWienDisplacement.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesXgcd.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesXor.generated.js +16 -0
- package/lib/esm/entry/dependenciesAny/dependenciesZeros.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny.generated.js +354 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAbs.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAccessorNode.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAcos.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAcosh.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAcot.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAcoth.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAcsc.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAcsch.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAdd.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAddScalar.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAnd.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesApply.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesApplyTransform.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesArrayNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAsec.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAsech.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAsin.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAsinh.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAssignmentNode.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAtan.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAtan2.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesAtanh.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesBellNumbers.generated.js +18 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesBitAnd.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesBitNot.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesBitOr.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesBitXor.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesBlockNode.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesBoolean.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCatalan.generated.js +22 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCbrt.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCeil.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesChain.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesChainClass.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesClone.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCombinations.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCombinationsWithRep.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCompare.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCompareNatural.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCompareText.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCompile.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesComposition.generated.js +22 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesConditionalNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesConstantNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCos.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCosh.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCot.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCoth.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCsc.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCsch.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCube.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCumSum.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesCumSumTransform.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesDeepEqual.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesDerivative.generated.js +30 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesDivide.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesDivideScalar.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesE.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesEqual.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesEqualScalar.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesEqualText.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesErf.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesEvaluate.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesExp.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesExpm1.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesFactorial.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesFalse.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesFilter.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesFilterTransform.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesFix.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesFloor.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesForEach.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesForEachTransform.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesFormat.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesFunctionAssignmentNode.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesFunctionNode.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesGamma.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesGcd.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesHasNumericValue.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesHelp.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesHelpClass.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesHypot.generated.js +24 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesIndex.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesIndexNode.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesInfinity.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesIsInteger.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesIsNaN.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesIsNegative.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesIsNumeric.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesIsPositive.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesIsPrime.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesIsZero.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLN10.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLN2.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLOG10E.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLOG2E.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLarger.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLargerEq.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLcm.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLeftShift.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLgamma.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLog.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLog10.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLog1p.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesLog2.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMad.generated.js +18 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMap.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMapTransform.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMatrix.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMax.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMaxTransform.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMean.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMeanTransform.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMedian.generated.js +18 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMin.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMinTransform.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMod.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMode.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMultinomial.generated.js +22 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMultiply.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesMultiplyScalar.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesNaN.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesNode.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesNorm.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesNot.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesNthRoot.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesNull.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesNumber.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesNumeric.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesObjectNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesOperatorNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesOr.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesParenthesisNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesParse.generated.js +42 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesParser.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesParserClass.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesPartitionSelect.generated.js +16 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesPermutations.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesPhi.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesPi.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesPickRandom.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesPow.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesPrint.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesProd.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesQuantileSeq.generated.js +18 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRandom.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRandomInt.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRange.generated.js +20 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRangeClass.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRangeNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRangeTransform.generated.js +20 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRationalize.generated.js +52 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRelationalNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesReplacer.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesResolve.generated.js +20 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesResultSet.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesReviver.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRightArithShift.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRightLogShift.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRound.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSQRT1_2.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSQRT2.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSec.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSech.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSign.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSimplify.generated.js +52 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSimplifyConstant.generated.js +28 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSimplifyCore.generated.js +44 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSin.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSinh.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSize.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSmaller.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSmallerEq.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSqrt.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSquare.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesStd.generated.js +16 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesStdTransform.generated.js +16 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesStirlingS2.generated.js +32 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesString.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSubset.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSubsetTransform.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSubtract.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSum.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSumTransform.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSymbolNode.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesTan.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesTanh.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesTau.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesTrue.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesTypeOf.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesTyped.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesUnaryMinus.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesUnaryPlus.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesUnequal.generated.js +12 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesUppercaseE.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesUppercasePi.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesVariance.generated.js +22 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesVarianceTransform.generated.js +22 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesVersion.generated.js +8 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesXgcd.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesXor.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber.generated.js +206 -0
- package/lib/esm/entry/impureFunctionsAny.generated.js +687 -0
- package/lib/esm/entry/impureFunctionsNumber.generated.js +496 -0
- package/lib/esm/entry/mainAny.js +22 -0
- package/lib/esm/entry/mainNumber.js +22 -0
- package/lib/esm/entry/pureFunctionsAny.generated.js +1703 -0
- package/lib/esm/entry/pureFunctionsNumber.generated.js +563 -0
- package/lib/esm/entry/typeChecks.js +2 -0
- package/lib/esm/error/ArgumentsError.js +24 -0
- package/lib/esm/error/DimensionError.js +23 -0
- package/lib/esm/error/IndexError.js +35 -0
- package/lib/esm/expression/Help.js +115 -0
- package/lib/esm/expression/Parser.js +141 -0
- package/lib/esm/expression/embeddedDocs/constants/Infinity.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/LN10.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/LN2.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/LOG10E.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/LOG2E.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/NaN.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/SQRT1_2.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/SQRT2.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/e.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/false.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/i.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/null.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/phi.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/pi.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/tau.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/true.js +8 -0
- package/lib/esm/expression/embeddedDocs/constants/version.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/bignumber.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/boolean.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/complex.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/createUnit.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/fraction.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/index.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/matrix.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/number.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/sparse.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/splitUnit.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/string.js +8 -0
- package/lib/esm/expression/embeddedDocs/construction/unit.js +8 -0
- package/lib/esm/expression/embeddedDocs/core/config.js +8 -0
- package/lib/esm/expression/embeddedDocs/core/import.js +8 -0
- package/lib/esm/expression/embeddedDocs/core/typed.js +8 -0
- package/lib/esm/expression/embeddedDocs/embeddedDocs.js +706 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/derivative.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/leafCount.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/lsolve.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/lsolveAll.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/lup.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/lusolve.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/polynomialRoot.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/qr.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/rationalize.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/resolve.js +9 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/simplify.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/simplifyConstant.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/simplifyCore.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/slu.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/symbolicEqual.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/usolve.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/usolveAll.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/abs.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/add.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/cbrt.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/ceil.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/cube.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/divide.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/dotDivide.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/dotMultiply.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/dotPow.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/exp.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/expm.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/expm1.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/fix.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/floor.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/gcd.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/hypot.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/invmod.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/lcm.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/log.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/log10.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/log1p.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/log2.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/mod.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/multiply.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/norm.js +7 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/nthRoot.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/nthRoots.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/pow.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/round.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/sign.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/sqrt.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/sqrtm.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/square.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/subtract.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/unaryMinus.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/unaryPlus.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/xgcd.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/bitwise/bitAnd.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/bitwise/bitNot.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/bitwise/bitOr.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/bitwise/bitXor.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/bitwise/leftShift.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/bitwise/rightArithShift.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/bitwise/rightLogShift.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/combinatorics/bellNumbers.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/combinatorics/catalan.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/combinatorics/composition.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/combinatorics/stirlingS2.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/complex/arg.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/complex/conj.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/complex/im.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/complex/re.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/expression/evaluate.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/expression/help.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/geometry/distance.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/geometry/intersect.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/logical/and.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/logical/not.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/logical/or.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/logical/xor.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/column.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/concat.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/count.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/cross.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/ctranspose.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/det.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/diag.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/diff.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/dot.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/eigs.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/fft.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/filter.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/flatten.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/forEach.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/getMatrixDataType.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/identity.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/ifft.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/inv.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/kron.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/lyap.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/map.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromColumns.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromFunction.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromRows.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/ones.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/partitionSelect.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/pinv.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/range.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/reshape.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/resize.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/rotate.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/rotationMatrix.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/row.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/schur.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/size.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/sort.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/squeeze.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/subset.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/sylvester.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/trace.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/transpose.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/zeros.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/combinations.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/combinationsWithRep.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/distribution.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/factorial.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/gamma.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/kldivergence.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/lgamma.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/multinomial.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/permutations.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/pickRandom.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/random.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/probability/randomInt.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/relational/compare.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/relational/compareNatural.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/relational/compareText.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/relational/deepEqual.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/relational/equal.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/relational/equalText.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/relational/larger.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/relational/largerEq.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/relational/smaller.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/relational/smallerEq.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/relational/unequal.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/set/setCartesian.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/set/setDifference.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/set/setDistinct.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/set/setIntersect.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/set/setIsSubset.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/set/setMultiplicity.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/set/setPowerset.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/set/setSize.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/set/setSymDifference.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/set/setUnion.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/special/erf.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/cumsum.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/mad.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/max.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/mean.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/median.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/min.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/mode.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/prod.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/quantileSeq.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/std.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/sum.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/statistics/variance.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/acos.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/acosh.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/acot.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/acoth.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/acsc.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/acsch.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/asec.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/asech.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/asin.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/asinh.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/atan.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/atan2.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/atanh.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/cos.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/cosh.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/cot.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/coth.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/csc.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/csch.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/sec.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/sech.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/sin.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/sinh.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/tan.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/trigonometry/tanh.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/units/to.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/bin.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/clone.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/format.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/hasNumericValue.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/hex.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/isInteger.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/isNaN.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/isNegative.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/isNumeric.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/isPositive.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/isPrime.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/isZero.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/numeric.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/oct.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/print.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/typeOf.js +8 -0
- package/lib/esm/expression/function/compile.js +54 -0
- package/lib/esm/expression/function/evaluate.js +63 -0
- package/lib/esm/expression/function/help.js +67 -0
- package/lib/esm/expression/function/parser.js +57 -0
- package/lib/esm/expression/keywords.js +2 -0
- package/lib/esm/expression/node/AccessorNode.js +189 -0
- package/lib/esm/expression/node/ArrayNode.js +176 -0
- package/lib/esm/expression/node/AssignmentNode.js +306 -0
- package/lib/esm/expression/node/BlockNode.js +185 -0
- package/lib/esm/expression/node/ConditionalNode.js +225 -0
- package/lib/esm/expression/node/ConstantNode.js +172 -0
- package/lib/esm/expression/node/FunctionAssignmentNode.js +235 -0
- package/lib/esm/expression/node/FunctionNode.js +470 -0
- package/lib/esm/expression/node/IndexNode.js +219 -0
- package/lib/esm/expression/node/Node.js +361 -0
- package/lib/esm/expression/node/ObjectNode.js +195 -0
- package/lib/esm/expression/node/OperatorNode.js +623 -0
- package/lib/esm/expression/node/ParenthesisNode.js +152 -0
- package/lib/esm/expression/node/RangeNode.js +251 -0
- package/lib/esm/expression/node/RelationalNode.js +198 -0
- package/lib/esm/expression/node/SymbolNode.js +193 -0
- package/lib/esm/expression/node/utils/access.js +40 -0
- package/lib/esm/expression/node/utils/assign.js +46 -0
- package/lib/esm/expression/operators.js +381 -0
- package/lib/esm/expression/parse.js +1642 -0
- package/lib/esm/expression/transform/apply.transform.js +44 -0
- package/lib/esm/expression/transform/column.transform.js +47 -0
- package/lib/esm/expression/transform/concat.transform.js +45 -0
- package/lib/esm/expression/transform/cumsum.transform.js +46 -0
- package/lib/esm/expression/transform/diff.transform.js +41 -0
- package/lib/esm/expression/transform/filter.transform.js +77 -0
- package/lib/esm/expression/transform/forEach.transform.js +66 -0
- package/lib/esm/expression/transform/index.transform.js +49 -0
- package/lib/esm/expression/transform/map.transform.js +80 -0
- package/lib/esm/expression/transform/max.transform.js +40 -0
- package/lib/esm/expression/transform/mean.transform.js +38 -0
- package/lib/esm/expression/transform/min.transform.js +40 -0
- package/lib/esm/expression/transform/range.transform.js +46 -0
- package/lib/esm/expression/transform/row.transform.js +47 -0
- package/lib/esm/expression/transform/std.transform.js +40 -0
- package/lib/esm/expression/transform/subset.transform.js +33 -0
- package/lib/esm/expression/transform/sum.transform.js +40 -0
- package/lib/esm/expression/transform/utils/compileInlineExpression.js +29 -0
- package/lib/esm/expression/transform/utils/errorTransform.js +13 -0
- package/lib/esm/expression/transform/utils/lastDimToZeroBase.js +17 -0
- package/lib/esm/expression/transform/variance.transform.js +46 -0
- package/lib/esm/factoriesAny.js +284 -0
- package/lib/esm/factoriesNumber.js +263 -0
- package/lib/esm/function/algebra/decomposition/lup.js +379 -0
- package/lib/esm/function/algebra/decomposition/qr.js +222 -0
- package/lib/esm/function/algebra/decomposition/schur.js +70 -0
- package/lib/esm/function/algebra/decomposition/slu.js +101 -0
- package/lib/esm/function/algebra/derivative.js +543 -0
- package/lib/esm/function/algebra/leafCount.js +54 -0
- package/lib/esm/function/algebra/lyap.js +52 -0
- package/lib/esm/function/algebra/polynomialRoot.js +122 -0
- package/lib/esm/function/algebra/rationalize.js +823 -0
- package/lib/esm/function/algebra/resolve.js +97 -0
- package/lib/esm/function/algebra/simplify/util.js +261 -0
- package/lib/esm/function/algebra/simplify/wildcards.js +20 -0
- package/lib/esm/function/algebra/simplify.js +1254 -0
- package/lib/esm/function/algebra/simplifyConstant.js +458 -0
- package/lib/esm/function/algebra/simplifyCore.js +290 -0
- package/lib/esm/function/algebra/solver/lsolve.js +157 -0
- package/lib/esm/function/algebra/solver/lsolveAll.js +186 -0
- package/lib/esm/function/algebra/solver/lusolve.js +108 -0
- package/lib/esm/function/algebra/solver/usolve.js +161 -0
- package/lib/esm/function/algebra/solver/usolveAll.js +190 -0
- package/lib/esm/function/algebra/solver/utils/solveValidation.js +115 -0
- package/lib/esm/function/algebra/sparse/csAmd.js +581 -0
- package/lib/esm/function/algebra/sparse/csChol.js +156 -0
- package/lib/esm/function/algebra/sparse/csCounts.js +125 -0
- package/lib/esm/function/algebra/sparse/csCumsum.js +26 -0
- package/lib/esm/function/algebra/sparse/csDfs.js +75 -0
- package/lib/esm/function/algebra/sparse/csEreach.js +62 -0
- package/lib/esm/function/algebra/sparse/csEtree.js +69 -0
- package/lib/esm/function/algebra/sparse/csFkeep.js +56 -0
- package/lib/esm/function/algebra/sparse/csFlip.js +11 -0
- package/lib/esm/function/algebra/sparse/csIpvec.js +29 -0
- package/lib/esm/function/algebra/sparse/csLeaf.js +56 -0
- package/lib/esm/function/algebra/sparse/csLu.js +180 -0
- package/lib/esm/function/algebra/sparse/csMark.js +14 -0
- package/lib/esm/function/algebra/sparse/csMarked.js +12 -0
- package/lib/esm/function/algebra/sparse/csPermute.js +59 -0
- package/lib/esm/function/algebra/sparse/csPost.js +51 -0
- package/lib/esm/function/algebra/sparse/csReach.js +50 -0
- package/lib/esm/function/algebra/sparse/csSpsolve.js +83 -0
- package/lib/esm/function/algebra/sparse/csSqr.js +178 -0
- package/lib/esm/function/algebra/sparse/csSymperm.js +92 -0
- package/lib/esm/function/algebra/sparse/csTdfs.js +40 -0
- package/lib/esm/function/algebra/sparse/csUnflip.js +13 -0
- package/lib/esm/function/algebra/sylvester.js +118 -0
- package/lib/esm/function/algebra/symbolicEqual.js +60 -0
- package/lib/esm/function/arithmetic/abs.js +40 -0
- package/lib/esm/function/arithmetic/add.js +83 -0
- package/lib/esm/function/arithmetic/addScalar.js +46 -0
- package/lib/esm/function/arithmetic/cbrt.js +131 -0
- package/lib/esm/function/arithmetic/ceil.js +161 -0
- package/lib/esm/function/arithmetic/cube.js +51 -0
- package/lib/esm/function/arithmetic/divide.js +79 -0
- package/lib/esm/function/arithmetic/divideScalar.js +37 -0
- package/lib/esm/function/arithmetic/dotDivide.js +78 -0
- package/lib/esm/function/arithmetic/dotMultiply.js +66 -0
- package/lib/esm/function/arithmetic/dotPow.js +78 -0
- package/lib/esm/function/arithmetic/exp.js +48 -0
- package/lib/esm/function/arithmetic/expm1.js +53 -0
- package/lib/esm/function/arithmetic/fix.js +126 -0
- package/lib/esm/function/arithmetic/floor.js +164 -0
- package/lib/esm/function/arithmetic/gcd.js +117 -0
- package/lib/esm/function/arithmetic/hypot.js +77 -0
- package/lib/esm/function/arithmetic/invmod.js +55 -0
- package/lib/esm/function/arithmetic/lcm.js +110 -0
- package/lib/esm/function/arithmetic/log.js +72 -0
- package/lib/esm/function/arithmetic/log10.js +59 -0
- package/lib/esm/function/arithmetic/log1p.js +81 -0
- package/lib/esm/function/arithmetic/log2.js +68 -0
- package/lib/esm/function/arithmetic/mod.js +101 -0
- package/lib/esm/function/arithmetic/multiply.js +879 -0
- package/lib/esm/function/arithmetic/multiplyScalar.js +35 -0
- package/lib/esm/function/arithmetic/norm.js +287 -0
- package/lib/esm/function/arithmetic/nthRoot.js +166 -0
- package/lib/esm/function/arithmetic/nthRoots.js +112 -0
- package/lib/esm/function/arithmetic/pow.js +191 -0
- package/lib/esm/function/arithmetic/round.js +148 -0
- package/lib/esm/function/arithmetic/sign.js +63 -0
- package/lib/esm/function/arithmetic/sqrt.js +70 -0
- package/lib/esm/function/arithmetic/square.js +52 -0
- package/lib/esm/function/arithmetic/subtract.js +106 -0
- package/lib/esm/function/arithmetic/unaryMinus.js +46 -0
- package/lib/esm/function/arithmetic/unaryPlus.js +60 -0
- package/lib/esm/function/arithmetic/xgcd.js +91 -0
- package/lib/esm/function/bitwise/bitAnd.js +65 -0
- package/lib/esm/function/bitwise/bitNot.js +38 -0
- package/lib/esm/function/bitwise/bitOr.js +66 -0
- package/lib/esm/function/bitwise/bitXor.js +64 -0
- package/lib/esm/function/bitwise/leftShift.js +114 -0
- package/lib/esm/function/bitwise/rightArithShift.js +114 -0
- package/lib/esm/function/bitwise/rightLogShift.js +115 -0
- package/lib/esm/function/bitwise/useMatrixForArrayScalar.js +13 -0
- package/lib/esm/function/combinatorics/bellNumbers.js +47 -0
- package/lib/esm/function/combinatorics/catalan.js +43 -0
- package/lib/esm/function/combinatorics/composition.js +46 -0
- package/lib/esm/function/combinatorics/stirlingS2.js +86 -0
- package/lib/esm/function/complex/arg.js +50 -0
- package/lib/esm/function/complex/conj.js +39 -0
- package/lib/esm/function/complex/im.js +42 -0
- package/lib/esm/function/complex/re.js +41 -0
- package/lib/esm/function/geometry/distance.js +303 -0
- package/lib/esm/function/geometry/intersect.js +200 -0
- package/lib/esm/function/logical/and.js +121 -0
- package/lib/esm/function/logical/not.js +47 -0
- package/lib/esm/function/logical/or.js +76 -0
- package/lib/esm/function/logical/xor.js +75 -0
- package/lib/esm/function/matrix/apply.js +111 -0
- package/lib/esm/function/matrix/column.js +59 -0
- package/lib/esm/function/matrix/concat.js +131 -0
- package/lib/esm/function/matrix/count.js +39 -0
- package/lib/esm/function/matrix/cross.js +81 -0
- package/lib/esm/function/matrix/ctranspose.js +37 -0
- package/lib/esm/function/matrix/det.js +143 -0
- package/lib/esm/function/matrix/diag.js +155 -0
- package/lib/esm/function/matrix/diff.js +165 -0
- package/lib/esm/function/matrix/dot.js +156 -0
- package/lib/esm/function/matrix/eigs/complexEigs.js +693 -0
- package/lib/esm/function/matrix/eigs/realSymetric.js +293 -0
- package/lib/esm/function/matrix/eigs.js +256 -0
- package/lib/esm/function/matrix/expm.js +154 -0
- package/lib/esm/function/matrix/fft.js +128 -0
- package/lib/esm/function/matrix/filter.js +72 -0
- package/lib/esm/function/matrix/flatten.js +39 -0
- package/lib/esm/function/matrix/forEach.js +69 -0
- package/lib/esm/function/matrix/getMatrixDataType.js +52 -0
- package/lib/esm/function/matrix/identity.js +136 -0
- package/lib/esm/function/matrix/ifft.js +37 -0
- package/lib/esm/function/matrix/inv.js +184 -0
- package/lib/esm/function/matrix/kron.js +85 -0
- package/lib/esm/function/matrix/map.js +105 -0
- package/lib/esm/function/matrix/matrixFromColumns.js +89 -0
- package/lib/esm/function/matrix/matrixFromFunction.js +74 -0
- package/lib/esm/function/matrix/matrixFromRows.js +77 -0
- package/lib/esm/function/matrix/ones.js +123 -0
- package/lib/esm/function/matrix/partitionSelect.js +144 -0
- package/lib/esm/function/matrix/pinv.js +179 -0
- package/lib/esm/function/matrix/range.js +258 -0
- package/lib/esm/function/matrix/reshape.js +63 -0
- package/lib/esm/function/matrix/resize.js +121 -0
- package/lib/esm/function/matrix/rotate.js +71 -0
- package/lib/esm/function/matrix/rotationMatrix.js +160 -0
- package/lib/esm/function/matrix/row.js +59 -0
- package/lib/esm/function/matrix/size.js +48 -0
- package/lib/esm/function/matrix/sort.js +113 -0
- package/lib/esm/function/matrix/sqrtm.js +99 -0
- package/lib/esm/function/matrix/squeeze.js +54 -0
- package/lib/esm/function/matrix/subset.js +213 -0
- package/lib/esm/function/matrix/trace.js +128 -0
- package/lib/esm/function/matrix/transpose.js +161 -0
- package/lib/esm/function/matrix/zeros.js +123 -0
- package/lib/esm/function/probability/combinations.js +69 -0
- package/lib/esm/function/probability/combinationsWithRep.js +84 -0
- package/lib/esm/function/probability/factorial.js +47 -0
- package/lib/esm/function/probability/gamma.js +120 -0
- package/lib/esm/function/probability/kldivergence.js +77 -0
- package/lib/esm/function/probability/lgamma.js +137 -0
- package/lib/esm/function/probability/multinomial.js +50 -0
- package/lib/esm/function/probability/permutations.js +78 -0
- package/lib/esm/function/probability/pickRandom.js +151 -0
- package/lib/esm/function/probability/random.js +96 -0
- package/lib/esm/function/probability/randomInt.js +67 -0
- package/lib/esm/function/probability/util/randomMatrix.js +20 -0
- package/lib/esm/function/probability/util/seededRNG.js +19 -0
- package/lib/esm/function/relational/compare.js +111 -0
- package/lib/esm/function/relational/compareNatural.js +274 -0
- package/lib/esm/function/relational/compareText.js +57 -0
- package/lib/esm/function/relational/compareUnits.js +14 -0
- package/lib/esm/function/relational/deepEqual.js +74 -0
- package/lib/esm/function/relational/equal.js +110 -0
- package/lib/esm/function/relational/equalScalar.js +53 -0
- package/lib/esm/function/relational/equalText.js +41 -0
- package/lib/esm/function/relational/larger.js +98 -0
- package/lib/esm/function/relational/largerEq.js +94 -0
- package/lib/esm/function/relational/smaller.js +98 -0
- package/lib/esm/function/relational/smallerEq.js +94 -0
- package/lib/esm/function/relational/unequal.js +113 -0
- package/lib/esm/function/set/setCartesian.js +58 -0
- package/lib/esm/function/set/setDifference.js +71 -0
- package/lib/esm/function/set/setDistinct.js +57 -0
- package/lib/esm/function/set/setIntersect.js +63 -0
- package/lib/esm/function/set/setIsSubset.js +62 -0
- package/lib/esm/function/set/setMultiplicity.js +50 -0
- package/lib/esm/function/set/setPowerset.js +75 -0
- package/lib/esm/function/set/setSize.js +51 -0
- package/lib/esm/function/set/setSymDifference.js +48 -0
- package/lib/esm/function/set/setUnion.js +49 -0
- package/lib/esm/function/special/erf.js +152 -0
- package/lib/esm/function/statistics/cumsum.js +123 -0
- package/lib/esm/function/statistics/mad.js +64 -0
- package/lib/esm/function/statistics/max.js +104 -0
- package/lib/esm/function/statistics/mean.js +94 -0
- package/lib/esm/function/statistics/median.js +109 -0
- package/lib/esm/function/statistics/min.js +104 -0
- package/lib/esm/function/statistics/mode.js +76 -0
- package/lib/esm/function/statistics/prod.js +79 -0
- package/lib/esm/function/statistics/quantileSeq.js +235 -0
- package/lib/esm/function/statistics/std.js +97 -0
- package/lib/esm/function/statistics/sum.js +84 -0
- package/lib/esm/function/statistics/utils/improveErrorMessage.js +25 -0
- package/lib/esm/function/statistics/variance.js +153 -0
- package/lib/esm/function/string/bin.js +44 -0
- package/lib/esm/function/string/format.js +131 -0
- package/lib/esm/function/string/hex.js +43 -0
- package/lib/esm/function/string/oct.js +45 -0
- package/lib/esm/function/string/print.js +86 -0
- package/lib/esm/function/trigonometry/acos.js +49 -0
- package/lib/esm/function/trigonometry/acosh.js +49 -0
- package/lib/esm/function/trigonometry/acot.js +42 -0
- package/lib/esm/function/trigonometry/acoth.js +48 -0
- package/lib/esm/function/trigonometry/acsc.js +49 -0
- package/lib/esm/function/trigonometry/acsch.js +41 -0
- package/lib/esm/function/trigonometry/asec.js +50 -0
- package/lib/esm/function/trigonometry/asech.js +53 -0
- package/lib/esm/function/trigonometry/asin.js +49 -0
- package/lib/esm/function/trigonometry/asinh.js +40 -0
- package/lib/esm/function/trigonometry/atan.js +42 -0
- package/lib/esm/function/trigonometry/atan2.js +89 -0
- package/lib/esm/function/trigonometry/atanh.js +47 -0
- package/lib/esm/function/trigonometry/cos.js +44 -0
- package/lib/esm/function/trigonometry/cosh.js +35 -0
- package/lib/esm/function/trigonometry/cot.js +42 -0
- package/lib/esm/function/trigonometry/coth.js +39 -0
- package/lib/esm/function/trigonometry/csc.js +42 -0
- package/lib/esm/function/trigonometry/csch.js +39 -0
- package/lib/esm/function/trigonometry/sec.js +42 -0
- package/lib/esm/function/trigonometry/sech.js +39 -0
- package/lib/esm/function/trigonometry/sin.js +44 -0
- package/lib/esm/function/trigonometry/sinh.js +35 -0
- package/lib/esm/function/trigonometry/tan.js +41 -0
- package/lib/esm/function/trigonometry/tanh.js +38 -0
- package/lib/esm/function/trigonometry/trigUnit.js +14 -0
- package/lib/esm/function/unit/to.js +46 -0
- package/lib/esm/function/utils/clone.js +30 -0
- package/lib/esm/function/utils/hasNumericValue.js +48 -0
- package/lib/esm/function/utils/isInteger.js +51 -0
- package/lib/esm/function/utils/isNaN.js +57 -0
- package/lib/esm/function/utils/isNegative.js +51 -0
- package/lib/esm/function/utils/isNumeric.js +43 -0
- package/lib/esm/function/utils/isPositive.js +52 -0
- package/lib/esm/function/utils/isPrime.js +122 -0
- package/lib/esm/function/utils/isZero.js +57 -0
- package/lib/esm/function/utils/numeric.js +73 -0
- package/lib/esm/function/utils/typeOf.js +64 -0
- package/lib/esm/header.js +26 -0
- package/lib/esm/index.js +1 -0
- package/lib/esm/json/replacer.js +27 -0
- package/lib/esm/json/reviver.js +21 -0
- package/lib/esm/number.js +1 -0
- package/lib/esm/plain/bignumber/arithmetic.js +22 -0
- package/lib/esm/plain/bignumber/index.js +9 -0
- package/lib/esm/plain/number/arithmetic.js +374 -0
- package/lib/esm/plain/number/bitwise.js +52 -0
- package/lib/esm/plain/number/combinations.js +33 -0
- package/lib/esm/plain/number/constants.js +4 -0
- package/lib/esm/plain/number/index.js +9 -0
- package/lib/esm/plain/number/logical.js +18 -0
- package/lib/esm/plain/number/probability.js +77 -0
- package/lib/esm/plain/number/relational.js +0 -0
- package/lib/esm/plain/number/trigonometry.js +112 -0
- package/lib/esm/plain/number/utils.js +22 -0
- package/lib/esm/type/bignumber/BigNumber.js +57 -0
- package/lib/esm/type/bignumber/function/bignumber.js +74 -0
- package/lib/esm/type/boolean.js +70 -0
- package/lib/esm/type/chain/Chain.js +213 -0
- package/lib/esm/type/chain/function/chain.js +52 -0
- package/lib/esm/type/complex/Complex.js +194 -0
- package/lib/esm/type/complex/function/complex.js +86 -0
- package/lib/esm/type/fraction/Fraction.js +41 -0
- package/lib/esm/type/fraction/function/fraction.js +75 -0
- package/lib/esm/type/matrix/DenseMatrix.js +943 -0
- package/lib/esm/type/matrix/FibonacciHeap.js +351 -0
- package/lib/esm/type/matrix/ImmutableDenseMatrix.js +221 -0
- package/lib/esm/type/matrix/Matrix.js +242 -0
- package/lib/esm/type/matrix/MatrixIndex.js +266 -0
- package/lib/esm/type/matrix/Range.js +304 -0
- package/lib/esm/type/matrix/Spa.js +136 -0
- package/lib/esm/type/matrix/SparseMatrix.js +1486 -0
- package/lib/esm/type/matrix/function/index.js +62 -0
- package/lib/esm/type/matrix/function/matrix.js +82 -0
- package/lib/esm/type/matrix/function/sparse.js +56 -0
- package/lib/esm/type/matrix/utils/broadcast.js +75 -0
- package/lib/esm/type/matrix/utils/matAlgo01xDSid.js +112 -0
- package/lib/esm/type/matrix/utils/matAlgo02xDS0.js +116 -0
- package/lib/esm/type/matrix/utils/matAlgo03xDSf.js +122 -0
- package/lib/esm/type/matrix/utils/matAlgo04xSidSid.js +179 -0
- package/lib/esm/type/matrix/utils/matAlgo05xSfSf.js +171 -0
- package/lib/esm/type/matrix/utils/matAlgo06xS0S0.js +153 -0
- package/lib/esm/type/matrix/utils/matAlgo07xSSf.js +119 -0
- package/lib/esm/type/matrix/utils/matAlgo08xS0Sid.js +154 -0
- package/lib/esm/type/matrix/utils/matAlgo09xS0Sf.js +142 -0
- package/lib/esm/type/matrix/utils/matAlgo10xSids.js +105 -0
- package/lib/esm/type/matrix/utils/matAlgo11xS0s.js +103 -0
- package/lib/esm/type/matrix/utils/matAlgo12xSfs.js +105 -0
- package/lib/esm/type/matrix/utils/matAlgo13xDD.js +94 -0
- package/lib/esm/type/matrix/utils/matAlgo14xDs.js +76 -0
- package/lib/esm/type/matrix/utils/matrixAlgorithmSuite.js +156 -0
- package/lib/esm/type/number.js +145 -0
- package/lib/esm/type/resultset/ResultSet.js +68 -0
- package/lib/esm/type/string.js +54 -0
- package/lib/esm/type/unit/Unit.js +3848 -0
- package/lib/esm/type/unit/function/createUnit.js +79 -0
- package/lib/esm/type/unit/function/splitUnit.js +32 -0
- package/lib/esm/type/unit/function/unit.js +62 -0
- package/lib/esm/type/unit/physicalConstants.js +101 -0
- package/lib/esm/utils/array.js +579 -0
- package/lib/esm/utils/bignumber/bitwise.js +399 -0
- package/lib/esm/utils/bignumber/constants.js +57 -0
- package/lib/esm/utils/bignumber/formatter.js +251 -0
- package/lib/esm/utils/bignumber/nearlyEqual.js +41 -0
- package/lib/esm/utils/collection.js +177 -0
- package/lib/esm/utils/complex.js +13 -0
- package/lib/esm/utils/customs.js +153 -0
- package/lib/esm/utils/emitter.js +18 -0
- package/lib/esm/utils/factory.js +127 -0
- package/lib/esm/utils/function.js +99 -0
- package/lib/esm/utils/is.js +169 -0
- package/lib/esm/utils/latex.js +485 -0
- package/lib/esm/utils/log.js +16 -0
- package/lib/esm/utils/lruQueue.js +55 -0
- package/lib/esm/utils/map.js +120 -0
- package/lib/esm/utils/noop.js +15 -0
- package/lib/esm/utils/number.js +657 -0
- package/lib/esm/utils/object.js +373 -0
- package/lib/esm/utils/product.js +14 -0
- package/lib/esm/utils/scope.js +24 -0
- package/lib/esm/utils/snapshot.js +227 -0
- package/lib/esm/utils/string.js +198 -0
- package/lib/esm/utils/switch.js +20 -0
- package/lib/esm/version.js +3 -0
- package/main/es5/index.js +3 -0
- package/main/es5/number.js +3 -0
- package/main/es5/package.json +3 -0
- package/main/esm/index.js +3 -0
- package/main/esm/number.js +3 -0
- package/main/esm/package.json +3 -0
- package/number.cjs +3 -0
- package/package.json +178 -0
- package/types/index.d.ts +6429 -0
- package/types/tslint.json +6 -0
@@ -0,0 +1,1254 @@
|
|
1
|
+
import { isParenthesisNode } from '../../utils/is.js';
|
2
|
+
import { isConstantNode, isVariableNode, isNumericNode, isConstantExpression } from './simplify/wildcards.js';
|
3
|
+
import { factory } from '../../utils/factory.js';
|
4
|
+
import { createUtil } from './simplify/util.js';
|
5
|
+
import { hasOwnProperty } from '../../utils/object.js';
|
6
|
+
import { createEmptyMap, createMap } from '../../utils/map.js';
|
7
|
+
var name = 'simplify';
|
8
|
+
var dependencies = ['config', 'typed', 'parse', 'add', 'subtract', 'multiply', 'divide', 'pow', 'isZero', 'equal', 'resolve', 'simplifyConstant', 'simplifyCore', '?fraction', '?bignumber', 'mathWithTransform', 'matrix', 'AccessorNode', 'ArrayNode', 'ConstantNode', 'FunctionNode', 'IndexNode', 'ObjectNode', 'OperatorNode', 'ParenthesisNode', 'SymbolNode'];
|
9
|
+
export var createSimplify = /* #__PURE__ */factory(name, dependencies, _ref => {
|
10
|
+
var {
|
11
|
+
config,
|
12
|
+
typed,
|
13
|
+
parse,
|
14
|
+
add,
|
15
|
+
subtract,
|
16
|
+
multiply,
|
17
|
+
divide,
|
18
|
+
pow,
|
19
|
+
isZero,
|
20
|
+
equal,
|
21
|
+
resolve,
|
22
|
+
simplifyConstant,
|
23
|
+
simplifyCore,
|
24
|
+
fraction,
|
25
|
+
bignumber,
|
26
|
+
mathWithTransform,
|
27
|
+
matrix,
|
28
|
+
AccessorNode,
|
29
|
+
ArrayNode,
|
30
|
+
ConstantNode,
|
31
|
+
FunctionNode,
|
32
|
+
IndexNode,
|
33
|
+
ObjectNode,
|
34
|
+
OperatorNode,
|
35
|
+
ParenthesisNode,
|
36
|
+
SymbolNode
|
37
|
+
} = _ref;
|
38
|
+
var {
|
39
|
+
hasProperty,
|
40
|
+
isCommutative,
|
41
|
+
isAssociative,
|
42
|
+
mergeContext,
|
43
|
+
flatten,
|
44
|
+
unflattenr,
|
45
|
+
unflattenl,
|
46
|
+
createMakeNodeFunction,
|
47
|
+
defaultContext,
|
48
|
+
realContext,
|
49
|
+
positiveContext
|
50
|
+
} = createUtil({
|
51
|
+
FunctionNode,
|
52
|
+
OperatorNode,
|
53
|
+
SymbolNode
|
54
|
+
});
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Simplify an expression tree.
|
58
|
+
*
|
59
|
+
* A list of rules are applied to an expression, repeating over the list until
|
60
|
+
* no further changes are made.
|
61
|
+
* It's possible to pass a custom set of rules to the function as second
|
62
|
+
* argument. A rule can be specified as an object, string, or function:
|
63
|
+
*
|
64
|
+
* const rules = [
|
65
|
+
* { l: 'n1*n3 + n2*n3', r: '(n1+n2)*n3' },
|
66
|
+
* 'n1*n3 + n2*n3 -> (n1+n2)*n3',
|
67
|
+
* function (node) {
|
68
|
+
* // ... return a new node or return the node unchanged
|
69
|
+
* return node
|
70
|
+
* }
|
71
|
+
* ]
|
72
|
+
*
|
73
|
+
* String and object rules consist of a left and right pattern. The left is
|
74
|
+
* used to match against the expression and the right determines what matches
|
75
|
+
* are replaced with. The main difference between a pattern and a normal
|
76
|
+
* expression is that variables starting with the following characters are
|
77
|
+
* interpreted as wildcards:
|
78
|
+
*
|
79
|
+
* - 'n' - Matches any node [Node]
|
80
|
+
* - 'c' - Matches a constant literal (5 or 3.2) [ConstantNode]
|
81
|
+
* - 'cl' - Matches a constant literal; same as c [ConstantNode]
|
82
|
+
* - 'cd' - Matches a decimal literal (5 or -3.2) [ConstantNode or unaryMinus wrapping a ConstantNode]
|
83
|
+
* - 'ce' - Matches a constant expression (-5 or √3) [Expressions consisting of only ConstantNodes, functions, and operators]
|
84
|
+
* - 'v' - Matches a variable; anything not matched by c (-5 or x) [Node that is not a ConstantNode]
|
85
|
+
* - 'vl' - Matches a variable literal (x or y) [SymbolNode]
|
86
|
+
* - 'vd' - Matches a non-decimal expression; anything not matched by cd (x or √3) [Node that is not a ConstantNode or unaryMinus that is wrapping a ConstantNode]
|
87
|
+
* - 've' - Matches a variable expression; anything not matched by ce (x or 2x) [Expressions that contain a SymbolNode or other non-constant term]
|
88
|
+
*
|
89
|
+
* The default list of rules is exposed on the function as `simplify.rules`
|
90
|
+
* and can be used as a basis to built a set of custom rules. Note that since
|
91
|
+
* the `simplifyCore` function is in the default list of rules, by default
|
92
|
+
* simplify will convert any function calls in the expression that have
|
93
|
+
* operator equivalents to their operator forms.
|
94
|
+
*
|
95
|
+
* To specify a rule as a string, separate the left and right pattern by '->'
|
96
|
+
* When specifying a rule as an object, the following keys are meaningful:
|
97
|
+
* - l - the left pattern
|
98
|
+
* - r - the right pattern
|
99
|
+
* - s - in lieu of l and r, the string form that is broken at -> to give them
|
100
|
+
* - repeat - whether to repeat this rule until the expression stabilizes
|
101
|
+
* - assuming - gives a context object, as in the 'context' option to
|
102
|
+
* simplify. Every property in the context object must match the current
|
103
|
+
* context in order, or else the rule will not be applied.
|
104
|
+
* - imposeContext - gives a context object, as in the 'context' option to
|
105
|
+
* simplify. Any settings specified will override the incoming context
|
106
|
+
* for all matches of this rule.
|
107
|
+
*
|
108
|
+
* For more details on the theory, see:
|
109
|
+
*
|
110
|
+
* - [Strategies for simplifying math expressions (Stackoverflow)](https://stackoverflow.com/questions/7540227/strategies-for-simplifying-math-expressions)
|
111
|
+
* - [Symbolic computation - Simplification (Wikipedia)](https://en.wikipedia.org/wiki/Symbolic_computation#Simplification)
|
112
|
+
*
|
113
|
+
* An optional `options` argument can be passed as last argument of `simplify`.
|
114
|
+
* Currently available options (defaults in parentheses):
|
115
|
+
* - `consoleDebug` (false): whether to write the expression being simplified
|
116
|
+
* and any changes to it, along with the rule responsible, to console
|
117
|
+
* - `context` (simplify.defaultContext): an object giving properties of
|
118
|
+
* each operator, which determine what simplifications are allowed. The
|
119
|
+
* currently meaningful properties are commutative, associative,
|
120
|
+
* total (whether the operation is defined for all arguments), and
|
121
|
+
* trivial (whether the operation applied to a single argument leaves
|
122
|
+
* that argument unchanged). The default context is very permissive and
|
123
|
+
* allows almost all simplifications. Only properties differing from
|
124
|
+
* the default need to be specified; the default context is used as a
|
125
|
+
* fallback. Additional contexts `simplify.realContext` and
|
126
|
+
* `simplify.positiveContext` are supplied to cause simplify to perform
|
127
|
+
* just simplifications guaranteed to preserve all values of the expression
|
128
|
+
* assuming all variables and subexpressions are real numbers or
|
129
|
+
* positive real numbers, respectively. (Note that these are in some cases
|
130
|
+
* more restrictive than the default context; for example, the default
|
131
|
+
* context will allow `x/x` to simplify to 1, whereas
|
132
|
+
* `simplify.realContext` will not, as `0/0` is not equal to 1.)
|
133
|
+
* - `exactFractions` (true): whether to try to convert all constants to
|
134
|
+
* exact rational numbers.
|
135
|
+
* - `fractionsLimit` (10000): when `exactFractions` is true, constants will
|
136
|
+
* be expressed as fractions only when both numerator and denominator
|
137
|
+
* are smaller than `fractionsLimit`.
|
138
|
+
*
|
139
|
+
* Syntax:
|
140
|
+
*
|
141
|
+
* simplify(expr)
|
142
|
+
* simplify(expr, rules)
|
143
|
+
* simplify(expr, rules)
|
144
|
+
* simplify(expr, rules, scope)
|
145
|
+
* simplify(expr, rules, scope, options)
|
146
|
+
* simplify(expr, scope)
|
147
|
+
* simplify(expr, scope, options)
|
148
|
+
*
|
149
|
+
* Examples:
|
150
|
+
*
|
151
|
+
* math.simplify('2 * 1 * x ^ (2 - 1)') // Node "2 * x"
|
152
|
+
* math.simplify('2 * 3 * x', {x: 4}) // Node "24"
|
153
|
+
* const f = math.parse('2 * 1 * x ^ (2 - 1)')
|
154
|
+
* math.simplify(f) // Node "2 * x"
|
155
|
+
* math.simplify('0.4 * x', {}, {exactFractions: true}) // Node "x * 2 / 5"
|
156
|
+
* math.simplify('0.4 * x', {}, {exactFractions: false}) // Node "0.4 * x"
|
157
|
+
*
|
158
|
+
* See also:
|
159
|
+
*
|
160
|
+
* simplifyCore, derivative, evaluate, parse, rationalize, resolve
|
161
|
+
*
|
162
|
+
* @param {Node | string} expr
|
163
|
+
* The expression to be simplified
|
164
|
+
* @param {SimplifyRule[]} [rules]
|
165
|
+
* Optional list with custom rules
|
166
|
+
* @param {Object} [scope] Optional scope with variables
|
167
|
+
* @param {SimplifyOptions} [options] Optional configuration settings
|
168
|
+
* @return {Node} Returns the simplified form of `expr`
|
169
|
+
*/
|
170
|
+
typed.addConversion({
|
171
|
+
from: 'Object',
|
172
|
+
to: 'Map',
|
173
|
+
convert: createMap
|
174
|
+
});
|
175
|
+
var simplify = typed('simplify', {
|
176
|
+
Node: _simplify,
|
177
|
+
'Node, Map': (expr, scope) => _simplify(expr, false, scope),
|
178
|
+
'Node, Map, Object': (expr, scope, options) => _simplify(expr, false, scope, options),
|
179
|
+
'Node, Array': _simplify,
|
180
|
+
'Node, Array, Map': _simplify,
|
181
|
+
'Node, Array, Map, Object': _simplify
|
182
|
+
});
|
183
|
+
typed.removeConversion({
|
184
|
+
from: 'Object',
|
185
|
+
to: 'Map',
|
186
|
+
convert: createMap
|
187
|
+
});
|
188
|
+
simplify.defaultContext = defaultContext;
|
189
|
+
simplify.realContext = realContext;
|
190
|
+
simplify.positiveContext = positiveContext;
|
191
|
+
function removeParens(node) {
|
192
|
+
return node.transform(function (node, path, parent) {
|
193
|
+
return isParenthesisNode(node) ? removeParens(node.content) : node;
|
194
|
+
});
|
195
|
+
}
|
196
|
+
|
197
|
+
// All constants that are allowed in rules
|
198
|
+
var SUPPORTED_CONSTANTS = {
|
199
|
+
true: true,
|
200
|
+
false: true,
|
201
|
+
e: true,
|
202
|
+
i: true,
|
203
|
+
Infinity: true,
|
204
|
+
LN2: true,
|
205
|
+
LN10: true,
|
206
|
+
LOG2E: true,
|
207
|
+
LOG10E: true,
|
208
|
+
NaN: true,
|
209
|
+
phi: true,
|
210
|
+
pi: true,
|
211
|
+
SQRT1_2: true,
|
212
|
+
SQRT2: true,
|
213
|
+
tau: true
|
214
|
+
// null: false,
|
215
|
+
// undefined: false,
|
216
|
+
// version: false,
|
217
|
+
};
|
218
|
+
|
219
|
+
// Array of strings, used to build the ruleSet.
|
220
|
+
// Each l (left side) and r (right side) are parsed by
|
221
|
+
// the expression parser into a node tree.
|
222
|
+
// Left hand sides are matched to subtrees within the
|
223
|
+
// expression to be parsed and replaced with the right
|
224
|
+
// hand side.
|
225
|
+
// TODO: Add support for constraints on constants (either in the form of a '=' expression or a callback [callback allows things like comparing symbols alphabetically])
|
226
|
+
// To evaluate lhs constants for rhs constants, use: { l: 'c1+c2', r: 'c3', evaluate: 'c3 = c1 + c2' }. Multiple assignments are separated by ';' in block format.
|
227
|
+
// It is possible to get into an infinite loop with conflicting rules
|
228
|
+
simplify.rules = [simplifyCore,
|
229
|
+
// { l: 'n+0', r: 'n' }, // simplifyCore
|
230
|
+
// { l: 'n^0', r: '1' }, // simplifyCore
|
231
|
+
// { l: '0*n', r: '0' }, // simplifyCore
|
232
|
+
// { l: 'n/n', r: '1'}, // simplifyCore
|
233
|
+
// { l: 'n^1', r: 'n' }, // simplifyCore
|
234
|
+
// { l: '+n1', r:'n1' }, // simplifyCore
|
235
|
+
// { l: 'n--n1', r:'n+n1' }, // simplifyCore
|
236
|
+
{
|
237
|
+
l: 'log(e)',
|
238
|
+
r: '1'
|
239
|
+
},
|
240
|
+
// temporary rules
|
241
|
+
// Note initially we tend constants to the right because like-term
|
242
|
+
// collection prefers the left, and we would rather collect nonconstants
|
243
|
+
{
|
244
|
+
s: 'n-n1 -> n+-n1',
|
245
|
+
// temporarily replace 'subtract' so we can further flatten the 'add' operator
|
246
|
+
assuming: {
|
247
|
+
subtract: {
|
248
|
+
total: true
|
249
|
+
}
|
250
|
+
}
|
251
|
+
}, {
|
252
|
+
s: 'n-n -> 0',
|
253
|
+
// partial alternative when we can't always subtract
|
254
|
+
assuming: {
|
255
|
+
subtract: {
|
256
|
+
total: false
|
257
|
+
}
|
258
|
+
}
|
259
|
+
}, {
|
260
|
+
s: '-(cl*v) -> v * (-cl)',
|
261
|
+
// make non-constant terms positive
|
262
|
+
assuming: {
|
263
|
+
multiply: {
|
264
|
+
commutative: true
|
265
|
+
},
|
266
|
+
subtract: {
|
267
|
+
total: true
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}, {
|
271
|
+
s: '-(cl*v) -> (-cl) * v',
|
272
|
+
// non-commutative version, part 1
|
273
|
+
assuming: {
|
274
|
+
multiply: {
|
275
|
+
commutative: false
|
276
|
+
},
|
277
|
+
subtract: {
|
278
|
+
total: true
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}, {
|
282
|
+
s: '-(v*cl) -> v * (-cl)',
|
283
|
+
// non-commutative version, part 2
|
284
|
+
assuming: {
|
285
|
+
multiply: {
|
286
|
+
commutative: false
|
287
|
+
},
|
288
|
+
subtract: {
|
289
|
+
total: true
|
290
|
+
}
|
291
|
+
}
|
292
|
+
}, {
|
293
|
+
l: '-(n1/n2)',
|
294
|
+
r: '-n1/n2'
|
295
|
+
}, {
|
296
|
+
l: '-v',
|
297
|
+
r: 'v * (-1)'
|
298
|
+
},
|
299
|
+
// finish making non-constant terms positive
|
300
|
+
{
|
301
|
+
l: '(n1 + n2)*(-1)',
|
302
|
+
r: 'n1*(-1) + n2*(-1)',
|
303
|
+
repeat: true
|
304
|
+
},
|
305
|
+
// expand negations to achieve as much sign cancellation as possible
|
306
|
+
{
|
307
|
+
l: 'n/n1^n2',
|
308
|
+
r: 'n*n1^-n2'
|
309
|
+
},
|
310
|
+
// temporarily replace 'divide' so we can further flatten the 'multiply' operator
|
311
|
+
{
|
312
|
+
l: 'n/n1',
|
313
|
+
r: 'n*n1^-1'
|
314
|
+
}, {
|
315
|
+
s: '(n1*n2)^n3 -> n1^n3 * n2^n3',
|
316
|
+
assuming: {
|
317
|
+
multiply: {
|
318
|
+
commutative: true
|
319
|
+
}
|
320
|
+
}
|
321
|
+
}, {
|
322
|
+
s: '(n1*n2)^(-1) -> n2^(-1) * n1^(-1)',
|
323
|
+
assuming: {
|
324
|
+
multiply: {
|
325
|
+
commutative: false
|
326
|
+
}
|
327
|
+
}
|
328
|
+
},
|
329
|
+
// expand nested exponentiation
|
330
|
+
{
|
331
|
+
s: '(n ^ n1) ^ n2 -> n ^ (n1 * n2)',
|
332
|
+
assuming: {
|
333
|
+
divide: {
|
334
|
+
total: true
|
335
|
+
}
|
336
|
+
} // 1/(1/n) = n needs 1/n to exist
|
337
|
+
},
|
338
|
+
// collect like factors; into a sum, only do this for nonconstants
|
339
|
+
{
|
340
|
+
l: ' vd * ( vd * n1 + n2)',
|
341
|
+
r: 'vd^2 * n1 + vd * n2'
|
342
|
+
}, {
|
343
|
+
s: ' vd * (vd^n4 * n1 + n2) -> vd^(1+n4) * n1 + vd * n2',
|
344
|
+
assuming: {
|
345
|
+
divide: {
|
346
|
+
total: true
|
347
|
+
}
|
348
|
+
} // v*1/v = v^(1+-1) needs 1/v
|
349
|
+
}, {
|
350
|
+
s: 'vd^n3 * ( vd * n1 + n2) -> vd^(n3+1) * n1 + vd^n3 * n2',
|
351
|
+
assuming: {
|
352
|
+
divide: {
|
353
|
+
total: true
|
354
|
+
}
|
355
|
+
}
|
356
|
+
}, {
|
357
|
+
s: 'vd^n3 * (vd^n4 * n1 + n2) -> vd^(n3+n4) * n1 + vd^n3 * n2',
|
358
|
+
assuming: {
|
359
|
+
divide: {
|
360
|
+
total: true
|
361
|
+
}
|
362
|
+
}
|
363
|
+
}, {
|
364
|
+
l: 'n*n',
|
365
|
+
r: 'n^2'
|
366
|
+
}, {
|
367
|
+
s: 'n * n^n1 -> n^(n1+1)',
|
368
|
+
assuming: {
|
369
|
+
divide: {
|
370
|
+
total: true
|
371
|
+
}
|
372
|
+
} // n*1/n = n^(-1+1) needs 1/n
|
373
|
+
}, {
|
374
|
+
s: 'n^n1 * n^n2 -> n^(n1+n2)',
|
375
|
+
assuming: {
|
376
|
+
divide: {
|
377
|
+
total: true
|
378
|
+
}
|
379
|
+
} // ditto for n^2*1/n^2
|
380
|
+
},
|
381
|
+
// Unfortunately, to deal with more complicated cancellations, it
|
382
|
+
// becomes necessary to simplify constants twice per pass. It's not
|
383
|
+
// terribly expensive compared to matching rules, so this should not
|
384
|
+
// pose a performance problem.
|
385
|
+
simplifyConstant,
|
386
|
+
// First: before collecting like terms
|
387
|
+
|
388
|
+
// collect like terms
|
389
|
+
{
|
390
|
+
s: 'n+n -> 2*n',
|
391
|
+
assuming: {
|
392
|
+
add: {
|
393
|
+
total: true
|
394
|
+
}
|
395
|
+
} // 2 = 1 + 1 needs to exist
|
396
|
+
}, {
|
397
|
+
l: 'n+-n',
|
398
|
+
r: '0'
|
399
|
+
}, {
|
400
|
+
l: 'vd*n + vd',
|
401
|
+
r: 'vd*(n+1)'
|
402
|
+
},
|
403
|
+
// NOTE: leftmost position is special:
|
404
|
+
{
|
405
|
+
l: 'n3*n1 + n3*n2',
|
406
|
+
r: 'n3*(n1+n2)'
|
407
|
+
},
|
408
|
+
// All sub-monomials tried there.
|
409
|
+
{
|
410
|
+
l: 'n3^(-n4)*n1 + n3 * n2',
|
411
|
+
r: 'n3^(-n4)*(n1 + n3^(n4+1) *n2)'
|
412
|
+
}, {
|
413
|
+
l: 'n3^(-n4)*n1 + n3^n5 * n2',
|
414
|
+
r: 'n3^(-n4)*(n1 + n3^(n4+n5)*n2)'
|
415
|
+
},
|
416
|
+
// noncommutative additional cases (term collection & factoring)
|
417
|
+
{
|
418
|
+
s: 'n*vd + vd -> (n+1)*vd',
|
419
|
+
assuming: {
|
420
|
+
multiply: {
|
421
|
+
commutative: false
|
422
|
+
}
|
423
|
+
}
|
424
|
+
}, {
|
425
|
+
s: 'vd + n*vd -> (1+n)*vd',
|
426
|
+
assuming: {
|
427
|
+
multiply: {
|
428
|
+
commutative: false
|
429
|
+
}
|
430
|
+
}
|
431
|
+
}, {
|
432
|
+
s: 'n1*n3 + n2*n3 -> (n1+n2)*n3',
|
433
|
+
assuming: {
|
434
|
+
multiply: {
|
435
|
+
commutative: false
|
436
|
+
}
|
437
|
+
}
|
438
|
+
}, {
|
439
|
+
s: 'n^n1 * n -> n^(n1+1)',
|
440
|
+
assuming: {
|
441
|
+
divide: {
|
442
|
+
total: true
|
443
|
+
},
|
444
|
+
multiply: {
|
445
|
+
commutative: false
|
446
|
+
}
|
447
|
+
}
|
448
|
+
}, {
|
449
|
+
s: 'n1*n3^(-n4) + n2 * n3 -> (n1 + n2*n3^(n4 + 1))*n3^(-n4)',
|
450
|
+
assuming: {
|
451
|
+
multiply: {
|
452
|
+
commutative: false
|
453
|
+
}
|
454
|
+
}
|
455
|
+
}, {
|
456
|
+
s: 'n1*n3^(-n4) + n2 * n3^n5 -> (n1 + n2*n3^(n4 + n5))*n3^(-n4)',
|
457
|
+
assuming: {
|
458
|
+
multiply: {
|
459
|
+
commutative: false
|
460
|
+
}
|
461
|
+
}
|
462
|
+
}, {
|
463
|
+
l: 'n*cd + cd',
|
464
|
+
r: '(n+1)*cd'
|
465
|
+
}, {
|
466
|
+
s: 'cd*n + cd -> cd*(n+1)',
|
467
|
+
assuming: {
|
468
|
+
multiply: {
|
469
|
+
commutative: false
|
470
|
+
}
|
471
|
+
}
|
472
|
+
}, {
|
473
|
+
s: 'cd + cd*n -> cd*(1+n)',
|
474
|
+
assuming: {
|
475
|
+
multiply: {
|
476
|
+
commutative: false
|
477
|
+
}
|
478
|
+
}
|
479
|
+
}, simplifyConstant,
|
480
|
+
// Second: before returning expressions to "standard form"
|
481
|
+
|
482
|
+
// make factors positive (and undo 'make non-constant terms positive')
|
483
|
+
{
|
484
|
+
s: '(-n)*n1 -> -(n*n1)',
|
485
|
+
assuming: {
|
486
|
+
subtract: {
|
487
|
+
total: true
|
488
|
+
}
|
489
|
+
}
|
490
|
+
}, {
|
491
|
+
s: 'n1*(-n) -> -(n1*n)',
|
492
|
+
// in case * non-commutative
|
493
|
+
assuming: {
|
494
|
+
subtract: {
|
495
|
+
total: true
|
496
|
+
},
|
497
|
+
multiply: {
|
498
|
+
commutative: false
|
499
|
+
}
|
500
|
+
}
|
501
|
+
},
|
502
|
+
// final ordering of constants
|
503
|
+
{
|
504
|
+
s: 'ce+ve -> ve+ce',
|
505
|
+
assuming: {
|
506
|
+
add: {
|
507
|
+
commutative: true
|
508
|
+
}
|
509
|
+
},
|
510
|
+
imposeContext: {
|
511
|
+
add: {
|
512
|
+
commutative: false
|
513
|
+
}
|
514
|
+
}
|
515
|
+
}, {
|
516
|
+
s: 'vd*cd -> cd*vd',
|
517
|
+
assuming: {
|
518
|
+
multiply: {
|
519
|
+
commutative: true
|
520
|
+
}
|
521
|
+
},
|
522
|
+
imposeContext: {
|
523
|
+
multiply: {
|
524
|
+
commutative: false
|
525
|
+
}
|
526
|
+
}
|
527
|
+
},
|
528
|
+
// undo temporary rules
|
529
|
+
// { l: '(-1) * n', r: '-n' }, // #811 added test which proved this is redundant
|
530
|
+
{
|
531
|
+
l: 'n+-n1',
|
532
|
+
r: 'n-n1'
|
533
|
+
},
|
534
|
+
// undo replace 'subtract'
|
535
|
+
{
|
536
|
+
s: 'n*(n1^-1) -> n/n1',
|
537
|
+
// undo replace 'divide'; for * commutative
|
538
|
+
assuming: {
|
539
|
+
multiply: {
|
540
|
+
commutative: true
|
541
|
+
}
|
542
|
+
} // o.w. / not conventional
|
543
|
+
}, {
|
544
|
+
s: 'n*n1^-n2 -> n/n1^n2',
|
545
|
+
assuming: {
|
546
|
+
multiply: {
|
547
|
+
commutative: true
|
548
|
+
}
|
549
|
+
} // o.w. / not conventional
|
550
|
+
}, {
|
551
|
+
s: 'n^-1 -> 1/n',
|
552
|
+
assuming: {
|
553
|
+
multiply: {
|
554
|
+
commutative: true
|
555
|
+
}
|
556
|
+
} // o.w. / not conventional
|
557
|
+
}, {
|
558
|
+
l: 'n^1',
|
559
|
+
r: 'n'
|
560
|
+
},
|
561
|
+
// can be produced by power cancellation
|
562
|
+
{
|
563
|
+
s: 'n*(n1/n2) -> (n*n1)/n2',
|
564
|
+
// '*' before '/'
|
565
|
+
assuming: {
|
566
|
+
multiply: {
|
567
|
+
associative: true
|
568
|
+
}
|
569
|
+
}
|
570
|
+
}, {
|
571
|
+
s: 'n-(n1+n2) -> n-n1-n2',
|
572
|
+
// '-' before '+'
|
573
|
+
assuming: {
|
574
|
+
addition: {
|
575
|
+
associative: true,
|
576
|
+
commutative: true
|
577
|
+
}
|
578
|
+
}
|
579
|
+
},
|
580
|
+
// { l: '(n1/n2)/n3', r: 'n1/(n2*n3)' },
|
581
|
+
// { l: '(n*n1)/(n*n2)', r: 'n1/n2' },
|
582
|
+
|
583
|
+
// simplifyConstant can leave an extra factor of 1, which can always
|
584
|
+
// be eliminated, since the identity always commutes
|
585
|
+
{
|
586
|
+
l: '1*n',
|
587
|
+
r: 'n',
|
588
|
+
imposeContext: {
|
589
|
+
multiply: {
|
590
|
+
commutative: true
|
591
|
+
}
|
592
|
+
}
|
593
|
+
}, {
|
594
|
+
s: 'n1/(n2/n3) -> (n1*n3)/n2',
|
595
|
+
assuming: {
|
596
|
+
multiply: {
|
597
|
+
associative: true
|
598
|
+
}
|
599
|
+
}
|
600
|
+
}, {
|
601
|
+
l: 'n1/(-n2)',
|
602
|
+
r: '-n1/n2'
|
603
|
+
}];
|
604
|
+
|
605
|
+
/**
|
606
|
+
* Takes any rule object as allowed by the specification in simplify
|
607
|
+
* and puts it in a standard form used by applyRule
|
608
|
+
*/
|
609
|
+
function _canonicalizeRule(ruleObject, context) {
|
610
|
+
var newRule = {};
|
611
|
+
if (ruleObject.s) {
|
612
|
+
var lr = ruleObject.s.split('->');
|
613
|
+
if (lr.length === 2) {
|
614
|
+
newRule.l = lr[0];
|
615
|
+
newRule.r = lr[1];
|
616
|
+
} else {
|
617
|
+
throw SyntaxError('Could not parse rule: ' + ruleObject.s);
|
618
|
+
}
|
619
|
+
} else {
|
620
|
+
newRule.l = ruleObject.l;
|
621
|
+
newRule.r = ruleObject.r;
|
622
|
+
}
|
623
|
+
newRule.l = removeParens(parse(newRule.l));
|
624
|
+
newRule.r = removeParens(parse(newRule.r));
|
625
|
+
for (var prop of ['imposeContext', 'repeat', 'assuming']) {
|
626
|
+
if (prop in ruleObject) {
|
627
|
+
newRule[prop] = ruleObject[prop];
|
628
|
+
}
|
629
|
+
}
|
630
|
+
if (ruleObject.evaluate) {
|
631
|
+
newRule.evaluate = parse(ruleObject.evaluate);
|
632
|
+
}
|
633
|
+
if (isAssociative(newRule.l, context)) {
|
634
|
+
var nonCommutative = !isCommutative(newRule.l, context);
|
635
|
+
var leftExpandsym;
|
636
|
+
// Gen. the LHS placeholder used in this NC-context specific expansion rules
|
637
|
+
if (nonCommutative) leftExpandsym = _getExpandPlaceholderSymbol();
|
638
|
+
var makeNode = createMakeNodeFunction(newRule.l);
|
639
|
+
var expandsym = _getExpandPlaceholderSymbol();
|
640
|
+
newRule.expanded = {};
|
641
|
+
newRule.expanded.l = makeNode([newRule.l, expandsym]);
|
642
|
+
// Push the expandsym into the deepest possible branch.
|
643
|
+
// This helps to match the newRule against nodes returned from getSplits() later on.
|
644
|
+
flatten(newRule.expanded.l, context);
|
645
|
+
unflattenr(newRule.expanded.l, context);
|
646
|
+
newRule.expanded.r = makeNode([newRule.r, expandsym]);
|
647
|
+
|
648
|
+
// In and for a non-commutative context, attempting with yet additional expansion rules makes
|
649
|
+
// way for more matches cases of multi-arg expressions; such that associative rules (such as
|
650
|
+
// 'n*n -> n^2') can be applied to exprs. such as 'a * b * b' and 'a * b * b * a'.
|
651
|
+
if (nonCommutative) {
|
652
|
+
// 'Non-commutative' 1: LHS (placeholder) only
|
653
|
+
newRule.expandedNC1 = {};
|
654
|
+
newRule.expandedNC1.l = makeNode([leftExpandsym, newRule.l]);
|
655
|
+
newRule.expandedNC1.r = makeNode([leftExpandsym, newRule.r]);
|
656
|
+
// 'Non-commutative' 2: farmost LHS and RHS placeholders
|
657
|
+
newRule.expandedNC2 = {};
|
658
|
+
newRule.expandedNC2.l = makeNode([leftExpandsym, newRule.expanded.l]);
|
659
|
+
newRule.expandedNC2.r = makeNode([leftExpandsym, newRule.expanded.r]);
|
660
|
+
}
|
661
|
+
}
|
662
|
+
return newRule;
|
663
|
+
}
|
664
|
+
|
665
|
+
/**
|
666
|
+
* Parse the string array of rules into nodes
|
667
|
+
*
|
668
|
+
* Example syntax for rules:
|
669
|
+
*
|
670
|
+
* Position constants to the left in a product:
|
671
|
+
* { l: 'n1 * c1', r: 'c1 * n1' }
|
672
|
+
* n1 is any Node, and c1 is a ConstantNode.
|
673
|
+
*
|
674
|
+
* Apply difference of squares formula:
|
675
|
+
* { l: '(n1 - n2) * (n1 + n2)', r: 'n1^2 - n2^2' }
|
676
|
+
* n1, n2 mean any Node.
|
677
|
+
*
|
678
|
+
* Short hand notation:
|
679
|
+
* 'n1 * c1 -> c1 * n1'
|
680
|
+
*/
|
681
|
+
function _buildRules(rules, context) {
|
682
|
+
// Array of rules to be used to simplify expressions
|
683
|
+
var ruleSet = [];
|
684
|
+
for (var i = 0; i < rules.length; i++) {
|
685
|
+
var rule = rules[i];
|
686
|
+
var newRule = void 0;
|
687
|
+
var ruleType = typeof rule;
|
688
|
+
switch (ruleType) {
|
689
|
+
case 'string':
|
690
|
+
rule = {
|
691
|
+
s: rule
|
692
|
+
};
|
693
|
+
/* falls through */
|
694
|
+
case 'object':
|
695
|
+
newRule = _canonicalizeRule(rule, context);
|
696
|
+
break;
|
697
|
+
case 'function':
|
698
|
+
newRule = rule;
|
699
|
+
break;
|
700
|
+
default:
|
701
|
+
throw TypeError('Unsupported type of rule: ' + ruleType);
|
702
|
+
}
|
703
|
+
// console.log('Adding rule: ' + rules[i])
|
704
|
+
// console.log(newRule)
|
705
|
+
ruleSet.push(newRule);
|
706
|
+
}
|
707
|
+
return ruleSet;
|
708
|
+
}
|
709
|
+
var _lastsym = 0;
|
710
|
+
function _getExpandPlaceholderSymbol() {
|
711
|
+
return new SymbolNode('_p' + _lastsym++);
|
712
|
+
}
|
713
|
+
function _simplify(expr, rules) {
|
714
|
+
var scope = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : createEmptyMap();
|
715
|
+
var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
716
|
+
var debug = options.consoleDebug;
|
717
|
+
rules = _buildRules(rules || simplify.rules, options.context);
|
718
|
+
var res = resolve(expr, scope);
|
719
|
+
res = removeParens(res);
|
720
|
+
var visited = {};
|
721
|
+
var str = res.toString({
|
722
|
+
parenthesis: 'all'
|
723
|
+
});
|
724
|
+
while (!visited[str]) {
|
725
|
+
visited[str] = true;
|
726
|
+
_lastsym = 0; // counter for placeholder symbols
|
727
|
+
var laststr = str;
|
728
|
+
if (debug) console.log('Working on: ', str);
|
729
|
+
for (var i = 0; i < rules.length; i++) {
|
730
|
+
var rulestr = '';
|
731
|
+
if (typeof rules[i] === 'function') {
|
732
|
+
res = rules[i](res, options);
|
733
|
+
if (debug) rulestr = rules[i].name;
|
734
|
+
} else {
|
735
|
+
flatten(res, options.context);
|
736
|
+
res = applyRule(res, rules[i], options.context);
|
737
|
+
if (debug) {
|
738
|
+
rulestr = "".concat(rules[i].l.toString(), " -> ").concat(rules[i].r.toString());
|
739
|
+
}
|
740
|
+
}
|
741
|
+
if (debug) {
|
742
|
+
var newstr = res.toString({
|
743
|
+
parenthesis: 'all'
|
744
|
+
});
|
745
|
+
if (newstr !== laststr) {
|
746
|
+
console.log('Applying', rulestr, 'produced', newstr);
|
747
|
+
laststr = newstr;
|
748
|
+
}
|
749
|
+
}
|
750
|
+
/* Use left-heavy binary tree internally,
|
751
|
+
* since custom rule functions may expect it
|
752
|
+
*/
|
753
|
+
unflattenl(res, options.context);
|
754
|
+
}
|
755
|
+
str = res.toString({
|
756
|
+
parenthesis: 'all'
|
757
|
+
});
|
758
|
+
}
|
759
|
+
return res;
|
760
|
+
}
|
761
|
+
function mapRule(nodes, rule, context) {
|
762
|
+
var resNodes = nodes;
|
763
|
+
if (nodes) {
|
764
|
+
for (var i = 0; i < nodes.length; ++i) {
|
765
|
+
var newNode = applyRule(nodes[i], rule, context);
|
766
|
+
if (newNode !== nodes[i]) {
|
767
|
+
if (resNodes === nodes) {
|
768
|
+
resNodes = nodes.slice();
|
769
|
+
}
|
770
|
+
resNodes[i] = newNode;
|
771
|
+
}
|
772
|
+
}
|
773
|
+
}
|
774
|
+
return resNodes;
|
775
|
+
}
|
776
|
+
|
777
|
+
/**
|
778
|
+
* Returns a simplfied form of node, or the original node if no simplification was possible.
|
779
|
+
*
|
780
|
+
* @param {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} node
|
781
|
+
* @param {Object | Function} rule
|
782
|
+
* @param {Object} context -- information about assumed properties of operators
|
783
|
+
* @return {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} The simplified form of `expr`, or the original node if no simplification was possible.
|
784
|
+
*/
|
785
|
+
function applyRule(node, rule, context) {
|
786
|
+
// console.log('Entering applyRule("', rule.l.toString({parenthesis:'all'}), '->', rule.r.toString({parenthesis:'all'}), '",', node.toString({parenthesis:'all'}),')')
|
787
|
+
|
788
|
+
// check that the assumptions for this rule are satisfied by the current
|
789
|
+
// context:
|
790
|
+
if (rule.assuming) {
|
791
|
+
for (var symbol in rule.assuming) {
|
792
|
+
for (var property in rule.assuming[symbol]) {
|
793
|
+
if (hasProperty(symbol, property, context) !== rule.assuming[symbol][property]) {
|
794
|
+
return node;
|
795
|
+
}
|
796
|
+
}
|
797
|
+
}
|
798
|
+
}
|
799
|
+
var mergedContext = mergeContext(rule.imposeContext, context);
|
800
|
+
|
801
|
+
// Do not clone node unless we find a match
|
802
|
+
var res = node;
|
803
|
+
|
804
|
+
// First replace our child nodes with their simplified versions
|
805
|
+
// If a child could not be simplified, applying the rule to it
|
806
|
+
// will have no effect since the node is returned unchanged
|
807
|
+
if (res instanceof OperatorNode || res instanceof FunctionNode) {
|
808
|
+
var newArgs = mapRule(res.args, rule, context);
|
809
|
+
if (newArgs !== res.args) {
|
810
|
+
res = res.clone();
|
811
|
+
res.args = newArgs;
|
812
|
+
}
|
813
|
+
} else if (res instanceof ParenthesisNode) {
|
814
|
+
if (res.content) {
|
815
|
+
var newContent = applyRule(res.content, rule, context);
|
816
|
+
if (newContent !== res.content) {
|
817
|
+
res = new ParenthesisNode(newContent);
|
818
|
+
}
|
819
|
+
}
|
820
|
+
} else if (res instanceof ArrayNode) {
|
821
|
+
var newItems = mapRule(res.items, rule, context);
|
822
|
+
if (newItems !== res.items) {
|
823
|
+
res = new ArrayNode(newItems);
|
824
|
+
}
|
825
|
+
} else if (res instanceof AccessorNode) {
|
826
|
+
var newObj = res.object;
|
827
|
+
if (res.object) {
|
828
|
+
newObj = applyRule(res.object, rule, context);
|
829
|
+
}
|
830
|
+
var newIndex = res.index;
|
831
|
+
if (res.index) {
|
832
|
+
newIndex = applyRule(res.index, rule, context);
|
833
|
+
}
|
834
|
+
if (newObj !== res.object || newIndex !== res.index) {
|
835
|
+
res = new AccessorNode(newObj, newIndex);
|
836
|
+
}
|
837
|
+
} else if (res instanceof IndexNode) {
|
838
|
+
var newDims = mapRule(res.dimensions, rule, context);
|
839
|
+
if (newDims !== res.dimensions) {
|
840
|
+
res = new IndexNode(newDims);
|
841
|
+
}
|
842
|
+
} else if (res instanceof ObjectNode) {
|
843
|
+
var changed = false;
|
844
|
+
var newProps = {};
|
845
|
+
for (var prop in res.properties) {
|
846
|
+
newProps[prop] = applyRule(res.properties[prop], rule, context);
|
847
|
+
if (newProps[prop] !== res.properties[prop]) {
|
848
|
+
changed = true;
|
849
|
+
}
|
850
|
+
}
|
851
|
+
if (changed) {
|
852
|
+
res = new ObjectNode(newProps);
|
853
|
+
}
|
854
|
+
}
|
855
|
+
|
856
|
+
// Try to match a rule against this node
|
857
|
+
var repl = rule.r;
|
858
|
+
var matches = _ruleMatch(rule.l, res, mergedContext)[0];
|
859
|
+
|
860
|
+
// If the rule is associative operator, we can try matching it while allowing additional terms.
|
861
|
+
// This allows us to match rules like 'n+n' to the expression '(1+x)+x' or even 'x+1+x' if the operator is commutative.
|
862
|
+
if (!matches && rule.expanded) {
|
863
|
+
repl = rule.expanded.r;
|
864
|
+
matches = _ruleMatch(rule.expanded.l, res, mergedContext)[0];
|
865
|
+
}
|
866
|
+
// Additional, non-commutative context expansion-rules
|
867
|
+
if (!matches && rule.expandedNC1) {
|
868
|
+
repl = rule.expandedNC1.r;
|
869
|
+
matches = _ruleMatch(rule.expandedNC1.l, res, mergedContext)[0];
|
870
|
+
if (!matches) {
|
871
|
+
// Existence of NC1 implies NC2
|
872
|
+
repl = rule.expandedNC2.r;
|
873
|
+
matches = _ruleMatch(rule.expandedNC2.l, res, mergedContext)[0];
|
874
|
+
}
|
875
|
+
}
|
876
|
+
if (matches) {
|
877
|
+
// const before = res.toString({parenthesis: 'all'})
|
878
|
+
|
879
|
+
// Create a new node by cloning the rhs of the matched rule
|
880
|
+
// we keep any implicit multiplication state if relevant
|
881
|
+
var implicit = res.implicit;
|
882
|
+
res = repl.clone();
|
883
|
+
if (implicit && 'implicit' in repl) {
|
884
|
+
res.implicit = true;
|
885
|
+
}
|
886
|
+
|
887
|
+
// Replace placeholders with their respective nodes without traversing deeper into the replaced nodes
|
888
|
+
res = res.transform(function (node) {
|
889
|
+
if (node.isSymbolNode && hasOwnProperty(matches.placeholders, node.name)) {
|
890
|
+
return matches.placeholders[node.name].clone();
|
891
|
+
} else {
|
892
|
+
return node;
|
893
|
+
}
|
894
|
+
});
|
895
|
+
|
896
|
+
// const after = res.toString({parenthesis: 'all'})
|
897
|
+
// console.log('Simplified ' + before + ' to ' + after)
|
898
|
+
}
|
899
|
+
|
900
|
+
if (rule.repeat && res !== node) {
|
901
|
+
res = applyRule(res, rule, context);
|
902
|
+
}
|
903
|
+
return res;
|
904
|
+
}
|
905
|
+
|
906
|
+
/**
|
907
|
+
* Get (binary) combinations of a flattened binary node
|
908
|
+
* e.g. +(node1, node2, node3) -> [
|
909
|
+
* +(node1, +(node2, node3)),
|
910
|
+
* +(node2, +(node1, node3)),
|
911
|
+
* +(node3, +(node1, node2))]
|
912
|
+
*
|
913
|
+
*/
|
914
|
+
function getSplits(node, context) {
|
915
|
+
var res = [];
|
916
|
+
var right, rightArgs;
|
917
|
+
var makeNode = createMakeNodeFunction(node);
|
918
|
+
if (isCommutative(node, context)) {
|
919
|
+
for (var i = 0; i < node.args.length; i++) {
|
920
|
+
rightArgs = node.args.slice(0);
|
921
|
+
rightArgs.splice(i, 1);
|
922
|
+
right = rightArgs.length === 1 ? rightArgs[0] : makeNode(rightArgs);
|
923
|
+
res.push(makeNode([node.args[i], right]));
|
924
|
+
}
|
925
|
+
} else {
|
926
|
+
// Keep order, but try all parenthesizations
|
927
|
+
for (var _i = 1; _i < node.args.length; _i++) {
|
928
|
+
var left = node.args[0];
|
929
|
+
if (_i > 1) {
|
930
|
+
left = makeNode(node.args.slice(0, _i));
|
931
|
+
}
|
932
|
+
rightArgs = node.args.slice(_i);
|
933
|
+
right = rightArgs.length === 1 ? rightArgs[0] : makeNode(rightArgs);
|
934
|
+
res.push(makeNode([left, right]));
|
935
|
+
}
|
936
|
+
}
|
937
|
+
return res;
|
938
|
+
}
|
939
|
+
|
940
|
+
/**
|
941
|
+
* Returns the set union of two match-placeholders or null if there is a conflict.
|
942
|
+
*/
|
943
|
+
function mergeMatch(match1, match2) {
|
944
|
+
var res = {
|
945
|
+
placeholders: {}
|
946
|
+
};
|
947
|
+
|
948
|
+
// Some matches may not have placeholders; this is OK
|
949
|
+
if (!match1.placeholders && !match2.placeholders) {
|
950
|
+
return res;
|
951
|
+
} else if (!match1.placeholders) {
|
952
|
+
return match2;
|
953
|
+
} else if (!match2.placeholders) {
|
954
|
+
return match1;
|
955
|
+
}
|
956
|
+
|
957
|
+
// Placeholders with the same key must match exactly
|
958
|
+
for (var key in match1.placeholders) {
|
959
|
+
if (hasOwnProperty(match1.placeholders, key)) {
|
960
|
+
res.placeholders[key] = match1.placeholders[key];
|
961
|
+
if (hasOwnProperty(match2.placeholders, key)) {
|
962
|
+
if (!_exactMatch(match1.placeholders[key], match2.placeholders[key])) {
|
963
|
+
return null;
|
964
|
+
}
|
965
|
+
}
|
966
|
+
}
|
967
|
+
}
|
968
|
+
for (var _key in match2.placeholders) {
|
969
|
+
if (hasOwnProperty(match2.placeholders, _key)) {
|
970
|
+
res.placeholders[_key] = match2.placeholders[_key];
|
971
|
+
}
|
972
|
+
}
|
973
|
+
return res;
|
974
|
+
}
|
975
|
+
|
976
|
+
/**
|
977
|
+
* Combine two lists of matches by applying mergeMatch to the cartesian product of two lists of matches.
|
978
|
+
* Each list represents matches found in one child of a node.
|
979
|
+
*/
|
980
|
+
function combineChildMatches(list1, list2) {
|
981
|
+
var res = [];
|
982
|
+
if (list1.length === 0 || list2.length === 0) {
|
983
|
+
return res;
|
984
|
+
}
|
985
|
+
var merged;
|
986
|
+
for (var i1 = 0; i1 < list1.length; i1++) {
|
987
|
+
for (var i2 = 0; i2 < list2.length; i2++) {
|
988
|
+
merged = mergeMatch(list1[i1], list2[i2]);
|
989
|
+
if (merged) {
|
990
|
+
res.push(merged);
|
991
|
+
}
|
992
|
+
}
|
993
|
+
}
|
994
|
+
return res;
|
995
|
+
}
|
996
|
+
|
997
|
+
/**
|
998
|
+
* Combine multiple lists of matches by applying mergeMatch to the cartesian product of two lists of matches.
|
999
|
+
* Each list represents matches found in one child of a node.
|
1000
|
+
* Returns a list of unique matches.
|
1001
|
+
*/
|
1002
|
+
function mergeChildMatches(childMatches) {
|
1003
|
+
if (childMatches.length === 0) {
|
1004
|
+
return childMatches;
|
1005
|
+
}
|
1006
|
+
var sets = childMatches.reduce(combineChildMatches);
|
1007
|
+
var uniqueSets = [];
|
1008
|
+
var unique = {};
|
1009
|
+
for (var i = 0; i < sets.length; i++) {
|
1010
|
+
var s = JSON.stringify(sets[i]);
|
1011
|
+
if (!unique[s]) {
|
1012
|
+
unique[s] = true;
|
1013
|
+
uniqueSets.push(sets[i]);
|
1014
|
+
}
|
1015
|
+
}
|
1016
|
+
return uniqueSets;
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
/**
|
1020
|
+
* Determines whether node matches rule.
|
1021
|
+
*
|
1022
|
+
* @param {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} rule
|
1023
|
+
* @param {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} node
|
1024
|
+
* @param {Object} context -- provides assumed properties of operators
|
1025
|
+
* @param {Boolean} isSplit -- whether we are in process of splitting an
|
1026
|
+
* n-ary operator node into possible binary combinations.
|
1027
|
+
* Defaults to false.
|
1028
|
+
* @return {Object} Information about the match, if it exists.
|
1029
|
+
*/
|
1030
|
+
function _ruleMatch(rule, node, context, isSplit) {
|
1031
|
+
// console.log('Entering _ruleMatch(' + JSON.stringify(rule) + ', ' + JSON.stringify(node) + ')')
|
1032
|
+
// console.log('rule = ' + rule)
|
1033
|
+
// console.log('node = ' + node)
|
1034
|
+
|
1035
|
+
// console.log('Entering _ruleMatch(', rule.toString({parenthesis:'all'}), ', ', node.toString({parenthesis:'all'}), ', ', context, ')')
|
1036
|
+
var res = [{
|
1037
|
+
placeholders: {}
|
1038
|
+
}];
|
1039
|
+
if (rule instanceof OperatorNode && node instanceof OperatorNode || rule instanceof FunctionNode && node instanceof FunctionNode) {
|
1040
|
+
// If the rule is an OperatorNode or a FunctionNode, then node must match exactly
|
1041
|
+
if (rule instanceof OperatorNode) {
|
1042
|
+
if (rule.op !== node.op || rule.fn !== node.fn) {
|
1043
|
+
return [];
|
1044
|
+
}
|
1045
|
+
} else if (rule instanceof FunctionNode) {
|
1046
|
+
if (rule.name !== node.name) {
|
1047
|
+
return [];
|
1048
|
+
}
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
// rule and node match. Search the children of rule and node.
|
1052
|
+
if (node.args.length === 1 && rule.args.length === 1 || !isAssociative(node, context) && node.args.length === rule.args.length || isSplit) {
|
1053
|
+
// Expect non-associative operators to match exactly,
|
1054
|
+
// except in any order if operator is commutative
|
1055
|
+
var childMatches = [];
|
1056
|
+
for (var i = 0; i < rule.args.length; i++) {
|
1057
|
+
var childMatch = _ruleMatch(rule.args[i], node.args[i], context);
|
1058
|
+
if (childMatch.length === 0) {
|
1059
|
+
// Child did not match, so stop searching immediately
|
1060
|
+
break;
|
1061
|
+
}
|
1062
|
+
// The child matched, so add the information returned from the child to our result
|
1063
|
+
childMatches.push(childMatch);
|
1064
|
+
}
|
1065
|
+
if (childMatches.length !== rule.args.length) {
|
1066
|
+
if (!isCommutative(node, context) ||
|
1067
|
+
// exact match in order needed
|
1068
|
+
rule.args.length === 1) {
|
1069
|
+
// nothing to commute
|
1070
|
+
return [];
|
1071
|
+
}
|
1072
|
+
if (rule.args.length > 2) {
|
1073
|
+
/* Need to generate all permutations and try them.
|
1074
|
+
* It's a bit complicated, and unlikely to come up since there
|
1075
|
+
* are very few ternary or higher operators. So punt for now.
|
1076
|
+
*/
|
1077
|
+
throw new Error('permuting >2 commutative non-associative rule arguments not yet implemented');
|
1078
|
+
}
|
1079
|
+
/* Exactly two arguments, try them reversed */
|
1080
|
+
var leftMatch = _ruleMatch(rule.args[0], node.args[1], context);
|
1081
|
+
if (leftMatch.length === 0) {
|
1082
|
+
return [];
|
1083
|
+
}
|
1084
|
+
var rightMatch = _ruleMatch(rule.args[1], node.args[0], context);
|
1085
|
+
if (rightMatch.length === 0) {
|
1086
|
+
return [];
|
1087
|
+
}
|
1088
|
+
childMatches = [leftMatch, rightMatch];
|
1089
|
+
}
|
1090
|
+
res = mergeChildMatches(childMatches);
|
1091
|
+
} else if (node.args.length >= 2 && rule.args.length === 2) {
|
1092
|
+
// node is flattened, rule is not
|
1093
|
+
// Associative operators/functions can be split in different ways so we check if the rule
|
1094
|
+
// matches for each of them and return their union.
|
1095
|
+
var splits = getSplits(node, context);
|
1096
|
+
var splitMatches = [];
|
1097
|
+
for (var _i2 = 0; _i2 < splits.length; _i2++) {
|
1098
|
+
var matchSet = _ruleMatch(rule, splits[_i2], context, true); // recursing at the same tree depth here
|
1099
|
+
splitMatches = splitMatches.concat(matchSet);
|
1100
|
+
}
|
1101
|
+
return splitMatches;
|
1102
|
+
} else if (rule.args.length > 2) {
|
1103
|
+
throw Error('Unexpected non-binary associative function: ' + rule.toString());
|
1104
|
+
} else {
|
1105
|
+
// Incorrect number of arguments in rule and node, so no match
|
1106
|
+
return [];
|
1107
|
+
}
|
1108
|
+
} else if (rule instanceof SymbolNode) {
|
1109
|
+
// If the rule is a SymbolNode, then it carries a special meaning
|
1110
|
+
// according to the first one or two characters of the symbol node name.
|
1111
|
+
// These meanings are expalined in the documentation for simplify()
|
1112
|
+
if (rule.name.length === 0) {
|
1113
|
+
throw new Error('Symbol in rule has 0 length...!?');
|
1114
|
+
}
|
1115
|
+
if (SUPPORTED_CONSTANTS[rule.name]) {
|
1116
|
+
// built-in constant must match exactly
|
1117
|
+
if (rule.name !== node.name) {
|
1118
|
+
return [];
|
1119
|
+
}
|
1120
|
+
} else {
|
1121
|
+
// wildcards are composed of up to two alphabetic or underscore characters
|
1122
|
+
switch (rule.name[1] >= 'a' && rule.name[1] <= 'z' ? rule.name.substring(0, 2) : rule.name[0]) {
|
1123
|
+
case 'n':
|
1124
|
+
case '_p':
|
1125
|
+
// rule matches _anything_, so assign this node to the rule.name placeholder
|
1126
|
+
// Assign node to the rule.name placeholder.
|
1127
|
+
// Our parent will check for matches among placeholders.
|
1128
|
+
res[0].placeholders[rule.name] = node;
|
1129
|
+
break;
|
1130
|
+
case 'c':
|
1131
|
+
case 'cl':
|
1132
|
+
// rule matches a ConstantNode
|
1133
|
+
if (isConstantNode(node)) {
|
1134
|
+
res[0].placeholders[rule.name] = node;
|
1135
|
+
} else {
|
1136
|
+
// mis-match: rule does not encompass current node
|
1137
|
+
return [];
|
1138
|
+
}
|
1139
|
+
break;
|
1140
|
+
case 'v':
|
1141
|
+
// rule matches anything other than a ConstantNode
|
1142
|
+
if (!isConstantNode(node)) {
|
1143
|
+
res[0].placeholders[rule.name] = node;
|
1144
|
+
} else {
|
1145
|
+
// mis-match: rule does not encompass current node
|
1146
|
+
return [];
|
1147
|
+
}
|
1148
|
+
break;
|
1149
|
+
case 'vl':
|
1150
|
+
// rule matches VariableNode
|
1151
|
+
if (isVariableNode(node)) {
|
1152
|
+
res[0].placeholders[rule.name] = node;
|
1153
|
+
} else {
|
1154
|
+
// mis-match: rule does not encompass current node
|
1155
|
+
return [];
|
1156
|
+
}
|
1157
|
+
break;
|
1158
|
+
case 'cd':
|
1159
|
+
// rule matches a ConstantNode or unaryMinus-wrapped ConstantNode
|
1160
|
+
if (isNumericNode(node)) {
|
1161
|
+
res[0].placeholders[rule.name] = node;
|
1162
|
+
} else {
|
1163
|
+
// mis-match: rule does not encompass current node
|
1164
|
+
return [];
|
1165
|
+
}
|
1166
|
+
break;
|
1167
|
+
case 'vd':
|
1168
|
+
// rule matches anything other than a ConstantNode or unaryMinus-wrapped ConstantNode
|
1169
|
+
if (!isNumericNode(node)) {
|
1170
|
+
res[0].placeholders[rule.name] = node;
|
1171
|
+
} else {
|
1172
|
+
// mis-match: rule does not encompass current node
|
1173
|
+
return [];
|
1174
|
+
}
|
1175
|
+
break;
|
1176
|
+
case 'ce':
|
1177
|
+
// rule matches expressions that have a constant value
|
1178
|
+
if (isConstantExpression(node)) {
|
1179
|
+
res[0].placeholders[rule.name] = node;
|
1180
|
+
} else {
|
1181
|
+
// mis-match: rule does not encompass current node
|
1182
|
+
return [];
|
1183
|
+
}
|
1184
|
+
break;
|
1185
|
+
case 've':
|
1186
|
+
// rule matches expressions that do not have a constant value
|
1187
|
+
if (!isConstantExpression(node)) {
|
1188
|
+
res[0].placeholders[rule.name] = node;
|
1189
|
+
} else {
|
1190
|
+
// mis-match: rule does not encompass current node
|
1191
|
+
return [];
|
1192
|
+
}
|
1193
|
+
break;
|
1194
|
+
default:
|
1195
|
+
throw new Error('Invalid symbol in rule: ' + rule.name);
|
1196
|
+
}
|
1197
|
+
}
|
1198
|
+
} else if (rule instanceof ConstantNode) {
|
1199
|
+
// Literal constant must match exactly
|
1200
|
+
if (!equal(rule.value, node.value)) {
|
1201
|
+
return [];
|
1202
|
+
}
|
1203
|
+
} else {
|
1204
|
+
// Some other node was encountered which we aren't prepared for, so no match
|
1205
|
+
return [];
|
1206
|
+
}
|
1207
|
+
|
1208
|
+
// It's a match!
|
1209
|
+
|
1210
|
+
// console.log('_ruleMatch(' + rule.toString() + ', ' + node.toString() + ') found a match')
|
1211
|
+
return res;
|
1212
|
+
}
|
1213
|
+
|
1214
|
+
/**
|
1215
|
+
* Determines whether p and q (and all their children nodes) are identical.
|
1216
|
+
*
|
1217
|
+
* @param {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} p
|
1218
|
+
* @param {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} q
|
1219
|
+
* @return {Object} Information about the match, if it exists.
|
1220
|
+
*/
|
1221
|
+
function _exactMatch(p, q) {
|
1222
|
+
if (p instanceof ConstantNode && q instanceof ConstantNode) {
|
1223
|
+
if (!equal(p.value, q.value)) {
|
1224
|
+
return false;
|
1225
|
+
}
|
1226
|
+
} else if (p instanceof SymbolNode && q instanceof SymbolNode) {
|
1227
|
+
if (p.name !== q.name) {
|
1228
|
+
return false;
|
1229
|
+
}
|
1230
|
+
} else if (p instanceof OperatorNode && q instanceof OperatorNode || p instanceof FunctionNode && q instanceof FunctionNode) {
|
1231
|
+
if (p instanceof OperatorNode) {
|
1232
|
+
if (p.op !== q.op || p.fn !== q.fn) {
|
1233
|
+
return false;
|
1234
|
+
}
|
1235
|
+
} else if (p instanceof FunctionNode) {
|
1236
|
+
if (p.name !== q.name) {
|
1237
|
+
return false;
|
1238
|
+
}
|
1239
|
+
}
|
1240
|
+
if (p.args.length !== q.args.length) {
|
1241
|
+
return false;
|
1242
|
+
}
|
1243
|
+
for (var i = 0; i < p.args.length; i++) {
|
1244
|
+
if (!_exactMatch(p.args[i], q.args[i])) {
|
1245
|
+
return false;
|
1246
|
+
}
|
1247
|
+
}
|
1248
|
+
} else {
|
1249
|
+
return false;
|
1250
|
+
}
|
1251
|
+
return true;
|
1252
|
+
}
|
1253
|
+
return simplify;
|
1254
|
+
});
|