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,1265 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports.createSimplify = void 0;
|
8
|
+
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
9
|
+
var _is = require("../../utils/is.js");
|
10
|
+
var _wildcards = require("./simplify/wildcards.js");
|
11
|
+
var _factory = require("../../utils/factory.js");
|
12
|
+
var _util = require("./simplify/util.js");
|
13
|
+
var _object = require("../../utils/object.js");
|
14
|
+
var _map = require("../../utils/map.js");
|
15
|
+
var name = 'simplify';
|
16
|
+
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'];
|
17
|
+
var createSimplify = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
|
18
|
+
var config = _ref.config,
|
19
|
+
typed = _ref.typed,
|
20
|
+
parse = _ref.parse,
|
21
|
+
add = _ref.add,
|
22
|
+
subtract = _ref.subtract,
|
23
|
+
multiply = _ref.multiply,
|
24
|
+
divide = _ref.divide,
|
25
|
+
pow = _ref.pow,
|
26
|
+
isZero = _ref.isZero,
|
27
|
+
equal = _ref.equal,
|
28
|
+
resolve = _ref.resolve,
|
29
|
+
simplifyConstant = _ref.simplifyConstant,
|
30
|
+
simplifyCore = _ref.simplifyCore,
|
31
|
+
fraction = _ref.fraction,
|
32
|
+
bignumber = _ref.bignumber,
|
33
|
+
mathWithTransform = _ref.mathWithTransform,
|
34
|
+
matrix = _ref.matrix,
|
35
|
+
AccessorNode = _ref.AccessorNode,
|
36
|
+
ArrayNode = _ref.ArrayNode,
|
37
|
+
ConstantNode = _ref.ConstantNode,
|
38
|
+
FunctionNode = _ref.FunctionNode,
|
39
|
+
IndexNode = _ref.IndexNode,
|
40
|
+
ObjectNode = _ref.ObjectNode,
|
41
|
+
OperatorNode = _ref.OperatorNode,
|
42
|
+
ParenthesisNode = _ref.ParenthesisNode,
|
43
|
+
SymbolNode = _ref.SymbolNode;
|
44
|
+
var _createUtil = (0, _util.createUtil)({
|
45
|
+
FunctionNode: FunctionNode,
|
46
|
+
OperatorNode: OperatorNode,
|
47
|
+
SymbolNode: SymbolNode
|
48
|
+
}),
|
49
|
+
hasProperty = _createUtil.hasProperty,
|
50
|
+
isCommutative = _createUtil.isCommutative,
|
51
|
+
isAssociative = _createUtil.isAssociative,
|
52
|
+
mergeContext = _createUtil.mergeContext,
|
53
|
+
flatten = _createUtil.flatten,
|
54
|
+
unflattenr = _createUtil.unflattenr,
|
55
|
+
unflattenl = _createUtil.unflattenl,
|
56
|
+
createMakeNodeFunction = _createUtil.createMakeNodeFunction,
|
57
|
+
defaultContext = _createUtil.defaultContext,
|
58
|
+
realContext = _createUtil.realContext,
|
59
|
+
positiveContext = _createUtil.positiveContext;
|
60
|
+
|
61
|
+
/**
|
62
|
+
* Simplify an expression tree.
|
63
|
+
*
|
64
|
+
* A list of rules are applied to an expression, repeating over the list until
|
65
|
+
* no further changes are made.
|
66
|
+
* It's possible to pass a custom set of rules to the function as second
|
67
|
+
* argument. A rule can be specified as an object, string, or function:
|
68
|
+
*
|
69
|
+
* const rules = [
|
70
|
+
* { l: 'n1*n3 + n2*n3', r: '(n1+n2)*n3' },
|
71
|
+
* 'n1*n3 + n2*n3 -> (n1+n2)*n3',
|
72
|
+
* function (node) {
|
73
|
+
* // ... return a new node or return the node unchanged
|
74
|
+
* return node
|
75
|
+
* }
|
76
|
+
* ]
|
77
|
+
*
|
78
|
+
* String and object rules consist of a left and right pattern. The left is
|
79
|
+
* used to match against the expression and the right determines what matches
|
80
|
+
* are replaced with. The main difference between a pattern and a normal
|
81
|
+
* expression is that variables starting with the following characters are
|
82
|
+
* interpreted as wildcards:
|
83
|
+
*
|
84
|
+
* - 'n' - Matches any node [Node]
|
85
|
+
* - 'c' - Matches a constant literal (5 or 3.2) [ConstantNode]
|
86
|
+
* - 'cl' - Matches a constant literal; same as c [ConstantNode]
|
87
|
+
* - 'cd' - Matches a decimal literal (5 or -3.2) [ConstantNode or unaryMinus wrapping a ConstantNode]
|
88
|
+
* - 'ce' - Matches a constant expression (-5 or √3) [Expressions consisting of only ConstantNodes, functions, and operators]
|
89
|
+
* - 'v' - Matches a variable; anything not matched by c (-5 or x) [Node that is not a ConstantNode]
|
90
|
+
* - 'vl' - Matches a variable literal (x or y) [SymbolNode]
|
91
|
+
* - '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]
|
92
|
+
* - 've' - Matches a variable expression; anything not matched by ce (x or 2x) [Expressions that contain a SymbolNode or other non-constant term]
|
93
|
+
*
|
94
|
+
* The default list of rules is exposed on the function as `simplify.rules`
|
95
|
+
* and can be used as a basis to built a set of custom rules. Note that since
|
96
|
+
* the `simplifyCore` function is in the default list of rules, by default
|
97
|
+
* simplify will convert any function calls in the expression that have
|
98
|
+
* operator equivalents to their operator forms.
|
99
|
+
*
|
100
|
+
* To specify a rule as a string, separate the left and right pattern by '->'
|
101
|
+
* When specifying a rule as an object, the following keys are meaningful:
|
102
|
+
* - l - the left pattern
|
103
|
+
* - r - the right pattern
|
104
|
+
* - s - in lieu of l and r, the string form that is broken at -> to give them
|
105
|
+
* - repeat - whether to repeat this rule until the expression stabilizes
|
106
|
+
* - assuming - gives a context object, as in the 'context' option to
|
107
|
+
* simplify. Every property in the context object must match the current
|
108
|
+
* context in order, or else the rule will not be applied.
|
109
|
+
* - imposeContext - gives a context object, as in the 'context' option to
|
110
|
+
* simplify. Any settings specified will override the incoming context
|
111
|
+
* for all matches of this rule.
|
112
|
+
*
|
113
|
+
* For more details on the theory, see:
|
114
|
+
*
|
115
|
+
* - [Strategies for simplifying math expressions (Stackoverflow)](https://stackoverflow.com/questions/7540227/strategies-for-simplifying-math-expressions)
|
116
|
+
* - [Symbolic computation - Simplification (Wikipedia)](https://en.wikipedia.org/wiki/Symbolic_computation#Simplification)
|
117
|
+
*
|
118
|
+
* An optional `options` argument can be passed as last argument of `simplify`.
|
119
|
+
* Currently available options (defaults in parentheses):
|
120
|
+
* - `consoleDebug` (false): whether to write the expression being simplified
|
121
|
+
* and any changes to it, along with the rule responsible, to console
|
122
|
+
* - `context` (simplify.defaultContext): an object giving properties of
|
123
|
+
* each operator, which determine what simplifications are allowed. The
|
124
|
+
* currently meaningful properties are commutative, associative,
|
125
|
+
* total (whether the operation is defined for all arguments), and
|
126
|
+
* trivial (whether the operation applied to a single argument leaves
|
127
|
+
* that argument unchanged). The default context is very permissive and
|
128
|
+
* allows almost all simplifications. Only properties differing from
|
129
|
+
* the default need to be specified; the default context is used as a
|
130
|
+
* fallback. Additional contexts `simplify.realContext` and
|
131
|
+
* `simplify.positiveContext` are supplied to cause simplify to perform
|
132
|
+
* just simplifications guaranteed to preserve all values of the expression
|
133
|
+
* assuming all variables and subexpressions are real numbers or
|
134
|
+
* positive real numbers, respectively. (Note that these are in some cases
|
135
|
+
* more restrictive than the default context; for example, the default
|
136
|
+
* context will allow `x/x` to simplify to 1, whereas
|
137
|
+
* `simplify.realContext` will not, as `0/0` is not equal to 1.)
|
138
|
+
* - `exactFractions` (true): whether to try to convert all constants to
|
139
|
+
* exact rational numbers.
|
140
|
+
* - `fractionsLimit` (10000): when `exactFractions` is true, constants will
|
141
|
+
* be expressed as fractions only when both numerator and denominator
|
142
|
+
* are smaller than `fractionsLimit`.
|
143
|
+
*
|
144
|
+
* Syntax:
|
145
|
+
*
|
146
|
+
* simplify(expr)
|
147
|
+
* simplify(expr, rules)
|
148
|
+
* simplify(expr, rules)
|
149
|
+
* simplify(expr, rules, scope)
|
150
|
+
* simplify(expr, rules, scope, options)
|
151
|
+
* simplify(expr, scope)
|
152
|
+
* simplify(expr, scope, options)
|
153
|
+
*
|
154
|
+
* Examples:
|
155
|
+
*
|
156
|
+
* math.simplify('2 * 1 * x ^ (2 - 1)') // Node "2 * x"
|
157
|
+
* math.simplify('2 * 3 * x', {x: 4}) // Node "24"
|
158
|
+
* const f = math.parse('2 * 1 * x ^ (2 - 1)')
|
159
|
+
* math.simplify(f) // Node "2 * x"
|
160
|
+
* math.simplify('0.4 * x', {}, {exactFractions: true}) // Node "x * 2 / 5"
|
161
|
+
* math.simplify('0.4 * x', {}, {exactFractions: false}) // Node "0.4 * x"
|
162
|
+
*
|
163
|
+
* See also:
|
164
|
+
*
|
165
|
+
* simplifyCore, derivative, evaluate, parse, rationalize, resolve
|
166
|
+
*
|
167
|
+
* @param {Node | string} expr
|
168
|
+
* The expression to be simplified
|
169
|
+
* @param {SimplifyRule[]} [rules]
|
170
|
+
* Optional list with custom rules
|
171
|
+
* @param {Object} [scope] Optional scope with variables
|
172
|
+
* @param {SimplifyOptions} [options] Optional configuration settings
|
173
|
+
* @return {Node} Returns the simplified form of `expr`
|
174
|
+
*/
|
175
|
+
typed.addConversion({
|
176
|
+
from: 'Object',
|
177
|
+
to: 'Map',
|
178
|
+
convert: _map.createMap
|
179
|
+
});
|
180
|
+
var simplify = typed('simplify', {
|
181
|
+
Node: _simplify,
|
182
|
+
'Node, Map': function NodeMap(expr, scope) {
|
183
|
+
return _simplify(expr, false, scope);
|
184
|
+
},
|
185
|
+
'Node, Map, Object': function NodeMapObject(expr, scope, options) {
|
186
|
+
return _simplify(expr, false, scope, options);
|
187
|
+
},
|
188
|
+
'Node, Array': _simplify,
|
189
|
+
'Node, Array, Map': _simplify,
|
190
|
+
'Node, Array, Map, Object': _simplify
|
191
|
+
});
|
192
|
+
typed.removeConversion({
|
193
|
+
from: 'Object',
|
194
|
+
to: 'Map',
|
195
|
+
convert: _map.createMap
|
196
|
+
});
|
197
|
+
simplify.defaultContext = defaultContext;
|
198
|
+
simplify.realContext = realContext;
|
199
|
+
simplify.positiveContext = positiveContext;
|
200
|
+
function removeParens(node) {
|
201
|
+
return node.transform(function (node, path, parent) {
|
202
|
+
return (0, _is.isParenthesisNode)(node) ? removeParens(node.content) : node;
|
203
|
+
});
|
204
|
+
}
|
205
|
+
|
206
|
+
// All constants that are allowed in rules
|
207
|
+
var SUPPORTED_CONSTANTS = {
|
208
|
+
"true": true,
|
209
|
+
"false": true,
|
210
|
+
e: true,
|
211
|
+
i: true,
|
212
|
+
Infinity: true,
|
213
|
+
LN2: true,
|
214
|
+
LN10: true,
|
215
|
+
LOG2E: true,
|
216
|
+
LOG10E: true,
|
217
|
+
NaN: true,
|
218
|
+
phi: true,
|
219
|
+
pi: true,
|
220
|
+
SQRT1_2: true,
|
221
|
+
SQRT2: true,
|
222
|
+
tau: true
|
223
|
+
// null: false,
|
224
|
+
// undefined: false,
|
225
|
+
// version: false,
|
226
|
+
};
|
227
|
+
|
228
|
+
// Array of strings, used to build the ruleSet.
|
229
|
+
// Each l (left side) and r (right side) are parsed by
|
230
|
+
// the expression parser into a node tree.
|
231
|
+
// Left hand sides are matched to subtrees within the
|
232
|
+
// expression to be parsed and replaced with the right
|
233
|
+
// hand side.
|
234
|
+
// TODO: Add support for constraints on constants (either in the form of a '=' expression or a callback [callback allows things like comparing symbols alphabetically])
|
235
|
+
// 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.
|
236
|
+
// It is possible to get into an infinite loop with conflicting rules
|
237
|
+
simplify.rules = [simplifyCore,
|
238
|
+
// { l: 'n+0', r: 'n' }, // simplifyCore
|
239
|
+
// { l: 'n^0', r: '1' }, // simplifyCore
|
240
|
+
// { l: '0*n', r: '0' }, // simplifyCore
|
241
|
+
// { l: 'n/n', r: '1'}, // simplifyCore
|
242
|
+
// { l: 'n^1', r: 'n' }, // simplifyCore
|
243
|
+
// { l: '+n1', r:'n1' }, // simplifyCore
|
244
|
+
// { l: 'n--n1', r:'n+n1' }, // simplifyCore
|
245
|
+
{
|
246
|
+
l: 'log(e)',
|
247
|
+
r: '1'
|
248
|
+
},
|
249
|
+
// temporary rules
|
250
|
+
// Note initially we tend constants to the right because like-term
|
251
|
+
// collection prefers the left, and we would rather collect nonconstants
|
252
|
+
{
|
253
|
+
s: 'n-n1 -> n+-n1',
|
254
|
+
// temporarily replace 'subtract' so we can further flatten the 'add' operator
|
255
|
+
assuming: {
|
256
|
+
subtract: {
|
257
|
+
total: true
|
258
|
+
}
|
259
|
+
}
|
260
|
+
}, {
|
261
|
+
s: 'n-n -> 0',
|
262
|
+
// partial alternative when we can't always subtract
|
263
|
+
assuming: {
|
264
|
+
subtract: {
|
265
|
+
total: false
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}, {
|
269
|
+
s: '-(cl*v) -> v * (-cl)',
|
270
|
+
// make non-constant terms positive
|
271
|
+
assuming: {
|
272
|
+
multiply: {
|
273
|
+
commutative: true
|
274
|
+
},
|
275
|
+
subtract: {
|
276
|
+
total: true
|
277
|
+
}
|
278
|
+
}
|
279
|
+
}, {
|
280
|
+
s: '-(cl*v) -> (-cl) * v',
|
281
|
+
// non-commutative version, part 1
|
282
|
+
assuming: {
|
283
|
+
multiply: {
|
284
|
+
commutative: false
|
285
|
+
},
|
286
|
+
subtract: {
|
287
|
+
total: true
|
288
|
+
}
|
289
|
+
}
|
290
|
+
}, {
|
291
|
+
s: '-(v*cl) -> v * (-cl)',
|
292
|
+
// non-commutative version, part 2
|
293
|
+
assuming: {
|
294
|
+
multiply: {
|
295
|
+
commutative: false
|
296
|
+
},
|
297
|
+
subtract: {
|
298
|
+
total: true
|
299
|
+
}
|
300
|
+
}
|
301
|
+
}, {
|
302
|
+
l: '-(n1/n2)',
|
303
|
+
r: '-n1/n2'
|
304
|
+
}, {
|
305
|
+
l: '-v',
|
306
|
+
r: 'v * (-1)'
|
307
|
+
},
|
308
|
+
// finish making non-constant terms positive
|
309
|
+
{
|
310
|
+
l: '(n1 + n2)*(-1)',
|
311
|
+
r: 'n1*(-1) + n2*(-1)',
|
312
|
+
repeat: true
|
313
|
+
},
|
314
|
+
// expand negations to achieve as much sign cancellation as possible
|
315
|
+
{
|
316
|
+
l: 'n/n1^n2',
|
317
|
+
r: 'n*n1^-n2'
|
318
|
+
},
|
319
|
+
// temporarily replace 'divide' so we can further flatten the 'multiply' operator
|
320
|
+
{
|
321
|
+
l: 'n/n1',
|
322
|
+
r: 'n*n1^-1'
|
323
|
+
}, {
|
324
|
+
s: '(n1*n2)^n3 -> n1^n3 * n2^n3',
|
325
|
+
assuming: {
|
326
|
+
multiply: {
|
327
|
+
commutative: true
|
328
|
+
}
|
329
|
+
}
|
330
|
+
}, {
|
331
|
+
s: '(n1*n2)^(-1) -> n2^(-1) * n1^(-1)',
|
332
|
+
assuming: {
|
333
|
+
multiply: {
|
334
|
+
commutative: false
|
335
|
+
}
|
336
|
+
}
|
337
|
+
},
|
338
|
+
// expand nested exponentiation
|
339
|
+
{
|
340
|
+
s: '(n ^ n1) ^ n2 -> n ^ (n1 * n2)',
|
341
|
+
assuming: {
|
342
|
+
divide: {
|
343
|
+
total: true
|
344
|
+
}
|
345
|
+
} // 1/(1/n) = n needs 1/n to exist
|
346
|
+
},
|
347
|
+
// collect like factors; into a sum, only do this for nonconstants
|
348
|
+
{
|
349
|
+
l: ' vd * ( vd * n1 + n2)',
|
350
|
+
r: 'vd^2 * n1 + vd * n2'
|
351
|
+
}, {
|
352
|
+
s: ' vd * (vd^n4 * n1 + n2) -> vd^(1+n4) * n1 + vd * n2',
|
353
|
+
assuming: {
|
354
|
+
divide: {
|
355
|
+
total: true
|
356
|
+
}
|
357
|
+
} // v*1/v = v^(1+-1) needs 1/v
|
358
|
+
}, {
|
359
|
+
s: 'vd^n3 * ( vd * n1 + n2) -> vd^(n3+1) * n1 + vd^n3 * n2',
|
360
|
+
assuming: {
|
361
|
+
divide: {
|
362
|
+
total: true
|
363
|
+
}
|
364
|
+
}
|
365
|
+
}, {
|
366
|
+
s: 'vd^n3 * (vd^n4 * n1 + n2) -> vd^(n3+n4) * n1 + vd^n3 * n2',
|
367
|
+
assuming: {
|
368
|
+
divide: {
|
369
|
+
total: true
|
370
|
+
}
|
371
|
+
}
|
372
|
+
}, {
|
373
|
+
l: 'n*n',
|
374
|
+
r: 'n^2'
|
375
|
+
}, {
|
376
|
+
s: 'n * n^n1 -> n^(n1+1)',
|
377
|
+
assuming: {
|
378
|
+
divide: {
|
379
|
+
total: true
|
380
|
+
}
|
381
|
+
} // n*1/n = n^(-1+1) needs 1/n
|
382
|
+
}, {
|
383
|
+
s: 'n^n1 * n^n2 -> n^(n1+n2)',
|
384
|
+
assuming: {
|
385
|
+
divide: {
|
386
|
+
total: true
|
387
|
+
}
|
388
|
+
} // ditto for n^2*1/n^2
|
389
|
+
},
|
390
|
+
// Unfortunately, to deal with more complicated cancellations, it
|
391
|
+
// becomes necessary to simplify constants twice per pass. It's not
|
392
|
+
// terribly expensive compared to matching rules, so this should not
|
393
|
+
// pose a performance problem.
|
394
|
+
simplifyConstant,
|
395
|
+
// First: before collecting like terms
|
396
|
+
|
397
|
+
// collect like terms
|
398
|
+
{
|
399
|
+
s: 'n+n -> 2*n',
|
400
|
+
assuming: {
|
401
|
+
add: {
|
402
|
+
total: true
|
403
|
+
}
|
404
|
+
} // 2 = 1 + 1 needs to exist
|
405
|
+
}, {
|
406
|
+
l: 'n+-n',
|
407
|
+
r: '0'
|
408
|
+
}, {
|
409
|
+
l: 'vd*n + vd',
|
410
|
+
r: 'vd*(n+1)'
|
411
|
+
},
|
412
|
+
// NOTE: leftmost position is special:
|
413
|
+
{
|
414
|
+
l: 'n3*n1 + n3*n2',
|
415
|
+
r: 'n3*(n1+n2)'
|
416
|
+
},
|
417
|
+
// All sub-monomials tried there.
|
418
|
+
{
|
419
|
+
l: 'n3^(-n4)*n1 + n3 * n2',
|
420
|
+
r: 'n3^(-n4)*(n1 + n3^(n4+1) *n2)'
|
421
|
+
}, {
|
422
|
+
l: 'n3^(-n4)*n1 + n3^n5 * n2',
|
423
|
+
r: 'n3^(-n4)*(n1 + n3^(n4+n5)*n2)'
|
424
|
+
},
|
425
|
+
// noncommutative additional cases (term collection & factoring)
|
426
|
+
{
|
427
|
+
s: 'n*vd + vd -> (n+1)*vd',
|
428
|
+
assuming: {
|
429
|
+
multiply: {
|
430
|
+
commutative: false
|
431
|
+
}
|
432
|
+
}
|
433
|
+
}, {
|
434
|
+
s: 'vd + n*vd -> (1+n)*vd',
|
435
|
+
assuming: {
|
436
|
+
multiply: {
|
437
|
+
commutative: false
|
438
|
+
}
|
439
|
+
}
|
440
|
+
}, {
|
441
|
+
s: 'n1*n3 + n2*n3 -> (n1+n2)*n3',
|
442
|
+
assuming: {
|
443
|
+
multiply: {
|
444
|
+
commutative: false
|
445
|
+
}
|
446
|
+
}
|
447
|
+
}, {
|
448
|
+
s: 'n^n1 * n -> n^(n1+1)',
|
449
|
+
assuming: {
|
450
|
+
divide: {
|
451
|
+
total: true
|
452
|
+
},
|
453
|
+
multiply: {
|
454
|
+
commutative: false
|
455
|
+
}
|
456
|
+
}
|
457
|
+
}, {
|
458
|
+
s: 'n1*n3^(-n4) + n2 * n3 -> (n1 + n2*n3^(n4 + 1))*n3^(-n4)',
|
459
|
+
assuming: {
|
460
|
+
multiply: {
|
461
|
+
commutative: false
|
462
|
+
}
|
463
|
+
}
|
464
|
+
}, {
|
465
|
+
s: 'n1*n3^(-n4) + n2 * n3^n5 -> (n1 + n2*n3^(n4 + n5))*n3^(-n4)',
|
466
|
+
assuming: {
|
467
|
+
multiply: {
|
468
|
+
commutative: false
|
469
|
+
}
|
470
|
+
}
|
471
|
+
}, {
|
472
|
+
l: 'n*cd + cd',
|
473
|
+
r: '(n+1)*cd'
|
474
|
+
}, {
|
475
|
+
s: 'cd*n + cd -> cd*(n+1)',
|
476
|
+
assuming: {
|
477
|
+
multiply: {
|
478
|
+
commutative: false
|
479
|
+
}
|
480
|
+
}
|
481
|
+
}, {
|
482
|
+
s: 'cd + cd*n -> cd*(1+n)',
|
483
|
+
assuming: {
|
484
|
+
multiply: {
|
485
|
+
commutative: false
|
486
|
+
}
|
487
|
+
}
|
488
|
+
}, simplifyConstant,
|
489
|
+
// Second: before returning expressions to "standard form"
|
490
|
+
|
491
|
+
// make factors positive (and undo 'make non-constant terms positive')
|
492
|
+
{
|
493
|
+
s: '(-n)*n1 -> -(n*n1)',
|
494
|
+
assuming: {
|
495
|
+
subtract: {
|
496
|
+
total: true
|
497
|
+
}
|
498
|
+
}
|
499
|
+
}, {
|
500
|
+
s: 'n1*(-n) -> -(n1*n)',
|
501
|
+
// in case * non-commutative
|
502
|
+
assuming: {
|
503
|
+
subtract: {
|
504
|
+
total: true
|
505
|
+
},
|
506
|
+
multiply: {
|
507
|
+
commutative: false
|
508
|
+
}
|
509
|
+
}
|
510
|
+
},
|
511
|
+
// final ordering of constants
|
512
|
+
{
|
513
|
+
s: 'ce+ve -> ve+ce',
|
514
|
+
assuming: {
|
515
|
+
add: {
|
516
|
+
commutative: true
|
517
|
+
}
|
518
|
+
},
|
519
|
+
imposeContext: {
|
520
|
+
add: {
|
521
|
+
commutative: false
|
522
|
+
}
|
523
|
+
}
|
524
|
+
}, {
|
525
|
+
s: 'vd*cd -> cd*vd',
|
526
|
+
assuming: {
|
527
|
+
multiply: {
|
528
|
+
commutative: true
|
529
|
+
}
|
530
|
+
},
|
531
|
+
imposeContext: {
|
532
|
+
multiply: {
|
533
|
+
commutative: false
|
534
|
+
}
|
535
|
+
}
|
536
|
+
},
|
537
|
+
// undo temporary rules
|
538
|
+
// { l: '(-1) * n', r: '-n' }, // #811 added test which proved this is redundant
|
539
|
+
{
|
540
|
+
l: 'n+-n1',
|
541
|
+
r: 'n-n1'
|
542
|
+
},
|
543
|
+
// undo replace 'subtract'
|
544
|
+
{
|
545
|
+
s: 'n*(n1^-1) -> n/n1',
|
546
|
+
// undo replace 'divide'; for * commutative
|
547
|
+
assuming: {
|
548
|
+
multiply: {
|
549
|
+
commutative: true
|
550
|
+
}
|
551
|
+
} // o.w. / not conventional
|
552
|
+
}, {
|
553
|
+
s: 'n*n1^-n2 -> n/n1^n2',
|
554
|
+
assuming: {
|
555
|
+
multiply: {
|
556
|
+
commutative: true
|
557
|
+
}
|
558
|
+
} // o.w. / not conventional
|
559
|
+
}, {
|
560
|
+
s: 'n^-1 -> 1/n',
|
561
|
+
assuming: {
|
562
|
+
multiply: {
|
563
|
+
commutative: true
|
564
|
+
}
|
565
|
+
} // o.w. / not conventional
|
566
|
+
}, {
|
567
|
+
l: 'n^1',
|
568
|
+
r: 'n'
|
569
|
+
},
|
570
|
+
// can be produced by power cancellation
|
571
|
+
{
|
572
|
+
s: 'n*(n1/n2) -> (n*n1)/n2',
|
573
|
+
// '*' before '/'
|
574
|
+
assuming: {
|
575
|
+
multiply: {
|
576
|
+
associative: true
|
577
|
+
}
|
578
|
+
}
|
579
|
+
}, {
|
580
|
+
s: 'n-(n1+n2) -> n-n1-n2',
|
581
|
+
// '-' before '+'
|
582
|
+
assuming: {
|
583
|
+
addition: {
|
584
|
+
associative: true,
|
585
|
+
commutative: true
|
586
|
+
}
|
587
|
+
}
|
588
|
+
},
|
589
|
+
// { l: '(n1/n2)/n3', r: 'n1/(n2*n3)' },
|
590
|
+
// { l: '(n*n1)/(n*n2)', r: 'n1/n2' },
|
591
|
+
|
592
|
+
// simplifyConstant can leave an extra factor of 1, which can always
|
593
|
+
// be eliminated, since the identity always commutes
|
594
|
+
{
|
595
|
+
l: '1*n',
|
596
|
+
r: 'n',
|
597
|
+
imposeContext: {
|
598
|
+
multiply: {
|
599
|
+
commutative: true
|
600
|
+
}
|
601
|
+
}
|
602
|
+
}, {
|
603
|
+
s: 'n1/(n2/n3) -> (n1*n3)/n2',
|
604
|
+
assuming: {
|
605
|
+
multiply: {
|
606
|
+
associative: true
|
607
|
+
}
|
608
|
+
}
|
609
|
+
}, {
|
610
|
+
l: 'n1/(-n2)',
|
611
|
+
r: '-n1/n2'
|
612
|
+
}];
|
613
|
+
|
614
|
+
/**
|
615
|
+
* Takes any rule object as allowed by the specification in simplify
|
616
|
+
* and puts it in a standard form used by applyRule
|
617
|
+
*/
|
618
|
+
function _canonicalizeRule(ruleObject, context) {
|
619
|
+
var newRule = {};
|
620
|
+
if (ruleObject.s) {
|
621
|
+
var lr = ruleObject.s.split('->');
|
622
|
+
if (lr.length === 2) {
|
623
|
+
newRule.l = lr[0];
|
624
|
+
newRule.r = lr[1];
|
625
|
+
} else {
|
626
|
+
throw SyntaxError('Could not parse rule: ' + ruleObject.s);
|
627
|
+
}
|
628
|
+
} else {
|
629
|
+
newRule.l = ruleObject.l;
|
630
|
+
newRule.r = ruleObject.r;
|
631
|
+
}
|
632
|
+
newRule.l = removeParens(parse(newRule.l));
|
633
|
+
newRule.r = removeParens(parse(newRule.r));
|
634
|
+
for (var _i = 0, _arr = ['imposeContext', 'repeat', 'assuming']; _i < _arr.length; _i++) {
|
635
|
+
var prop = _arr[_i];
|
636
|
+
if (prop in ruleObject) {
|
637
|
+
newRule[prop] = ruleObject[prop];
|
638
|
+
}
|
639
|
+
}
|
640
|
+
if (ruleObject.evaluate) {
|
641
|
+
newRule.evaluate = parse(ruleObject.evaluate);
|
642
|
+
}
|
643
|
+
if (isAssociative(newRule.l, context)) {
|
644
|
+
var nonCommutative = !isCommutative(newRule.l, context);
|
645
|
+
var leftExpandsym;
|
646
|
+
// Gen. the LHS placeholder used in this NC-context specific expansion rules
|
647
|
+
if (nonCommutative) leftExpandsym = _getExpandPlaceholderSymbol();
|
648
|
+
var makeNode = createMakeNodeFunction(newRule.l);
|
649
|
+
var expandsym = _getExpandPlaceholderSymbol();
|
650
|
+
newRule.expanded = {};
|
651
|
+
newRule.expanded.l = makeNode([newRule.l, expandsym]);
|
652
|
+
// Push the expandsym into the deepest possible branch.
|
653
|
+
// This helps to match the newRule against nodes returned from getSplits() later on.
|
654
|
+
flatten(newRule.expanded.l, context);
|
655
|
+
unflattenr(newRule.expanded.l, context);
|
656
|
+
newRule.expanded.r = makeNode([newRule.r, expandsym]);
|
657
|
+
|
658
|
+
// In and for a non-commutative context, attempting with yet additional expansion rules makes
|
659
|
+
// way for more matches cases of multi-arg expressions; such that associative rules (such as
|
660
|
+
// 'n*n -> n^2') can be applied to exprs. such as 'a * b * b' and 'a * b * b * a'.
|
661
|
+
if (nonCommutative) {
|
662
|
+
// 'Non-commutative' 1: LHS (placeholder) only
|
663
|
+
newRule.expandedNC1 = {};
|
664
|
+
newRule.expandedNC1.l = makeNode([leftExpandsym, newRule.l]);
|
665
|
+
newRule.expandedNC1.r = makeNode([leftExpandsym, newRule.r]);
|
666
|
+
// 'Non-commutative' 2: farmost LHS and RHS placeholders
|
667
|
+
newRule.expandedNC2 = {};
|
668
|
+
newRule.expandedNC2.l = makeNode([leftExpandsym, newRule.expanded.l]);
|
669
|
+
newRule.expandedNC2.r = makeNode([leftExpandsym, newRule.expanded.r]);
|
670
|
+
}
|
671
|
+
}
|
672
|
+
return newRule;
|
673
|
+
}
|
674
|
+
|
675
|
+
/**
|
676
|
+
* Parse the string array of rules into nodes
|
677
|
+
*
|
678
|
+
* Example syntax for rules:
|
679
|
+
*
|
680
|
+
* Position constants to the left in a product:
|
681
|
+
* { l: 'n1 * c1', r: 'c1 * n1' }
|
682
|
+
* n1 is any Node, and c1 is a ConstantNode.
|
683
|
+
*
|
684
|
+
* Apply difference of squares formula:
|
685
|
+
* { l: '(n1 - n2) * (n1 + n2)', r: 'n1^2 - n2^2' }
|
686
|
+
* n1, n2 mean any Node.
|
687
|
+
*
|
688
|
+
* Short hand notation:
|
689
|
+
* 'n1 * c1 -> c1 * n1'
|
690
|
+
*/
|
691
|
+
function _buildRules(rules, context) {
|
692
|
+
// Array of rules to be used to simplify expressions
|
693
|
+
var ruleSet = [];
|
694
|
+
for (var i = 0; i < rules.length; i++) {
|
695
|
+
var rule = rules[i];
|
696
|
+
var newRule = void 0;
|
697
|
+
var ruleType = (0, _typeof2["default"])(rule);
|
698
|
+
switch (ruleType) {
|
699
|
+
case 'string':
|
700
|
+
rule = {
|
701
|
+
s: rule
|
702
|
+
};
|
703
|
+
/* falls through */
|
704
|
+
case 'object':
|
705
|
+
newRule = _canonicalizeRule(rule, context);
|
706
|
+
break;
|
707
|
+
case 'function':
|
708
|
+
newRule = rule;
|
709
|
+
break;
|
710
|
+
default:
|
711
|
+
throw TypeError('Unsupported type of rule: ' + ruleType);
|
712
|
+
}
|
713
|
+
// console.log('Adding rule: ' + rules[i])
|
714
|
+
// console.log(newRule)
|
715
|
+
ruleSet.push(newRule);
|
716
|
+
}
|
717
|
+
return ruleSet;
|
718
|
+
}
|
719
|
+
var _lastsym = 0;
|
720
|
+
function _getExpandPlaceholderSymbol() {
|
721
|
+
return new SymbolNode('_p' + _lastsym++);
|
722
|
+
}
|
723
|
+
function _simplify(expr, rules) {
|
724
|
+
var scope = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : (0, _map.createEmptyMap)();
|
725
|
+
var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
726
|
+
var debug = options.consoleDebug;
|
727
|
+
rules = _buildRules(rules || simplify.rules, options.context);
|
728
|
+
var res = resolve(expr, scope);
|
729
|
+
res = removeParens(res);
|
730
|
+
var visited = {};
|
731
|
+
var str = res.toString({
|
732
|
+
parenthesis: 'all'
|
733
|
+
});
|
734
|
+
while (!visited[str]) {
|
735
|
+
visited[str] = true;
|
736
|
+
_lastsym = 0; // counter for placeholder symbols
|
737
|
+
var laststr = str;
|
738
|
+
if (debug) console.log('Working on: ', str);
|
739
|
+
for (var i = 0; i < rules.length; i++) {
|
740
|
+
var rulestr = '';
|
741
|
+
if (typeof rules[i] === 'function') {
|
742
|
+
res = rules[i](res, options);
|
743
|
+
if (debug) rulestr = rules[i].name;
|
744
|
+
} else {
|
745
|
+
flatten(res, options.context);
|
746
|
+
res = applyRule(res, rules[i], options.context);
|
747
|
+
if (debug) {
|
748
|
+
rulestr = "".concat(rules[i].l.toString(), " -> ").concat(rules[i].r.toString());
|
749
|
+
}
|
750
|
+
}
|
751
|
+
if (debug) {
|
752
|
+
var newstr = res.toString({
|
753
|
+
parenthesis: 'all'
|
754
|
+
});
|
755
|
+
if (newstr !== laststr) {
|
756
|
+
console.log('Applying', rulestr, 'produced', newstr);
|
757
|
+
laststr = newstr;
|
758
|
+
}
|
759
|
+
}
|
760
|
+
/* Use left-heavy binary tree internally,
|
761
|
+
* since custom rule functions may expect it
|
762
|
+
*/
|
763
|
+
unflattenl(res, options.context);
|
764
|
+
}
|
765
|
+
str = res.toString({
|
766
|
+
parenthesis: 'all'
|
767
|
+
});
|
768
|
+
}
|
769
|
+
return res;
|
770
|
+
}
|
771
|
+
function mapRule(nodes, rule, context) {
|
772
|
+
var resNodes = nodes;
|
773
|
+
if (nodes) {
|
774
|
+
for (var i = 0; i < nodes.length; ++i) {
|
775
|
+
var newNode = applyRule(nodes[i], rule, context);
|
776
|
+
if (newNode !== nodes[i]) {
|
777
|
+
if (resNodes === nodes) {
|
778
|
+
resNodes = nodes.slice();
|
779
|
+
}
|
780
|
+
resNodes[i] = newNode;
|
781
|
+
}
|
782
|
+
}
|
783
|
+
}
|
784
|
+
return resNodes;
|
785
|
+
}
|
786
|
+
|
787
|
+
/**
|
788
|
+
* Returns a simplfied form of node, or the original node if no simplification was possible.
|
789
|
+
*
|
790
|
+
* @param {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} node
|
791
|
+
* @param {Object | Function} rule
|
792
|
+
* @param {Object} context -- information about assumed properties of operators
|
793
|
+
* @return {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} The simplified form of `expr`, or the original node if no simplification was possible.
|
794
|
+
*/
|
795
|
+
function applyRule(node, rule, context) {
|
796
|
+
// console.log('Entering applyRule("', rule.l.toString({parenthesis:'all'}), '->', rule.r.toString({parenthesis:'all'}), '",', node.toString({parenthesis:'all'}),')')
|
797
|
+
|
798
|
+
// check that the assumptions for this rule are satisfied by the current
|
799
|
+
// context:
|
800
|
+
if (rule.assuming) {
|
801
|
+
for (var symbol in rule.assuming) {
|
802
|
+
for (var property in rule.assuming[symbol]) {
|
803
|
+
if (hasProperty(symbol, property, context) !== rule.assuming[symbol][property]) {
|
804
|
+
return node;
|
805
|
+
}
|
806
|
+
}
|
807
|
+
}
|
808
|
+
}
|
809
|
+
var mergedContext = mergeContext(rule.imposeContext, context);
|
810
|
+
|
811
|
+
// Do not clone node unless we find a match
|
812
|
+
var res = node;
|
813
|
+
|
814
|
+
// First replace our child nodes with their simplified versions
|
815
|
+
// If a child could not be simplified, applying the rule to it
|
816
|
+
// will have no effect since the node is returned unchanged
|
817
|
+
if (res instanceof OperatorNode || res instanceof FunctionNode) {
|
818
|
+
var newArgs = mapRule(res.args, rule, context);
|
819
|
+
if (newArgs !== res.args) {
|
820
|
+
res = res.clone();
|
821
|
+
res.args = newArgs;
|
822
|
+
}
|
823
|
+
} else if (res instanceof ParenthesisNode) {
|
824
|
+
if (res.content) {
|
825
|
+
var newContent = applyRule(res.content, rule, context);
|
826
|
+
if (newContent !== res.content) {
|
827
|
+
res = new ParenthesisNode(newContent);
|
828
|
+
}
|
829
|
+
}
|
830
|
+
} else if (res instanceof ArrayNode) {
|
831
|
+
var newItems = mapRule(res.items, rule, context);
|
832
|
+
if (newItems !== res.items) {
|
833
|
+
res = new ArrayNode(newItems);
|
834
|
+
}
|
835
|
+
} else if (res instanceof AccessorNode) {
|
836
|
+
var newObj = res.object;
|
837
|
+
if (res.object) {
|
838
|
+
newObj = applyRule(res.object, rule, context);
|
839
|
+
}
|
840
|
+
var newIndex = res.index;
|
841
|
+
if (res.index) {
|
842
|
+
newIndex = applyRule(res.index, rule, context);
|
843
|
+
}
|
844
|
+
if (newObj !== res.object || newIndex !== res.index) {
|
845
|
+
res = new AccessorNode(newObj, newIndex);
|
846
|
+
}
|
847
|
+
} else if (res instanceof IndexNode) {
|
848
|
+
var newDims = mapRule(res.dimensions, rule, context);
|
849
|
+
if (newDims !== res.dimensions) {
|
850
|
+
res = new IndexNode(newDims);
|
851
|
+
}
|
852
|
+
} else if (res instanceof ObjectNode) {
|
853
|
+
var changed = false;
|
854
|
+
var newProps = {};
|
855
|
+
for (var prop in res.properties) {
|
856
|
+
newProps[prop] = applyRule(res.properties[prop], rule, context);
|
857
|
+
if (newProps[prop] !== res.properties[prop]) {
|
858
|
+
changed = true;
|
859
|
+
}
|
860
|
+
}
|
861
|
+
if (changed) {
|
862
|
+
res = new ObjectNode(newProps);
|
863
|
+
}
|
864
|
+
}
|
865
|
+
|
866
|
+
// Try to match a rule against this node
|
867
|
+
var repl = rule.r;
|
868
|
+
var matches = _ruleMatch(rule.l, res, mergedContext)[0];
|
869
|
+
|
870
|
+
// If the rule is associative operator, we can try matching it while allowing additional terms.
|
871
|
+
// 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.
|
872
|
+
if (!matches && rule.expanded) {
|
873
|
+
repl = rule.expanded.r;
|
874
|
+
matches = _ruleMatch(rule.expanded.l, res, mergedContext)[0];
|
875
|
+
}
|
876
|
+
// Additional, non-commutative context expansion-rules
|
877
|
+
if (!matches && rule.expandedNC1) {
|
878
|
+
repl = rule.expandedNC1.r;
|
879
|
+
matches = _ruleMatch(rule.expandedNC1.l, res, mergedContext)[0];
|
880
|
+
if (!matches) {
|
881
|
+
// Existence of NC1 implies NC2
|
882
|
+
repl = rule.expandedNC2.r;
|
883
|
+
matches = _ruleMatch(rule.expandedNC2.l, res, mergedContext)[0];
|
884
|
+
}
|
885
|
+
}
|
886
|
+
if (matches) {
|
887
|
+
// const before = res.toString({parenthesis: 'all'})
|
888
|
+
|
889
|
+
// Create a new node by cloning the rhs of the matched rule
|
890
|
+
// we keep any implicit multiplication state if relevant
|
891
|
+
var implicit = res.implicit;
|
892
|
+
res = repl.clone();
|
893
|
+
if (implicit && 'implicit' in repl) {
|
894
|
+
res.implicit = true;
|
895
|
+
}
|
896
|
+
|
897
|
+
// Replace placeholders with their respective nodes without traversing deeper into the replaced nodes
|
898
|
+
res = res.transform(function (node) {
|
899
|
+
if (node.isSymbolNode && (0, _object.hasOwnProperty)(matches.placeholders, node.name)) {
|
900
|
+
return matches.placeholders[node.name].clone();
|
901
|
+
} else {
|
902
|
+
return node;
|
903
|
+
}
|
904
|
+
});
|
905
|
+
|
906
|
+
// const after = res.toString({parenthesis: 'all'})
|
907
|
+
// console.log('Simplified ' + before + ' to ' + after)
|
908
|
+
}
|
909
|
+
|
910
|
+
if (rule.repeat && res !== node) {
|
911
|
+
res = applyRule(res, rule, context);
|
912
|
+
}
|
913
|
+
return res;
|
914
|
+
}
|
915
|
+
|
916
|
+
/**
|
917
|
+
* Get (binary) combinations of a flattened binary node
|
918
|
+
* e.g. +(node1, node2, node3) -> [
|
919
|
+
* +(node1, +(node2, node3)),
|
920
|
+
* +(node2, +(node1, node3)),
|
921
|
+
* +(node3, +(node1, node2))]
|
922
|
+
*
|
923
|
+
*/
|
924
|
+
function getSplits(node, context) {
|
925
|
+
var res = [];
|
926
|
+
var right, rightArgs;
|
927
|
+
var makeNode = createMakeNodeFunction(node);
|
928
|
+
if (isCommutative(node, context)) {
|
929
|
+
for (var i = 0; i < node.args.length; i++) {
|
930
|
+
rightArgs = node.args.slice(0);
|
931
|
+
rightArgs.splice(i, 1);
|
932
|
+
right = rightArgs.length === 1 ? rightArgs[0] : makeNode(rightArgs);
|
933
|
+
res.push(makeNode([node.args[i], right]));
|
934
|
+
}
|
935
|
+
} else {
|
936
|
+
// Keep order, but try all parenthesizations
|
937
|
+
for (var _i2 = 1; _i2 < node.args.length; _i2++) {
|
938
|
+
var left = node.args[0];
|
939
|
+
if (_i2 > 1) {
|
940
|
+
left = makeNode(node.args.slice(0, _i2));
|
941
|
+
}
|
942
|
+
rightArgs = node.args.slice(_i2);
|
943
|
+
right = rightArgs.length === 1 ? rightArgs[0] : makeNode(rightArgs);
|
944
|
+
res.push(makeNode([left, right]));
|
945
|
+
}
|
946
|
+
}
|
947
|
+
return res;
|
948
|
+
}
|
949
|
+
|
950
|
+
/**
|
951
|
+
* Returns the set union of two match-placeholders or null if there is a conflict.
|
952
|
+
*/
|
953
|
+
function mergeMatch(match1, match2) {
|
954
|
+
var res = {
|
955
|
+
placeholders: {}
|
956
|
+
};
|
957
|
+
|
958
|
+
// Some matches may not have placeholders; this is OK
|
959
|
+
if (!match1.placeholders && !match2.placeholders) {
|
960
|
+
return res;
|
961
|
+
} else if (!match1.placeholders) {
|
962
|
+
return match2;
|
963
|
+
} else if (!match2.placeholders) {
|
964
|
+
return match1;
|
965
|
+
}
|
966
|
+
|
967
|
+
// Placeholders with the same key must match exactly
|
968
|
+
for (var key in match1.placeholders) {
|
969
|
+
if ((0, _object.hasOwnProperty)(match1.placeholders, key)) {
|
970
|
+
res.placeholders[key] = match1.placeholders[key];
|
971
|
+
if ((0, _object.hasOwnProperty)(match2.placeholders, key)) {
|
972
|
+
if (!_exactMatch(match1.placeholders[key], match2.placeholders[key])) {
|
973
|
+
return null;
|
974
|
+
}
|
975
|
+
}
|
976
|
+
}
|
977
|
+
}
|
978
|
+
for (var _key in match2.placeholders) {
|
979
|
+
if ((0, _object.hasOwnProperty)(match2.placeholders, _key)) {
|
980
|
+
res.placeholders[_key] = match2.placeholders[_key];
|
981
|
+
}
|
982
|
+
}
|
983
|
+
return res;
|
984
|
+
}
|
985
|
+
|
986
|
+
/**
|
987
|
+
* Combine two lists of matches by applying mergeMatch to the cartesian product of two lists of matches.
|
988
|
+
* Each list represents matches found in one child of a node.
|
989
|
+
*/
|
990
|
+
function combineChildMatches(list1, list2) {
|
991
|
+
var res = [];
|
992
|
+
if (list1.length === 0 || list2.length === 0) {
|
993
|
+
return res;
|
994
|
+
}
|
995
|
+
var merged;
|
996
|
+
for (var i1 = 0; i1 < list1.length; i1++) {
|
997
|
+
for (var i2 = 0; i2 < list2.length; i2++) {
|
998
|
+
merged = mergeMatch(list1[i1], list2[i2]);
|
999
|
+
if (merged) {
|
1000
|
+
res.push(merged);
|
1001
|
+
}
|
1002
|
+
}
|
1003
|
+
}
|
1004
|
+
return res;
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
/**
|
1008
|
+
* Combine multiple lists of matches by applying mergeMatch to the cartesian product of two lists of matches.
|
1009
|
+
* Each list represents matches found in one child of a node.
|
1010
|
+
* Returns a list of unique matches.
|
1011
|
+
*/
|
1012
|
+
function mergeChildMatches(childMatches) {
|
1013
|
+
if (childMatches.length === 0) {
|
1014
|
+
return childMatches;
|
1015
|
+
}
|
1016
|
+
var sets = childMatches.reduce(combineChildMatches);
|
1017
|
+
var uniqueSets = [];
|
1018
|
+
var unique = {};
|
1019
|
+
for (var i = 0; i < sets.length; i++) {
|
1020
|
+
var s = JSON.stringify(sets[i]);
|
1021
|
+
if (!unique[s]) {
|
1022
|
+
unique[s] = true;
|
1023
|
+
uniqueSets.push(sets[i]);
|
1024
|
+
}
|
1025
|
+
}
|
1026
|
+
return uniqueSets;
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
/**
|
1030
|
+
* Determines whether node matches rule.
|
1031
|
+
*
|
1032
|
+
* @param {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} rule
|
1033
|
+
* @param {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} node
|
1034
|
+
* @param {Object} context -- provides assumed properties of operators
|
1035
|
+
* @param {Boolean} isSplit -- whether we are in process of splitting an
|
1036
|
+
* n-ary operator node into possible binary combinations.
|
1037
|
+
* Defaults to false.
|
1038
|
+
* @return {Object} Information about the match, if it exists.
|
1039
|
+
*/
|
1040
|
+
function _ruleMatch(rule, node, context, isSplit) {
|
1041
|
+
// console.log('Entering _ruleMatch(' + JSON.stringify(rule) + ', ' + JSON.stringify(node) + ')')
|
1042
|
+
// console.log('rule = ' + rule)
|
1043
|
+
// console.log('node = ' + node)
|
1044
|
+
|
1045
|
+
// console.log('Entering _ruleMatch(', rule.toString({parenthesis:'all'}), ', ', node.toString({parenthesis:'all'}), ', ', context, ')')
|
1046
|
+
var res = [{
|
1047
|
+
placeholders: {}
|
1048
|
+
}];
|
1049
|
+
if (rule instanceof OperatorNode && node instanceof OperatorNode || rule instanceof FunctionNode && node instanceof FunctionNode) {
|
1050
|
+
// If the rule is an OperatorNode or a FunctionNode, then node must match exactly
|
1051
|
+
if (rule instanceof OperatorNode) {
|
1052
|
+
if (rule.op !== node.op || rule.fn !== node.fn) {
|
1053
|
+
return [];
|
1054
|
+
}
|
1055
|
+
} else if (rule instanceof FunctionNode) {
|
1056
|
+
if (rule.name !== node.name) {
|
1057
|
+
return [];
|
1058
|
+
}
|
1059
|
+
}
|
1060
|
+
|
1061
|
+
// rule and node match. Search the children of rule and node.
|
1062
|
+
if (node.args.length === 1 && rule.args.length === 1 || !isAssociative(node, context) && node.args.length === rule.args.length || isSplit) {
|
1063
|
+
// Expect non-associative operators to match exactly,
|
1064
|
+
// except in any order if operator is commutative
|
1065
|
+
var childMatches = [];
|
1066
|
+
for (var i = 0; i < rule.args.length; i++) {
|
1067
|
+
var childMatch = _ruleMatch(rule.args[i], node.args[i], context);
|
1068
|
+
if (childMatch.length === 0) {
|
1069
|
+
// Child did not match, so stop searching immediately
|
1070
|
+
break;
|
1071
|
+
}
|
1072
|
+
// The child matched, so add the information returned from the child to our result
|
1073
|
+
childMatches.push(childMatch);
|
1074
|
+
}
|
1075
|
+
if (childMatches.length !== rule.args.length) {
|
1076
|
+
if (!isCommutative(node, context) ||
|
1077
|
+
// exact match in order needed
|
1078
|
+
rule.args.length === 1) {
|
1079
|
+
// nothing to commute
|
1080
|
+
return [];
|
1081
|
+
}
|
1082
|
+
if (rule.args.length > 2) {
|
1083
|
+
/* Need to generate all permutations and try them.
|
1084
|
+
* It's a bit complicated, and unlikely to come up since there
|
1085
|
+
* are very few ternary or higher operators. So punt for now.
|
1086
|
+
*/
|
1087
|
+
throw new Error('permuting >2 commutative non-associative rule arguments not yet implemented');
|
1088
|
+
}
|
1089
|
+
/* Exactly two arguments, try them reversed */
|
1090
|
+
var leftMatch = _ruleMatch(rule.args[0], node.args[1], context);
|
1091
|
+
if (leftMatch.length === 0) {
|
1092
|
+
return [];
|
1093
|
+
}
|
1094
|
+
var rightMatch = _ruleMatch(rule.args[1], node.args[0], context);
|
1095
|
+
if (rightMatch.length === 0) {
|
1096
|
+
return [];
|
1097
|
+
}
|
1098
|
+
childMatches = [leftMatch, rightMatch];
|
1099
|
+
}
|
1100
|
+
res = mergeChildMatches(childMatches);
|
1101
|
+
} else if (node.args.length >= 2 && rule.args.length === 2) {
|
1102
|
+
// node is flattened, rule is not
|
1103
|
+
// Associative operators/functions can be split in different ways so we check if the rule
|
1104
|
+
// matches for each of them and return their union.
|
1105
|
+
var splits = getSplits(node, context);
|
1106
|
+
var splitMatches = [];
|
1107
|
+
for (var _i3 = 0; _i3 < splits.length; _i3++) {
|
1108
|
+
var matchSet = _ruleMatch(rule, splits[_i3], context, true); // recursing at the same tree depth here
|
1109
|
+
splitMatches = splitMatches.concat(matchSet);
|
1110
|
+
}
|
1111
|
+
return splitMatches;
|
1112
|
+
} else if (rule.args.length > 2) {
|
1113
|
+
throw Error('Unexpected non-binary associative function: ' + rule.toString());
|
1114
|
+
} else {
|
1115
|
+
// Incorrect number of arguments in rule and node, so no match
|
1116
|
+
return [];
|
1117
|
+
}
|
1118
|
+
} else if (rule instanceof SymbolNode) {
|
1119
|
+
// If the rule is a SymbolNode, then it carries a special meaning
|
1120
|
+
// according to the first one or two characters of the symbol node name.
|
1121
|
+
// These meanings are expalined in the documentation for simplify()
|
1122
|
+
if (rule.name.length === 0) {
|
1123
|
+
throw new Error('Symbol in rule has 0 length...!?');
|
1124
|
+
}
|
1125
|
+
if (SUPPORTED_CONSTANTS[rule.name]) {
|
1126
|
+
// built-in constant must match exactly
|
1127
|
+
if (rule.name !== node.name) {
|
1128
|
+
return [];
|
1129
|
+
}
|
1130
|
+
} else {
|
1131
|
+
// wildcards are composed of up to two alphabetic or underscore characters
|
1132
|
+
switch (rule.name[1] >= 'a' && rule.name[1] <= 'z' ? rule.name.substring(0, 2) : rule.name[0]) {
|
1133
|
+
case 'n':
|
1134
|
+
case '_p':
|
1135
|
+
// rule matches _anything_, so assign this node to the rule.name placeholder
|
1136
|
+
// Assign node to the rule.name placeholder.
|
1137
|
+
// Our parent will check for matches among placeholders.
|
1138
|
+
res[0].placeholders[rule.name] = node;
|
1139
|
+
break;
|
1140
|
+
case 'c':
|
1141
|
+
case 'cl':
|
1142
|
+
// rule matches a ConstantNode
|
1143
|
+
if ((0, _wildcards.isConstantNode)(node)) {
|
1144
|
+
res[0].placeholders[rule.name] = node;
|
1145
|
+
} else {
|
1146
|
+
// mis-match: rule does not encompass current node
|
1147
|
+
return [];
|
1148
|
+
}
|
1149
|
+
break;
|
1150
|
+
case 'v':
|
1151
|
+
// rule matches anything other than a ConstantNode
|
1152
|
+
if (!(0, _wildcards.isConstantNode)(node)) {
|
1153
|
+
res[0].placeholders[rule.name] = node;
|
1154
|
+
} else {
|
1155
|
+
// mis-match: rule does not encompass current node
|
1156
|
+
return [];
|
1157
|
+
}
|
1158
|
+
break;
|
1159
|
+
case 'vl':
|
1160
|
+
// rule matches VariableNode
|
1161
|
+
if ((0, _wildcards.isVariableNode)(node)) {
|
1162
|
+
res[0].placeholders[rule.name] = node;
|
1163
|
+
} else {
|
1164
|
+
// mis-match: rule does not encompass current node
|
1165
|
+
return [];
|
1166
|
+
}
|
1167
|
+
break;
|
1168
|
+
case 'cd':
|
1169
|
+
// rule matches a ConstantNode or unaryMinus-wrapped ConstantNode
|
1170
|
+
if ((0, _wildcards.isNumericNode)(node)) {
|
1171
|
+
res[0].placeholders[rule.name] = node;
|
1172
|
+
} else {
|
1173
|
+
// mis-match: rule does not encompass current node
|
1174
|
+
return [];
|
1175
|
+
}
|
1176
|
+
break;
|
1177
|
+
case 'vd':
|
1178
|
+
// rule matches anything other than a ConstantNode or unaryMinus-wrapped ConstantNode
|
1179
|
+
if (!(0, _wildcards.isNumericNode)(node)) {
|
1180
|
+
res[0].placeholders[rule.name] = node;
|
1181
|
+
} else {
|
1182
|
+
// mis-match: rule does not encompass current node
|
1183
|
+
return [];
|
1184
|
+
}
|
1185
|
+
break;
|
1186
|
+
case 'ce':
|
1187
|
+
// rule matches expressions that have a constant value
|
1188
|
+
if ((0, _wildcards.isConstantExpression)(node)) {
|
1189
|
+
res[0].placeholders[rule.name] = node;
|
1190
|
+
} else {
|
1191
|
+
// mis-match: rule does not encompass current node
|
1192
|
+
return [];
|
1193
|
+
}
|
1194
|
+
break;
|
1195
|
+
case 've':
|
1196
|
+
// rule matches expressions that do not have a constant value
|
1197
|
+
if (!(0, _wildcards.isConstantExpression)(node)) {
|
1198
|
+
res[0].placeholders[rule.name] = node;
|
1199
|
+
} else {
|
1200
|
+
// mis-match: rule does not encompass current node
|
1201
|
+
return [];
|
1202
|
+
}
|
1203
|
+
break;
|
1204
|
+
default:
|
1205
|
+
throw new Error('Invalid symbol in rule: ' + rule.name);
|
1206
|
+
}
|
1207
|
+
}
|
1208
|
+
} else if (rule instanceof ConstantNode) {
|
1209
|
+
// Literal constant must match exactly
|
1210
|
+
if (!equal(rule.value, node.value)) {
|
1211
|
+
return [];
|
1212
|
+
}
|
1213
|
+
} else {
|
1214
|
+
// Some other node was encountered which we aren't prepared for, so no match
|
1215
|
+
return [];
|
1216
|
+
}
|
1217
|
+
|
1218
|
+
// It's a match!
|
1219
|
+
|
1220
|
+
// console.log('_ruleMatch(' + rule.toString() + ', ' + node.toString() + ') found a match')
|
1221
|
+
return res;
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
/**
|
1225
|
+
* Determines whether p and q (and all their children nodes) are identical.
|
1226
|
+
*
|
1227
|
+
* @param {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} p
|
1228
|
+
* @param {ConstantNode | SymbolNode | ParenthesisNode | FunctionNode | OperatorNode} q
|
1229
|
+
* @return {Object} Information about the match, if it exists.
|
1230
|
+
*/
|
1231
|
+
function _exactMatch(p, q) {
|
1232
|
+
if (p instanceof ConstantNode && q instanceof ConstantNode) {
|
1233
|
+
if (!equal(p.value, q.value)) {
|
1234
|
+
return false;
|
1235
|
+
}
|
1236
|
+
} else if (p instanceof SymbolNode && q instanceof SymbolNode) {
|
1237
|
+
if (p.name !== q.name) {
|
1238
|
+
return false;
|
1239
|
+
}
|
1240
|
+
} else if (p instanceof OperatorNode && q instanceof OperatorNode || p instanceof FunctionNode && q instanceof FunctionNode) {
|
1241
|
+
if (p instanceof OperatorNode) {
|
1242
|
+
if (p.op !== q.op || p.fn !== q.fn) {
|
1243
|
+
return false;
|
1244
|
+
}
|
1245
|
+
} else if (p instanceof FunctionNode) {
|
1246
|
+
if (p.name !== q.name) {
|
1247
|
+
return false;
|
1248
|
+
}
|
1249
|
+
}
|
1250
|
+
if (p.args.length !== q.args.length) {
|
1251
|
+
return false;
|
1252
|
+
}
|
1253
|
+
for (var i = 0; i < p.args.length; i++) {
|
1254
|
+
if (!_exactMatch(p.args[i], q.args[i])) {
|
1255
|
+
return false;
|
1256
|
+
}
|
1257
|
+
}
|
1258
|
+
} else {
|
1259
|
+
return false;
|
1260
|
+
}
|
1261
|
+
return true;
|
1262
|
+
}
|
1263
|
+
return simplify;
|
1264
|
+
});
|
1265
|
+
exports.createSimplify = createSimplify;
|