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,1486 @@
|
|
1
|
+
import { isArray, isBigNumber, isCollection, isIndex, isMatrix, isNumber, isString, typeOf } from '../../utils/is.js';
|
2
|
+
import { isInteger } from '../../utils/number.js';
|
3
|
+
import { format } from '../../utils/string.js';
|
4
|
+
import { clone, deepStrictEqual } from '../../utils/object.js';
|
5
|
+
import { arraySize, getArrayDataType, processSizesWildcard, unsqueeze, validateIndex } from '../../utils/array.js';
|
6
|
+
import { factory } from '../../utils/factory.js';
|
7
|
+
import { DimensionError } from '../../error/DimensionError.js';
|
8
|
+
import { maxArgumentCount } from '../../utils/function.js';
|
9
|
+
var name = 'SparseMatrix';
|
10
|
+
var dependencies = ['typed', 'equalScalar', 'Matrix'];
|
11
|
+
export var createSparseMatrixClass = /* #__PURE__ */factory(name, dependencies, _ref => {
|
12
|
+
var {
|
13
|
+
typed,
|
14
|
+
equalScalar,
|
15
|
+
Matrix
|
16
|
+
} = _ref;
|
17
|
+
/**
|
18
|
+
* Sparse Matrix implementation. This type implements
|
19
|
+
* a [Compressed Column Storage](https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_column_(CSC_or_CCS))
|
20
|
+
* format for two-dimensional sparse matrices.
|
21
|
+
* @class SparseMatrix
|
22
|
+
*/
|
23
|
+
function SparseMatrix(data, datatype) {
|
24
|
+
if (!(this instanceof SparseMatrix)) {
|
25
|
+
throw new SyntaxError('Constructor must be called with the new operator');
|
26
|
+
}
|
27
|
+
if (datatype && !isString(datatype)) {
|
28
|
+
throw new Error('Invalid datatype: ' + datatype);
|
29
|
+
}
|
30
|
+
if (isMatrix(data)) {
|
31
|
+
// create from matrix
|
32
|
+
_createFromMatrix(this, data, datatype);
|
33
|
+
} else if (data && isArray(data.index) && isArray(data.ptr) && isArray(data.size)) {
|
34
|
+
// initialize fields
|
35
|
+
this._values = data.values;
|
36
|
+
this._index = data.index;
|
37
|
+
this._ptr = data.ptr;
|
38
|
+
this._size = data.size;
|
39
|
+
this._datatype = datatype || data.datatype;
|
40
|
+
} else if (isArray(data)) {
|
41
|
+
// create from array
|
42
|
+
_createFromArray(this, data, datatype);
|
43
|
+
} else if (data) {
|
44
|
+
// unsupported type
|
45
|
+
throw new TypeError('Unsupported type of data (' + typeOf(data) + ')');
|
46
|
+
} else {
|
47
|
+
// nothing provided
|
48
|
+
this._values = [];
|
49
|
+
this._index = [];
|
50
|
+
this._ptr = [0];
|
51
|
+
this._size = [0, 0];
|
52
|
+
this._datatype = datatype;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
function _createFromMatrix(matrix, source, datatype) {
|
56
|
+
// check matrix type
|
57
|
+
if (source.type === 'SparseMatrix') {
|
58
|
+
// clone arrays
|
59
|
+
matrix._values = source._values ? clone(source._values) : undefined;
|
60
|
+
matrix._index = clone(source._index);
|
61
|
+
matrix._ptr = clone(source._ptr);
|
62
|
+
matrix._size = clone(source._size);
|
63
|
+
matrix._datatype = datatype || source._datatype;
|
64
|
+
} else {
|
65
|
+
// build from matrix data
|
66
|
+
_createFromArray(matrix, source.valueOf(), datatype || source._datatype);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
function _createFromArray(matrix, data, datatype) {
|
70
|
+
// initialize fields
|
71
|
+
matrix._values = [];
|
72
|
+
matrix._index = [];
|
73
|
+
matrix._ptr = [];
|
74
|
+
matrix._datatype = datatype;
|
75
|
+
// discover rows & columns, do not use math.size() to avoid looping array twice
|
76
|
+
var rows = data.length;
|
77
|
+
var columns = 0;
|
78
|
+
|
79
|
+
// equal signature to use
|
80
|
+
var eq = equalScalar;
|
81
|
+
// zero value
|
82
|
+
var zero = 0;
|
83
|
+
if (isString(datatype)) {
|
84
|
+
// find signature that matches (datatype, datatype)
|
85
|
+
eq = typed.find(equalScalar, [datatype, datatype]) || equalScalar;
|
86
|
+
// convert 0 to the same datatype
|
87
|
+
zero = typed.convert(0, datatype);
|
88
|
+
}
|
89
|
+
|
90
|
+
// check we have rows (empty array)
|
91
|
+
if (rows > 0) {
|
92
|
+
// column index
|
93
|
+
var j = 0;
|
94
|
+
do {
|
95
|
+
// store pointer to values index
|
96
|
+
matrix._ptr.push(matrix._index.length);
|
97
|
+
// loop rows
|
98
|
+
for (var i = 0; i < rows; i++) {
|
99
|
+
// current row
|
100
|
+
var row = data[i];
|
101
|
+
// check row is an array
|
102
|
+
if (isArray(row)) {
|
103
|
+
// update columns if needed (only on first column)
|
104
|
+
if (j === 0 && columns < row.length) {
|
105
|
+
columns = row.length;
|
106
|
+
}
|
107
|
+
// check row has column
|
108
|
+
if (j < row.length) {
|
109
|
+
// value
|
110
|
+
var v = row[j];
|
111
|
+
// check value != 0
|
112
|
+
if (!eq(v, zero)) {
|
113
|
+
// store value
|
114
|
+
matrix._values.push(v);
|
115
|
+
// index
|
116
|
+
matrix._index.push(i);
|
117
|
+
}
|
118
|
+
}
|
119
|
+
} else {
|
120
|
+
// update columns if needed (only on first column)
|
121
|
+
if (j === 0 && columns < 1) {
|
122
|
+
columns = 1;
|
123
|
+
}
|
124
|
+
// check value != 0 (row is a scalar)
|
125
|
+
if (!eq(row, zero)) {
|
126
|
+
// store value
|
127
|
+
matrix._values.push(row);
|
128
|
+
// index
|
129
|
+
matrix._index.push(i);
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
// increment index
|
134
|
+
j++;
|
135
|
+
} while (j < columns);
|
136
|
+
}
|
137
|
+
// store number of values in ptr
|
138
|
+
matrix._ptr.push(matrix._index.length);
|
139
|
+
// size
|
140
|
+
matrix._size = [rows, columns];
|
141
|
+
}
|
142
|
+
SparseMatrix.prototype = new Matrix();
|
143
|
+
|
144
|
+
/**
|
145
|
+
* Create a new SparseMatrix
|
146
|
+
*/
|
147
|
+
SparseMatrix.prototype.createSparseMatrix = function (data, datatype) {
|
148
|
+
return new SparseMatrix(data, datatype);
|
149
|
+
};
|
150
|
+
|
151
|
+
/**
|
152
|
+
* Attach type information
|
153
|
+
*/
|
154
|
+
Object.defineProperty(SparseMatrix, 'name', {
|
155
|
+
value: 'SparseMatrix'
|
156
|
+
});
|
157
|
+
SparseMatrix.prototype.constructor = SparseMatrix;
|
158
|
+
SparseMatrix.prototype.type = 'SparseMatrix';
|
159
|
+
SparseMatrix.prototype.isSparseMatrix = true;
|
160
|
+
|
161
|
+
/**
|
162
|
+
* Get the matrix type
|
163
|
+
*
|
164
|
+
* Usage:
|
165
|
+
* const matrixType = matrix.getDataType() // retrieves the matrix type
|
166
|
+
*
|
167
|
+
* @memberOf SparseMatrix
|
168
|
+
* @return {string} type information; if multiple types are found from the Matrix, it will return "mixed"
|
169
|
+
*/
|
170
|
+
SparseMatrix.prototype.getDataType = function () {
|
171
|
+
return getArrayDataType(this._values, typeOf);
|
172
|
+
};
|
173
|
+
|
174
|
+
/**
|
175
|
+
* Get the storage format used by the matrix.
|
176
|
+
*
|
177
|
+
* Usage:
|
178
|
+
* const format = matrix.storage() // retrieve storage format
|
179
|
+
*
|
180
|
+
* @memberof SparseMatrix
|
181
|
+
* @return {string} The storage format.
|
182
|
+
*/
|
183
|
+
SparseMatrix.prototype.storage = function () {
|
184
|
+
return 'sparse';
|
185
|
+
};
|
186
|
+
|
187
|
+
/**
|
188
|
+
* Get the datatype of the data stored in the matrix.
|
189
|
+
*
|
190
|
+
* Usage:
|
191
|
+
* const format = matrix.datatype() // retrieve matrix datatype
|
192
|
+
*
|
193
|
+
* @memberof SparseMatrix
|
194
|
+
* @return {string} The datatype.
|
195
|
+
*/
|
196
|
+
SparseMatrix.prototype.datatype = function () {
|
197
|
+
return this._datatype;
|
198
|
+
};
|
199
|
+
|
200
|
+
/**
|
201
|
+
* Create a new SparseMatrix
|
202
|
+
* @memberof SparseMatrix
|
203
|
+
* @param {Array} data
|
204
|
+
* @param {string} [datatype]
|
205
|
+
*/
|
206
|
+
SparseMatrix.prototype.create = function (data, datatype) {
|
207
|
+
return new SparseMatrix(data, datatype);
|
208
|
+
};
|
209
|
+
|
210
|
+
/**
|
211
|
+
* Get the matrix density.
|
212
|
+
*
|
213
|
+
* Usage:
|
214
|
+
* const density = matrix.density() // retrieve matrix density
|
215
|
+
*
|
216
|
+
* @memberof SparseMatrix
|
217
|
+
* @return {number} The matrix density.
|
218
|
+
*/
|
219
|
+
SparseMatrix.prototype.density = function () {
|
220
|
+
// rows & columns
|
221
|
+
var rows = this._size[0];
|
222
|
+
var columns = this._size[1];
|
223
|
+
// calculate density
|
224
|
+
return rows !== 0 && columns !== 0 ? this._index.length / (rows * columns) : 0;
|
225
|
+
};
|
226
|
+
|
227
|
+
/**
|
228
|
+
* Get a subset of the matrix, or replace a subset of the matrix.
|
229
|
+
*
|
230
|
+
* Usage:
|
231
|
+
* const subset = matrix.subset(index) // retrieve subset
|
232
|
+
* const value = matrix.subset(index, replacement) // replace subset
|
233
|
+
*
|
234
|
+
* @memberof SparseMatrix
|
235
|
+
* @param {Index} index
|
236
|
+
* @param {Array | Matrix | *} [replacement]
|
237
|
+
* @param {*} [defaultValue=0] Default value, filled in on new entries when
|
238
|
+
* the matrix is resized. If not provided,
|
239
|
+
* new matrix elements will be filled with zeros.
|
240
|
+
*/
|
241
|
+
SparseMatrix.prototype.subset = function (index, replacement, defaultValue) {
|
242
|
+
// check it is a pattern matrix
|
243
|
+
if (!this._values) {
|
244
|
+
throw new Error('Cannot invoke subset on a Pattern only matrix');
|
245
|
+
}
|
246
|
+
|
247
|
+
// check arguments
|
248
|
+
switch (arguments.length) {
|
249
|
+
case 1:
|
250
|
+
return _getsubset(this, index);
|
251
|
+
|
252
|
+
// intentional fall through
|
253
|
+
case 2:
|
254
|
+
case 3:
|
255
|
+
return _setsubset(this, index, replacement, defaultValue);
|
256
|
+
default:
|
257
|
+
throw new SyntaxError('Wrong number of arguments');
|
258
|
+
}
|
259
|
+
};
|
260
|
+
function _getsubset(matrix, idx) {
|
261
|
+
// check idx
|
262
|
+
if (!isIndex(idx)) {
|
263
|
+
throw new TypeError('Invalid index');
|
264
|
+
}
|
265
|
+
var isScalar = idx.isScalar();
|
266
|
+
if (isScalar) {
|
267
|
+
// return a scalar
|
268
|
+
return matrix.get(idx.min());
|
269
|
+
}
|
270
|
+
// validate dimensions
|
271
|
+
var size = idx.size();
|
272
|
+
if (size.length !== matrix._size.length) {
|
273
|
+
throw new DimensionError(size.length, matrix._size.length);
|
274
|
+
}
|
275
|
+
|
276
|
+
// vars
|
277
|
+
var i, ii, k, kk;
|
278
|
+
|
279
|
+
// validate if any of the ranges in the index is out of range
|
280
|
+
var min = idx.min();
|
281
|
+
var max = idx.max();
|
282
|
+
for (i = 0, ii = matrix._size.length; i < ii; i++) {
|
283
|
+
validateIndex(min[i], matrix._size[i]);
|
284
|
+
validateIndex(max[i], matrix._size[i]);
|
285
|
+
}
|
286
|
+
|
287
|
+
// matrix arrays
|
288
|
+
var mvalues = matrix._values;
|
289
|
+
var mindex = matrix._index;
|
290
|
+
var mptr = matrix._ptr;
|
291
|
+
|
292
|
+
// rows & columns dimensions for result matrix
|
293
|
+
var rows = idx.dimension(0);
|
294
|
+
var columns = idx.dimension(1);
|
295
|
+
|
296
|
+
// workspace & permutation vector
|
297
|
+
var w = [];
|
298
|
+
var pv = [];
|
299
|
+
|
300
|
+
// loop rows in resulting matrix
|
301
|
+
rows.forEach(function (i, r) {
|
302
|
+
// update permutation vector
|
303
|
+
pv[i] = r[0];
|
304
|
+
// mark i in workspace
|
305
|
+
w[i] = true;
|
306
|
+
});
|
307
|
+
|
308
|
+
// result matrix arrays
|
309
|
+
var values = mvalues ? [] : undefined;
|
310
|
+
var index = [];
|
311
|
+
var ptr = [];
|
312
|
+
|
313
|
+
// loop columns in result matrix
|
314
|
+
columns.forEach(function (j) {
|
315
|
+
// update ptr
|
316
|
+
ptr.push(index.length);
|
317
|
+
// loop values in column j
|
318
|
+
for (k = mptr[j], kk = mptr[j + 1]; k < kk; k++) {
|
319
|
+
// row
|
320
|
+
i = mindex[k];
|
321
|
+
// check row is in result matrix
|
322
|
+
if (w[i] === true) {
|
323
|
+
// push index
|
324
|
+
index.push(pv[i]);
|
325
|
+
// check we need to process values
|
326
|
+
if (values) {
|
327
|
+
values.push(mvalues[k]);
|
328
|
+
}
|
329
|
+
}
|
330
|
+
}
|
331
|
+
});
|
332
|
+
// update ptr
|
333
|
+
ptr.push(index.length);
|
334
|
+
|
335
|
+
// return matrix
|
336
|
+
return new SparseMatrix({
|
337
|
+
values,
|
338
|
+
index,
|
339
|
+
ptr,
|
340
|
+
size,
|
341
|
+
datatype: matrix._datatype
|
342
|
+
});
|
343
|
+
}
|
344
|
+
function _setsubset(matrix, index, submatrix, defaultValue) {
|
345
|
+
// check index
|
346
|
+
if (!index || index.isIndex !== true) {
|
347
|
+
throw new TypeError('Invalid index');
|
348
|
+
}
|
349
|
+
|
350
|
+
// get index size and check whether the index contains a single value
|
351
|
+
var iSize = index.size();
|
352
|
+
var isScalar = index.isScalar();
|
353
|
+
|
354
|
+
// calculate the size of the submatrix, and convert it into an Array if needed
|
355
|
+
var sSize;
|
356
|
+
if (isMatrix(submatrix)) {
|
357
|
+
// submatrix size
|
358
|
+
sSize = submatrix.size();
|
359
|
+
// use array representation
|
360
|
+
submatrix = submatrix.toArray();
|
361
|
+
} else {
|
362
|
+
// get submatrix size (array, scalar)
|
363
|
+
sSize = arraySize(submatrix);
|
364
|
+
}
|
365
|
+
|
366
|
+
// check index is a scalar
|
367
|
+
if (isScalar) {
|
368
|
+
// verify submatrix is a scalar
|
369
|
+
if (sSize.length !== 0) {
|
370
|
+
throw new TypeError('Scalar expected');
|
371
|
+
}
|
372
|
+
// set value
|
373
|
+
matrix.set(index.min(), submatrix, defaultValue);
|
374
|
+
} else {
|
375
|
+
// validate dimensions, index size must be one or two dimensions
|
376
|
+
if (iSize.length !== 1 && iSize.length !== 2) {
|
377
|
+
throw new DimensionError(iSize.length, matrix._size.length, '<');
|
378
|
+
}
|
379
|
+
|
380
|
+
// check submatrix and index have the same dimensions
|
381
|
+
if (sSize.length < iSize.length) {
|
382
|
+
// calculate number of missing outer dimensions
|
383
|
+
var i = 0;
|
384
|
+
var outer = 0;
|
385
|
+
while (iSize[i] === 1 && sSize[i] === 1) {
|
386
|
+
i++;
|
387
|
+
}
|
388
|
+
while (iSize[i] === 1) {
|
389
|
+
outer++;
|
390
|
+
i++;
|
391
|
+
}
|
392
|
+
// unsqueeze both outer and inner dimensions
|
393
|
+
submatrix = unsqueeze(submatrix, iSize.length, outer, sSize);
|
394
|
+
}
|
395
|
+
|
396
|
+
// check whether the size of the submatrix matches the index size
|
397
|
+
if (!deepStrictEqual(iSize, sSize)) {
|
398
|
+
throw new DimensionError(iSize, sSize, '>');
|
399
|
+
}
|
400
|
+
|
401
|
+
// insert the sub matrix
|
402
|
+
if (iSize.length === 1) {
|
403
|
+
// if the replacement index only has 1 dimension, go trough each one and set its value
|
404
|
+
var range = index.dimension(0);
|
405
|
+
range.forEach(function (dataIndex, subIndex) {
|
406
|
+
validateIndex(dataIndex);
|
407
|
+
matrix.set([dataIndex, 0], submatrix[subIndex[0]], defaultValue);
|
408
|
+
});
|
409
|
+
} else {
|
410
|
+
// if the replacement index has 2 dimensions, go through each one and set the value in the correct index
|
411
|
+
var firstDimensionRange = index.dimension(0);
|
412
|
+
var secondDimensionRange = index.dimension(1);
|
413
|
+
firstDimensionRange.forEach(function (firstDataIndex, firstSubIndex) {
|
414
|
+
validateIndex(firstDataIndex);
|
415
|
+
secondDimensionRange.forEach(function (secondDataIndex, secondSubIndex) {
|
416
|
+
validateIndex(secondDataIndex);
|
417
|
+
matrix.set([firstDataIndex, secondDataIndex], submatrix[firstSubIndex[0]][secondSubIndex[0]], defaultValue);
|
418
|
+
});
|
419
|
+
});
|
420
|
+
}
|
421
|
+
}
|
422
|
+
return matrix;
|
423
|
+
}
|
424
|
+
|
425
|
+
/**
|
426
|
+
* Get a single element from the matrix.
|
427
|
+
* @memberof SparseMatrix
|
428
|
+
* @param {number[]} index Zero-based index
|
429
|
+
* @return {*} value
|
430
|
+
*/
|
431
|
+
SparseMatrix.prototype.get = function (index) {
|
432
|
+
if (!isArray(index)) {
|
433
|
+
throw new TypeError('Array expected');
|
434
|
+
}
|
435
|
+
if (index.length !== this._size.length) {
|
436
|
+
throw new DimensionError(index.length, this._size.length);
|
437
|
+
}
|
438
|
+
|
439
|
+
// check it is a pattern matrix
|
440
|
+
if (!this._values) {
|
441
|
+
throw new Error('Cannot invoke get on a Pattern only matrix');
|
442
|
+
}
|
443
|
+
|
444
|
+
// row and column
|
445
|
+
var i = index[0];
|
446
|
+
var j = index[1];
|
447
|
+
|
448
|
+
// check i, j are valid
|
449
|
+
validateIndex(i, this._size[0]);
|
450
|
+
validateIndex(j, this._size[1]);
|
451
|
+
|
452
|
+
// find value index
|
453
|
+
var k = _getValueIndex(i, this._ptr[j], this._ptr[j + 1], this._index);
|
454
|
+
// check k is prior to next column k and it is in the correct row
|
455
|
+
if (k < this._ptr[j + 1] && this._index[k] === i) {
|
456
|
+
return this._values[k];
|
457
|
+
}
|
458
|
+
return 0;
|
459
|
+
};
|
460
|
+
|
461
|
+
/**
|
462
|
+
* Replace a single element in the matrix.
|
463
|
+
* @memberof SparseMatrix
|
464
|
+
* @param {number[]} index Zero-based index
|
465
|
+
* @param {*} v
|
466
|
+
* @param {*} [defaultValue] Default value, filled in on new entries when
|
467
|
+
* the matrix is resized. If not provided,
|
468
|
+
* new matrix elements will be set to zero.
|
469
|
+
* @return {SparseMatrix} self
|
470
|
+
*/
|
471
|
+
SparseMatrix.prototype.set = function (index, v, defaultValue) {
|
472
|
+
if (!isArray(index)) {
|
473
|
+
throw new TypeError('Array expected');
|
474
|
+
}
|
475
|
+
if (index.length !== this._size.length) {
|
476
|
+
throw new DimensionError(index.length, this._size.length);
|
477
|
+
}
|
478
|
+
|
479
|
+
// check it is a pattern matrix
|
480
|
+
if (!this._values) {
|
481
|
+
throw new Error('Cannot invoke set on a Pattern only matrix');
|
482
|
+
}
|
483
|
+
|
484
|
+
// row and column
|
485
|
+
var i = index[0];
|
486
|
+
var j = index[1];
|
487
|
+
|
488
|
+
// rows & columns
|
489
|
+
var rows = this._size[0];
|
490
|
+
var columns = this._size[1];
|
491
|
+
|
492
|
+
// equal signature to use
|
493
|
+
var eq = equalScalar;
|
494
|
+
// zero value
|
495
|
+
var zero = 0;
|
496
|
+
if (isString(this._datatype)) {
|
497
|
+
// find signature that matches (datatype, datatype)
|
498
|
+
eq = typed.find(equalScalar, [this._datatype, this._datatype]) || equalScalar;
|
499
|
+
// convert 0 to the same datatype
|
500
|
+
zero = typed.convert(0, this._datatype);
|
501
|
+
}
|
502
|
+
|
503
|
+
// check we need to resize matrix
|
504
|
+
if (i > rows - 1 || j > columns - 1) {
|
505
|
+
// resize matrix
|
506
|
+
_resize(this, Math.max(i + 1, rows), Math.max(j + 1, columns), defaultValue);
|
507
|
+
// update rows & columns
|
508
|
+
rows = this._size[0];
|
509
|
+
columns = this._size[1];
|
510
|
+
}
|
511
|
+
|
512
|
+
// check i, j are valid
|
513
|
+
validateIndex(i, rows);
|
514
|
+
validateIndex(j, columns);
|
515
|
+
|
516
|
+
// find value index
|
517
|
+
var k = _getValueIndex(i, this._ptr[j], this._ptr[j + 1], this._index);
|
518
|
+
// check k is prior to next column k and it is in the correct row
|
519
|
+
if (k < this._ptr[j + 1] && this._index[k] === i) {
|
520
|
+
// check value != 0
|
521
|
+
if (!eq(v, zero)) {
|
522
|
+
// update value
|
523
|
+
this._values[k] = v;
|
524
|
+
} else {
|
525
|
+
// remove value from matrix
|
526
|
+
_remove(k, j, this._values, this._index, this._ptr);
|
527
|
+
}
|
528
|
+
} else {
|
529
|
+
if (!eq(v, zero)) {
|
530
|
+
// insert value @ (i, j)
|
531
|
+
_insert(k, i, j, v, this._values, this._index, this._ptr);
|
532
|
+
}
|
533
|
+
}
|
534
|
+
return this;
|
535
|
+
};
|
536
|
+
function _getValueIndex(i, top, bottom, index) {
|
537
|
+
// check row is on the bottom side
|
538
|
+
if (bottom - top === 0) {
|
539
|
+
return bottom;
|
540
|
+
}
|
541
|
+
// loop rows [top, bottom[
|
542
|
+
for (var r = top; r < bottom; r++) {
|
543
|
+
// check we found value index
|
544
|
+
if (index[r] === i) {
|
545
|
+
return r;
|
546
|
+
}
|
547
|
+
}
|
548
|
+
// we did not find row
|
549
|
+
return top;
|
550
|
+
}
|
551
|
+
function _remove(k, j, values, index, ptr) {
|
552
|
+
// remove value @ k
|
553
|
+
values.splice(k, 1);
|
554
|
+
index.splice(k, 1);
|
555
|
+
// update pointers
|
556
|
+
for (var x = j + 1; x < ptr.length; x++) {
|
557
|
+
ptr[x]--;
|
558
|
+
}
|
559
|
+
}
|
560
|
+
function _insert(k, i, j, v, values, index, ptr) {
|
561
|
+
// insert value
|
562
|
+
values.splice(k, 0, v);
|
563
|
+
// update row for k
|
564
|
+
index.splice(k, 0, i);
|
565
|
+
// update column pointers
|
566
|
+
for (var x = j + 1; x < ptr.length; x++) {
|
567
|
+
ptr[x]++;
|
568
|
+
}
|
569
|
+
}
|
570
|
+
|
571
|
+
/**
|
572
|
+
* Resize the matrix to the given size. Returns a copy of the matrix when
|
573
|
+
* `copy=true`, otherwise return the matrix itself (resize in place).
|
574
|
+
*
|
575
|
+
* @memberof SparseMatrix
|
576
|
+
* @param {number[] | Matrix} size The new size the matrix should have.
|
577
|
+
* Since sparse matrices are always two-dimensional,
|
578
|
+
* size must be two numbers in either an array or a matrix
|
579
|
+
* @param {*} [defaultValue=0] Default value, filled in on new entries.
|
580
|
+
* If not provided, the matrix elements will
|
581
|
+
* be filled with zeros.
|
582
|
+
* @param {boolean} [copy] Return a resized copy of the matrix
|
583
|
+
*
|
584
|
+
* @return {Matrix} The resized matrix
|
585
|
+
*/
|
586
|
+
SparseMatrix.prototype.resize = function (size, defaultValue, copy) {
|
587
|
+
// validate arguments
|
588
|
+
if (!isCollection(size)) {
|
589
|
+
throw new TypeError('Array or Matrix expected');
|
590
|
+
}
|
591
|
+
|
592
|
+
// SparseMatrix input is always 2d, flatten this into 1d if it's indeed a vector
|
593
|
+
var sizeArray = size.valueOf().map(value => {
|
594
|
+
return Array.isArray(value) && value.length === 1 ? value[0] : value;
|
595
|
+
});
|
596
|
+
if (sizeArray.length !== 2) {
|
597
|
+
throw new Error('Only two dimensions matrix are supported');
|
598
|
+
}
|
599
|
+
|
600
|
+
// check sizes
|
601
|
+
sizeArray.forEach(function (value) {
|
602
|
+
if (!isNumber(value) || !isInteger(value) || value < 0) {
|
603
|
+
throw new TypeError('Invalid size, must contain positive integers ' + '(size: ' + format(sizeArray) + ')');
|
604
|
+
}
|
605
|
+
});
|
606
|
+
|
607
|
+
// matrix to resize
|
608
|
+
var m = copy ? this.clone() : this;
|
609
|
+
// resize matrix
|
610
|
+
return _resize(m, sizeArray[0], sizeArray[1], defaultValue);
|
611
|
+
};
|
612
|
+
function _resize(matrix, rows, columns, defaultValue) {
|
613
|
+
// value to insert at the time of growing matrix
|
614
|
+
var value = defaultValue || 0;
|
615
|
+
|
616
|
+
// equal signature to use
|
617
|
+
var eq = equalScalar;
|
618
|
+
// zero value
|
619
|
+
var zero = 0;
|
620
|
+
if (isString(matrix._datatype)) {
|
621
|
+
// find signature that matches (datatype, datatype)
|
622
|
+
eq = typed.find(equalScalar, [matrix._datatype, matrix._datatype]) || equalScalar;
|
623
|
+
// convert 0 to the same datatype
|
624
|
+
zero = typed.convert(0, matrix._datatype);
|
625
|
+
// convert value to the same datatype
|
626
|
+
value = typed.convert(value, matrix._datatype);
|
627
|
+
}
|
628
|
+
|
629
|
+
// should we insert the value?
|
630
|
+
var ins = !eq(value, zero);
|
631
|
+
|
632
|
+
// old columns and rows
|
633
|
+
var r = matrix._size[0];
|
634
|
+
var c = matrix._size[1];
|
635
|
+
var i, j, k;
|
636
|
+
|
637
|
+
// check we need to increase columns
|
638
|
+
if (columns > c) {
|
639
|
+
// loop new columns
|
640
|
+
for (j = c; j < columns; j++) {
|
641
|
+
// update matrix._ptr for current column
|
642
|
+
matrix._ptr[j] = matrix._values.length;
|
643
|
+
// check we need to insert matrix._values
|
644
|
+
if (ins) {
|
645
|
+
// loop rows
|
646
|
+
for (i = 0; i < r; i++) {
|
647
|
+
// add new matrix._values
|
648
|
+
matrix._values.push(value);
|
649
|
+
// update matrix._index
|
650
|
+
matrix._index.push(i);
|
651
|
+
}
|
652
|
+
}
|
653
|
+
}
|
654
|
+
// store number of matrix._values in matrix._ptr
|
655
|
+
matrix._ptr[columns] = matrix._values.length;
|
656
|
+
} else if (columns < c) {
|
657
|
+
// truncate matrix._ptr
|
658
|
+
matrix._ptr.splice(columns + 1, c - columns);
|
659
|
+
// truncate matrix._values and matrix._index
|
660
|
+
matrix._values.splice(matrix._ptr[columns], matrix._values.length);
|
661
|
+
matrix._index.splice(matrix._ptr[columns], matrix._index.length);
|
662
|
+
}
|
663
|
+
// update columns
|
664
|
+
c = columns;
|
665
|
+
|
666
|
+
// check we need to increase rows
|
667
|
+
if (rows > r) {
|
668
|
+
// check we have to insert values
|
669
|
+
if (ins) {
|
670
|
+
// inserts
|
671
|
+
var n = 0;
|
672
|
+
// loop columns
|
673
|
+
for (j = 0; j < c; j++) {
|
674
|
+
// update matrix._ptr for current column
|
675
|
+
matrix._ptr[j] = matrix._ptr[j] + n;
|
676
|
+
// where to insert matrix._values
|
677
|
+
k = matrix._ptr[j + 1] + n;
|
678
|
+
// pointer
|
679
|
+
var p = 0;
|
680
|
+
// loop new rows, initialize pointer
|
681
|
+
for (i = r; i < rows; i++, p++) {
|
682
|
+
// add value
|
683
|
+
matrix._values.splice(k + p, 0, value);
|
684
|
+
// update matrix._index
|
685
|
+
matrix._index.splice(k + p, 0, i);
|
686
|
+
// increment inserts
|
687
|
+
n++;
|
688
|
+
}
|
689
|
+
}
|
690
|
+
// store number of matrix._values in matrix._ptr
|
691
|
+
matrix._ptr[c] = matrix._values.length;
|
692
|
+
}
|
693
|
+
} else if (rows < r) {
|
694
|
+
// deletes
|
695
|
+
var d = 0;
|
696
|
+
// loop columns
|
697
|
+
for (j = 0; j < c; j++) {
|
698
|
+
// update matrix._ptr for current column
|
699
|
+
matrix._ptr[j] = matrix._ptr[j] - d;
|
700
|
+
// where matrix._values start for next column
|
701
|
+
var k0 = matrix._ptr[j];
|
702
|
+
var k1 = matrix._ptr[j + 1] - d;
|
703
|
+
// loop matrix._index
|
704
|
+
for (k = k0; k < k1; k++) {
|
705
|
+
// row
|
706
|
+
i = matrix._index[k];
|
707
|
+
// check we need to delete value and matrix._index
|
708
|
+
if (i > rows - 1) {
|
709
|
+
// remove value
|
710
|
+
matrix._values.splice(k, 1);
|
711
|
+
// remove item from matrix._index
|
712
|
+
matrix._index.splice(k, 1);
|
713
|
+
// increase deletes
|
714
|
+
d++;
|
715
|
+
}
|
716
|
+
}
|
717
|
+
}
|
718
|
+
// update matrix._ptr for current column
|
719
|
+
matrix._ptr[j] = matrix._values.length;
|
720
|
+
}
|
721
|
+
// update matrix._size
|
722
|
+
matrix._size[0] = rows;
|
723
|
+
matrix._size[1] = columns;
|
724
|
+
// return matrix
|
725
|
+
return matrix;
|
726
|
+
}
|
727
|
+
|
728
|
+
/**
|
729
|
+
* Reshape the matrix to the given size. Returns a copy of the matrix when
|
730
|
+
* `copy=true`, otherwise return the matrix itself (reshape in place).
|
731
|
+
*
|
732
|
+
* NOTE: This might be better suited to copy by default, instead of modifying
|
733
|
+
* in place. For now, it operates in place to remain consistent with
|
734
|
+
* resize().
|
735
|
+
*
|
736
|
+
* @memberof SparseMatrix
|
737
|
+
* @param {number[]} sizes The new size the matrix should have.
|
738
|
+
* Since sparse matrices are always two-dimensional,
|
739
|
+
* size must be two numbers in either an array or a matrix
|
740
|
+
* @param {boolean} [copy] Return a reshaped copy of the matrix
|
741
|
+
*
|
742
|
+
* @return {Matrix} The reshaped matrix
|
743
|
+
*/
|
744
|
+
SparseMatrix.prototype.reshape = function (sizes, copy) {
|
745
|
+
// validate arguments
|
746
|
+
if (!isArray(sizes)) {
|
747
|
+
throw new TypeError('Array expected');
|
748
|
+
}
|
749
|
+
if (sizes.length !== 2) {
|
750
|
+
throw new Error('Sparse matrices can only be reshaped in two dimensions');
|
751
|
+
}
|
752
|
+
|
753
|
+
// check sizes
|
754
|
+
sizes.forEach(function (value) {
|
755
|
+
if (!isNumber(value) || !isInteger(value) || value <= -2 || value === 0) {
|
756
|
+
throw new TypeError('Invalid size, must contain positive integers or -1 ' + '(size: ' + format(sizes) + ')');
|
757
|
+
}
|
758
|
+
});
|
759
|
+
var currentLength = this._size[0] * this._size[1];
|
760
|
+
sizes = processSizesWildcard(sizes, currentLength);
|
761
|
+
var newLength = sizes[0] * sizes[1];
|
762
|
+
|
763
|
+
// m * n must not change
|
764
|
+
if (currentLength !== newLength) {
|
765
|
+
throw new Error('Reshaping sparse matrix will result in the wrong number of elements');
|
766
|
+
}
|
767
|
+
|
768
|
+
// matrix to reshape
|
769
|
+
var m = copy ? this.clone() : this;
|
770
|
+
|
771
|
+
// return unchanged if the same shape
|
772
|
+
if (this._size[0] === sizes[0] && this._size[1] === sizes[1]) {
|
773
|
+
return m;
|
774
|
+
}
|
775
|
+
|
776
|
+
// Convert to COO format (generate a column index)
|
777
|
+
var colIndex = [];
|
778
|
+
for (var i = 0; i < m._ptr.length; i++) {
|
779
|
+
for (var j = 0; j < m._ptr[i + 1] - m._ptr[i]; j++) {
|
780
|
+
colIndex.push(i);
|
781
|
+
}
|
782
|
+
}
|
783
|
+
|
784
|
+
// Clone the values array
|
785
|
+
var values = m._values.slice();
|
786
|
+
|
787
|
+
// Clone the row index array
|
788
|
+
var rowIndex = m._index.slice();
|
789
|
+
|
790
|
+
// Transform the (row, column) indices
|
791
|
+
for (var _i = 0; _i < m._index.length; _i++) {
|
792
|
+
var r1 = rowIndex[_i];
|
793
|
+
var c1 = colIndex[_i];
|
794
|
+
var flat = r1 * m._size[1] + c1;
|
795
|
+
colIndex[_i] = flat % sizes[1];
|
796
|
+
rowIndex[_i] = Math.floor(flat / sizes[1]);
|
797
|
+
}
|
798
|
+
|
799
|
+
// Now reshaping is supposed to preserve the row-major order, BUT these sparse matrices are stored
|
800
|
+
// in column-major order, so we have to reorder the value array now. One option is to use a multisort,
|
801
|
+
// sorting several arrays based on some other array.
|
802
|
+
|
803
|
+
// OR, we could easily just:
|
804
|
+
|
805
|
+
// 1. Remove all values from the matrix
|
806
|
+
m._values.length = 0;
|
807
|
+
m._index.length = 0;
|
808
|
+
m._ptr.length = sizes[1] + 1;
|
809
|
+
m._size = sizes.slice();
|
810
|
+
for (var _i2 = 0; _i2 < m._ptr.length; _i2++) {
|
811
|
+
m._ptr[_i2] = 0;
|
812
|
+
}
|
813
|
+
|
814
|
+
// 2. Re-insert all elements in the proper order (simplified code from SparseMatrix.prototype.set)
|
815
|
+
// This step is probably the most time-consuming
|
816
|
+
for (var h = 0; h < values.length; h++) {
|
817
|
+
var _i3 = rowIndex[h];
|
818
|
+
var _j = colIndex[h];
|
819
|
+
var v = values[h];
|
820
|
+
var k = _getValueIndex(_i3, m._ptr[_j], m._ptr[_j + 1], m._index);
|
821
|
+
_insert(k, _i3, _j, v, m._values, m._index, m._ptr);
|
822
|
+
}
|
823
|
+
|
824
|
+
// The value indices are inserted out of order, but apparently that's... still OK?
|
825
|
+
|
826
|
+
return m;
|
827
|
+
};
|
828
|
+
|
829
|
+
/**
|
830
|
+
* Create a clone of the matrix
|
831
|
+
* @memberof SparseMatrix
|
832
|
+
* @return {SparseMatrix} clone
|
833
|
+
*/
|
834
|
+
SparseMatrix.prototype.clone = function () {
|
835
|
+
var m = new SparseMatrix({
|
836
|
+
values: this._values ? clone(this._values) : undefined,
|
837
|
+
index: clone(this._index),
|
838
|
+
ptr: clone(this._ptr),
|
839
|
+
size: clone(this._size),
|
840
|
+
datatype: this._datatype
|
841
|
+
});
|
842
|
+
return m;
|
843
|
+
};
|
844
|
+
|
845
|
+
/**
|
846
|
+
* Retrieve the size of the matrix.
|
847
|
+
* @memberof SparseMatrix
|
848
|
+
* @returns {number[]} size
|
849
|
+
*/
|
850
|
+
SparseMatrix.prototype.size = function () {
|
851
|
+
return this._size.slice(0); // copy the Array
|
852
|
+
};
|
853
|
+
|
854
|
+
/**
|
855
|
+
* Create a new matrix with the results of the callback function executed on
|
856
|
+
* each entry of the matrix.
|
857
|
+
* @memberof SparseMatrix
|
858
|
+
* @param {Function} callback The callback function is invoked with three
|
859
|
+
* parameters: the value of the element, the index
|
860
|
+
* of the element, and the Matrix being traversed.
|
861
|
+
* @param {boolean} [skipZeros] Invoke callback function for non-zero values only.
|
862
|
+
*
|
863
|
+
* @return {SparseMatrix} matrix
|
864
|
+
*/
|
865
|
+
SparseMatrix.prototype.map = function (callback, skipZeros) {
|
866
|
+
// check it is a pattern matrix
|
867
|
+
if (!this._values) {
|
868
|
+
throw new Error('Cannot invoke map on a Pattern only matrix');
|
869
|
+
}
|
870
|
+
// matrix instance
|
871
|
+
var me = this;
|
872
|
+
// rows and columns
|
873
|
+
var rows = this._size[0];
|
874
|
+
var columns = this._size[1];
|
875
|
+
// invoke callback
|
876
|
+
var args = maxArgumentCount(callback);
|
877
|
+
var invoke = function invoke(v, i, j) {
|
878
|
+
// invoke callback
|
879
|
+
if (args === 1) return callback(v);
|
880
|
+
if (args === 2) return callback(v, [i, j]);
|
881
|
+
return callback(v, [i, j], me);
|
882
|
+
};
|
883
|
+
// invoke _map
|
884
|
+
return _map(this, 0, rows - 1, 0, columns - 1, invoke, skipZeros);
|
885
|
+
};
|
886
|
+
|
887
|
+
/**
|
888
|
+
* Create a new matrix with the results of the callback function executed on the interval
|
889
|
+
* [minRow..maxRow, minColumn..maxColumn].
|
890
|
+
*/
|
891
|
+
function _map(matrix, minRow, maxRow, minColumn, maxColumn, callback, skipZeros) {
|
892
|
+
// result arrays
|
893
|
+
var values = [];
|
894
|
+
var index = [];
|
895
|
+
var ptr = [];
|
896
|
+
|
897
|
+
// equal signature to use
|
898
|
+
var eq = equalScalar;
|
899
|
+
// zero value
|
900
|
+
var zero = 0;
|
901
|
+
if (isString(matrix._datatype)) {
|
902
|
+
// find signature that matches (datatype, datatype)
|
903
|
+
eq = typed.find(equalScalar, [matrix._datatype, matrix._datatype]) || equalScalar;
|
904
|
+
// convert 0 to the same datatype
|
905
|
+
zero = typed.convert(0, matrix._datatype);
|
906
|
+
}
|
907
|
+
|
908
|
+
// invoke callback
|
909
|
+
var invoke = function invoke(v, x, y) {
|
910
|
+
// invoke callback
|
911
|
+
v = callback(v, x, y);
|
912
|
+
// check value != 0
|
913
|
+
if (!eq(v, zero)) {
|
914
|
+
// store value
|
915
|
+
values.push(v);
|
916
|
+
// index
|
917
|
+
index.push(x);
|
918
|
+
}
|
919
|
+
};
|
920
|
+
// loop columns
|
921
|
+
for (var j = minColumn; j <= maxColumn; j++) {
|
922
|
+
// store pointer to values index
|
923
|
+
ptr.push(values.length);
|
924
|
+
// k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
|
925
|
+
var k0 = matrix._ptr[j];
|
926
|
+
var k1 = matrix._ptr[j + 1];
|
927
|
+
if (skipZeros) {
|
928
|
+
// loop k within [k0, k1[
|
929
|
+
for (var k = k0; k < k1; k++) {
|
930
|
+
// row index
|
931
|
+
var i = matrix._index[k];
|
932
|
+
// check i is in range
|
933
|
+
if (i >= minRow && i <= maxRow) {
|
934
|
+
// value @ k
|
935
|
+
invoke(matrix._values[k], i - minRow, j - minColumn);
|
936
|
+
}
|
937
|
+
}
|
938
|
+
} else {
|
939
|
+
// create a cache holding all defined values
|
940
|
+
var _values = {};
|
941
|
+
for (var _k = k0; _k < k1; _k++) {
|
942
|
+
var _i4 = matrix._index[_k];
|
943
|
+
_values[_i4] = matrix._values[_k];
|
944
|
+
}
|
945
|
+
|
946
|
+
// loop over all rows (indexes can be unordered so we can't use that),
|
947
|
+
// and either read the value or zero
|
948
|
+
for (var _i5 = minRow; _i5 <= maxRow; _i5++) {
|
949
|
+
var value = _i5 in _values ? _values[_i5] : 0;
|
950
|
+
invoke(value, _i5 - minRow, j - minColumn);
|
951
|
+
}
|
952
|
+
}
|
953
|
+
}
|
954
|
+
|
955
|
+
// store number of values in ptr
|
956
|
+
ptr.push(values.length);
|
957
|
+
// return sparse matrix
|
958
|
+
return new SparseMatrix({
|
959
|
+
values,
|
960
|
+
index,
|
961
|
+
ptr,
|
962
|
+
size: [maxRow - minRow + 1, maxColumn - minColumn + 1]
|
963
|
+
});
|
964
|
+
}
|
965
|
+
|
966
|
+
/**
|
967
|
+
* Execute a callback function on each entry of the matrix.
|
968
|
+
* @memberof SparseMatrix
|
969
|
+
* @param {Function} callback The callback function is invoked with three
|
970
|
+
* parameters: the value of the element, the index
|
971
|
+
* of the element, and the Matrix being traversed.
|
972
|
+
* @param {boolean} [skipZeros] Invoke callback function for non-zero values only.
|
973
|
+
* If false, the indices are guaranteed to be in order,
|
974
|
+
* if true, the indices can be unordered.
|
975
|
+
*/
|
976
|
+
SparseMatrix.prototype.forEach = function (callback, skipZeros) {
|
977
|
+
// check it is a pattern matrix
|
978
|
+
if (!this._values) {
|
979
|
+
throw new Error('Cannot invoke forEach on a Pattern only matrix');
|
980
|
+
}
|
981
|
+
// matrix instance
|
982
|
+
var me = this;
|
983
|
+
// rows and columns
|
984
|
+
var rows = this._size[0];
|
985
|
+
var columns = this._size[1];
|
986
|
+
// loop columns
|
987
|
+
for (var j = 0; j < columns; j++) {
|
988
|
+
// k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
|
989
|
+
var k0 = this._ptr[j];
|
990
|
+
var k1 = this._ptr[j + 1];
|
991
|
+
if (skipZeros) {
|
992
|
+
// loop k within [k0, k1[
|
993
|
+
for (var k = k0; k < k1; k++) {
|
994
|
+
// row index
|
995
|
+
var i = this._index[k];
|
996
|
+
|
997
|
+
// value @ k
|
998
|
+
callback(this._values[k], [i, j], me);
|
999
|
+
}
|
1000
|
+
} else {
|
1001
|
+
// create a cache holding all defined values
|
1002
|
+
var values = {};
|
1003
|
+
for (var _k2 = k0; _k2 < k1; _k2++) {
|
1004
|
+
var _i6 = this._index[_k2];
|
1005
|
+
values[_i6] = this._values[_k2];
|
1006
|
+
}
|
1007
|
+
|
1008
|
+
// loop over all rows (indexes can be unordered so we can't use that),
|
1009
|
+
// and either read the value or zero
|
1010
|
+
for (var _i7 = 0; _i7 < rows; _i7++) {
|
1011
|
+
var value = _i7 in values ? values[_i7] : 0;
|
1012
|
+
callback(value, [_i7, j], me);
|
1013
|
+
}
|
1014
|
+
}
|
1015
|
+
}
|
1016
|
+
};
|
1017
|
+
|
1018
|
+
/**
|
1019
|
+
* Iterate over the matrix elements, skipping zeros
|
1020
|
+
* @return {Iterable<{ value, index: number[] }>}
|
1021
|
+
*/
|
1022
|
+
SparseMatrix.prototype[Symbol.iterator] = function* () {
|
1023
|
+
if (!this._values) {
|
1024
|
+
throw new Error('Cannot iterate a Pattern only matrix');
|
1025
|
+
}
|
1026
|
+
var columns = this._size[1];
|
1027
|
+
for (var j = 0; j < columns; j++) {
|
1028
|
+
var k0 = this._ptr[j];
|
1029
|
+
var k1 = this._ptr[j + 1];
|
1030
|
+
for (var k = k0; k < k1; k++) {
|
1031
|
+
// row index
|
1032
|
+
var i = this._index[k];
|
1033
|
+
yield {
|
1034
|
+
value: this._values[k],
|
1035
|
+
index: [i, j]
|
1036
|
+
};
|
1037
|
+
}
|
1038
|
+
}
|
1039
|
+
};
|
1040
|
+
|
1041
|
+
/**
|
1042
|
+
* Create an Array with a copy of the data of the SparseMatrix
|
1043
|
+
* @memberof SparseMatrix
|
1044
|
+
* @returns {Array} array
|
1045
|
+
*/
|
1046
|
+
SparseMatrix.prototype.toArray = function () {
|
1047
|
+
return _toArray(this._values, this._index, this._ptr, this._size, true);
|
1048
|
+
};
|
1049
|
+
|
1050
|
+
/**
|
1051
|
+
* Get the primitive value of the SparseMatrix: a two dimensions array
|
1052
|
+
* @memberof SparseMatrix
|
1053
|
+
* @returns {Array} array
|
1054
|
+
*/
|
1055
|
+
SparseMatrix.prototype.valueOf = function () {
|
1056
|
+
return _toArray(this._values, this._index, this._ptr, this._size, false);
|
1057
|
+
};
|
1058
|
+
function _toArray(values, index, ptr, size, copy) {
|
1059
|
+
// rows and columns
|
1060
|
+
var rows = size[0];
|
1061
|
+
var columns = size[1];
|
1062
|
+
// result
|
1063
|
+
var a = [];
|
1064
|
+
// vars
|
1065
|
+
var i, j;
|
1066
|
+
// initialize array
|
1067
|
+
for (i = 0; i < rows; i++) {
|
1068
|
+
a[i] = [];
|
1069
|
+
for (j = 0; j < columns; j++) {
|
1070
|
+
a[i][j] = 0;
|
1071
|
+
}
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
// loop columns
|
1075
|
+
for (j = 0; j < columns; j++) {
|
1076
|
+
// k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
|
1077
|
+
var k0 = ptr[j];
|
1078
|
+
var k1 = ptr[j + 1];
|
1079
|
+
// loop k within [k0, k1[
|
1080
|
+
for (var k = k0; k < k1; k++) {
|
1081
|
+
// row index
|
1082
|
+
i = index[k];
|
1083
|
+
// set value (use one for pattern matrix)
|
1084
|
+
a[i][j] = values ? copy ? clone(values[k]) : values[k] : 1;
|
1085
|
+
}
|
1086
|
+
}
|
1087
|
+
return a;
|
1088
|
+
}
|
1089
|
+
|
1090
|
+
/**
|
1091
|
+
* Get a string representation of the matrix, with optional formatting options.
|
1092
|
+
* @memberof SparseMatrix
|
1093
|
+
* @param {Object | number | Function} [options] Formatting options. See
|
1094
|
+
* lib/utils/number:format for a
|
1095
|
+
* description of the available
|
1096
|
+
* options.
|
1097
|
+
* @returns {string} str
|
1098
|
+
*/
|
1099
|
+
SparseMatrix.prototype.format = function (options) {
|
1100
|
+
// rows and columns
|
1101
|
+
var rows = this._size[0];
|
1102
|
+
var columns = this._size[1];
|
1103
|
+
// density
|
1104
|
+
var density = this.density();
|
1105
|
+
// rows & columns
|
1106
|
+
var str = 'Sparse Matrix [' + format(rows, options) + ' x ' + format(columns, options) + '] density: ' + format(density, options) + '\n';
|
1107
|
+
// loop columns
|
1108
|
+
for (var j = 0; j < columns; j++) {
|
1109
|
+
// k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
|
1110
|
+
var k0 = this._ptr[j];
|
1111
|
+
var k1 = this._ptr[j + 1];
|
1112
|
+
// loop k within [k0, k1[
|
1113
|
+
for (var k = k0; k < k1; k++) {
|
1114
|
+
// row index
|
1115
|
+
var i = this._index[k];
|
1116
|
+
// append value
|
1117
|
+
str += '\n (' + format(i, options) + ', ' + format(j, options) + ') ==> ' + (this._values ? format(this._values[k], options) : 'X');
|
1118
|
+
}
|
1119
|
+
}
|
1120
|
+
return str;
|
1121
|
+
};
|
1122
|
+
|
1123
|
+
/**
|
1124
|
+
* Get a string representation of the matrix
|
1125
|
+
* @memberof SparseMatrix
|
1126
|
+
* @returns {string} str
|
1127
|
+
*/
|
1128
|
+
SparseMatrix.prototype.toString = function () {
|
1129
|
+
return format(this.toArray());
|
1130
|
+
};
|
1131
|
+
|
1132
|
+
/**
|
1133
|
+
* Get a JSON representation of the matrix
|
1134
|
+
* @memberof SparseMatrix
|
1135
|
+
* @returns {Object}
|
1136
|
+
*/
|
1137
|
+
SparseMatrix.prototype.toJSON = function () {
|
1138
|
+
return {
|
1139
|
+
mathjs: 'SparseMatrix',
|
1140
|
+
values: this._values,
|
1141
|
+
index: this._index,
|
1142
|
+
ptr: this._ptr,
|
1143
|
+
size: this._size,
|
1144
|
+
datatype: this._datatype
|
1145
|
+
};
|
1146
|
+
};
|
1147
|
+
|
1148
|
+
/**
|
1149
|
+
* Get the kth Matrix diagonal.
|
1150
|
+
*
|
1151
|
+
* @memberof SparseMatrix
|
1152
|
+
* @param {number | BigNumber} [k=0] The kth diagonal where the vector will retrieved.
|
1153
|
+
*
|
1154
|
+
* @returns {Matrix} The matrix vector with the diagonal values.
|
1155
|
+
*/
|
1156
|
+
SparseMatrix.prototype.diagonal = function (k) {
|
1157
|
+
// validate k if any
|
1158
|
+
if (k) {
|
1159
|
+
// convert BigNumber to a number
|
1160
|
+
if (isBigNumber(k)) {
|
1161
|
+
k = k.toNumber();
|
1162
|
+
}
|
1163
|
+
// is must be an integer
|
1164
|
+
if (!isNumber(k) || !isInteger(k)) {
|
1165
|
+
throw new TypeError('The parameter k must be an integer number');
|
1166
|
+
}
|
1167
|
+
} else {
|
1168
|
+
// default value
|
1169
|
+
k = 0;
|
1170
|
+
}
|
1171
|
+
var kSuper = k > 0 ? k : 0;
|
1172
|
+
var kSub = k < 0 ? -k : 0;
|
1173
|
+
|
1174
|
+
// rows & columns
|
1175
|
+
var rows = this._size[0];
|
1176
|
+
var columns = this._size[1];
|
1177
|
+
|
1178
|
+
// number diagonal values
|
1179
|
+
var n = Math.min(rows - kSub, columns - kSuper);
|
1180
|
+
|
1181
|
+
// diagonal arrays
|
1182
|
+
var values = [];
|
1183
|
+
var index = [];
|
1184
|
+
var ptr = [];
|
1185
|
+
// initial ptr value
|
1186
|
+
ptr[0] = 0;
|
1187
|
+
// loop columns
|
1188
|
+
for (var j = kSuper; j < columns && values.length < n; j++) {
|
1189
|
+
// k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
|
1190
|
+
var k0 = this._ptr[j];
|
1191
|
+
var k1 = this._ptr[j + 1];
|
1192
|
+
// loop x within [k0, k1[
|
1193
|
+
for (var x = k0; x < k1; x++) {
|
1194
|
+
// row index
|
1195
|
+
var i = this._index[x];
|
1196
|
+
// check row
|
1197
|
+
if (i === j - kSuper + kSub) {
|
1198
|
+
// value on this column
|
1199
|
+
values.push(this._values[x]);
|
1200
|
+
// store row
|
1201
|
+
index[values.length - 1] = i - kSub;
|
1202
|
+
// exit loop
|
1203
|
+
break;
|
1204
|
+
}
|
1205
|
+
}
|
1206
|
+
}
|
1207
|
+
// close ptr
|
1208
|
+
ptr.push(values.length);
|
1209
|
+
// return matrix
|
1210
|
+
return new SparseMatrix({
|
1211
|
+
values,
|
1212
|
+
index,
|
1213
|
+
ptr,
|
1214
|
+
size: [n, 1]
|
1215
|
+
});
|
1216
|
+
};
|
1217
|
+
|
1218
|
+
/**
|
1219
|
+
* Generate a matrix from a JSON object
|
1220
|
+
* @memberof SparseMatrix
|
1221
|
+
* @param {Object} json An object structured like
|
1222
|
+
* `{"mathjs": "SparseMatrix", "values": [], "index": [], "ptr": [], "size": []}`,
|
1223
|
+
* where mathjs is optional
|
1224
|
+
* @returns {SparseMatrix}
|
1225
|
+
*/
|
1226
|
+
SparseMatrix.fromJSON = function (json) {
|
1227
|
+
return new SparseMatrix(json);
|
1228
|
+
};
|
1229
|
+
|
1230
|
+
/**
|
1231
|
+
* Create a diagonal matrix.
|
1232
|
+
*
|
1233
|
+
* @memberof SparseMatrix
|
1234
|
+
* @param {Array} size The matrix size.
|
1235
|
+
* @param {number | Array | Matrix } value The values for the diagonal.
|
1236
|
+
* @param {number | BigNumber} [k=0] The kth diagonal where the vector will be filled in.
|
1237
|
+
* @param {number} [defaultValue] The default value for non-diagonal
|
1238
|
+
* @param {string} [datatype] The Matrix datatype, values must be of this datatype.
|
1239
|
+
*
|
1240
|
+
* @returns {SparseMatrix}
|
1241
|
+
*/
|
1242
|
+
SparseMatrix.diagonal = function (size, value, k, defaultValue, datatype) {
|
1243
|
+
if (!isArray(size)) {
|
1244
|
+
throw new TypeError('Array expected, size parameter');
|
1245
|
+
}
|
1246
|
+
if (size.length !== 2) {
|
1247
|
+
throw new Error('Only two dimensions matrix are supported');
|
1248
|
+
}
|
1249
|
+
|
1250
|
+
// map size & validate
|
1251
|
+
size = size.map(function (s) {
|
1252
|
+
// check it is a big number
|
1253
|
+
if (isBigNumber(s)) {
|
1254
|
+
// convert it
|
1255
|
+
s = s.toNumber();
|
1256
|
+
}
|
1257
|
+
// validate arguments
|
1258
|
+
if (!isNumber(s) || !isInteger(s) || s < 1) {
|
1259
|
+
throw new Error('Size values must be positive integers');
|
1260
|
+
}
|
1261
|
+
return s;
|
1262
|
+
});
|
1263
|
+
|
1264
|
+
// validate k if any
|
1265
|
+
if (k) {
|
1266
|
+
// convert BigNumber to a number
|
1267
|
+
if (isBigNumber(k)) {
|
1268
|
+
k = k.toNumber();
|
1269
|
+
}
|
1270
|
+
// is must be an integer
|
1271
|
+
if (!isNumber(k) || !isInteger(k)) {
|
1272
|
+
throw new TypeError('The parameter k must be an integer number');
|
1273
|
+
}
|
1274
|
+
} else {
|
1275
|
+
// default value
|
1276
|
+
k = 0;
|
1277
|
+
}
|
1278
|
+
|
1279
|
+
// equal signature to use
|
1280
|
+
var eq = equalScalar;
|
1281
|
+
// zero value
|
1282
|
+
var zero = 0;
|
1283
|
+
if (isString(datatype)) {
|
1284
|
+
// find signature that matches (datatype, datatype)
|
1285
|
+
eq = typed.find(equalScalar, [datatype, datatype]) || equalScalar;
|
1286
|
+
// convert 0 to the same datatype
|
1287
|
+
zero = typed.convert(0, datatype);
|
1288
|
+
}
|
1289
|
+
var kSuper = k > 0 ? k : 0;
|
1290
|
+
var kSub = k < 0 ? -k : 0;
|
1291
|
+
|
1292
|
+
// rows and columns
|
1293
|
+
var rows = size[0];
|
1294
|
+
var columns = size[1];
|
1295
|
+
|
1296
|
+
// number of non-zero items
|
1297
|
+
var n = Math.min(rows - kSub, columns - kSuper);
|
1298
|
+
|
1299
|
+
// value extraction function
|
1300
|
+
var _value;
|
1301
|
+
|
1302
|
+
// check value
|
1303
|
+
if (isArray(value)) {
|
1304
|
+
// validate array
|
1305
|
+
if (value.length !== n) {
|
1306
|
+
// number of values in array must be n
|
1307
|
+
throw new Error('Invalid value array length');
|
1308
|
+
}
|
1309
|
+
// define function
|
1310
|
+
_value = function _value(i) {
|
1311
|
+
// return value @ i
|
1312
|
+
return value[i];
|
1313
|
+
};
|
1314
|
+
} else if (isMatrix(value)) {
|
1315
|
+
// matrix size
|
1316
|
+
var ms = value.size();
|
1317
|
+
// validate matrix
|
1318
|
+
if (ms.length !== 1 || ms[0] !== n) {
|
1319
|
+
// number of values in array must be n
|
1320
|
+
throw new Error('Invalid matrix length');
|
1321
|
+
}
|
1322
|
+
// define function
|
1323
|
+
_value = function _value(i) {
|
1324
|
+
// return value @ i
|
1325
|
+
return value.get([i]);
|
1326
|
+
};
|
1327
|
+
} else {
|
1328
|
+
// define function
|
1329
|
+
_value = function _value() {
|
1330
|
+
// return value
|
1331
|
+
return value;
|
1332
|
+
};
|
1333
|
+
}
|
1334
|
+
|
1335
|
+
// create arrays
|
1336
|
+
var values = [];
|
1337
|
+
var index = [];
|
1338
|
+
var ptr = [];
|
1339
|
+
|
1340
|
+
// loop items
|
1341
|
+
for (var j = 0; j < columns; j++) {
|
1342
|
+
// number of rows with value
|
1343
|
+
ptr.push(values.length);
|
1344
|
+
// diagonal index
|
1345
|
+
var i = j - kSuper;
|
1346
|
+
// check we need to set diagonal value
|
1347
|
+
if (i >= 0 && i < n) {
|
1348
|
+
// get value @ i
|
1349
|
+
var v = _value(i);
|
1350
|
+
// check for zero
|
1351
|
+
if (!eq(v, zero)) {
|
1352
|
+
// column
|
1353
|
+
index.push(i + kSub);
|
1354
|
+
// add value
|
1355
|
+
values.push(v);
|
1356
|
+
}
|
1357
|
+
}
|
1358
|
+
}
|
1359
|
+
// last value should be number of values
|
1360
|
+
ptr.push(values.length);
|
1361
|
+
// create SparseMatrix
|
1362
|
+
return new SparseMatrix({
|
1363
|
+
values,
|
1364
|
+
index,
|
1365
|
+
ptr,
|
1366
|
+
size: [rows, columns]
|
1367
|
+
});
|
1368
|
+
};
|
1369
|
+
|
1370
|
+
/**
|
1371
|
+
* Swap rows i and j in Matrix.
|
1372
|
+
*
|
1373
|
+
* @memberof SparseMatrix
|
1374
|
+
* @param {number} i Matrix row index 1
|
1375
|
+
* @param {number} j Matrix row index 2
|
1376
|
+
*
|
1377
|
+
* @return {Matrix} The matrix reference
|
1378
|
+
*/
|
1379
|
+
SparseMatrix.prototype.swapRows = function (i, j) {
|
1380
|
+
// check index
|
1381
|
+
if (!isNumber(i) || !isInteger(i) || !isNumber(j) || !isInteger(j)) {
|
1382
|
+
throw new Error('Row index must be positive integers');
|
1383
|
+
}
|
1384
|
+
// check dimensions
|
1385
|
+
if (this._size.length !== 2) {
|
1386
|
+
throw new Error('Only two dimensional matrix is supported');
|
1387
|
+
}
|
1388
|
+
// validate index
|
1389
|
+
validateIndex(i, this._size[0]);
|
1390
|
+
validateIndex(j, this._size[0]);
|
1391
|
+
|
1392
|
+
// swap rows
|
1393
|
+
SparseMatrix._swapRows(i, j, this._size[1], this._values, this._index, this._ptr);
|
1394
|
+
// return current instance
|
1395
|
+
return this;
|
1396
|
+
};
|
1397
|
+
|
1398
|
+
/**
|
1399
|
+
* Loop rows with data in column j.
|
1400
|
+
*
|
1401
|
+
* @param {number} j Column
|
1402
|
+
* @param {Array} values Matrix values
|
1403
|
+
* @param {Array} index Matrix row indeces
|
1404
|
+
* @param {Array} ptr Matrix column pointers
|
1405
|
+
* @param {Function} callback Callback function invoked for every row in column j
|
1406
|
+
*/
|
1407
|
+
SparseMatrix._forEachRow = function (j, values, index, ptr, callback) {
|
1408
|
+
// indeces for column j
|
1409
|
+
var k0 = ptr[j];
|
1410
|
+
var k1 = ptr[j + 1];
|
1411
|
+
// loop
|
1412
|
+
for (var k = k0; k < k1; k++) {
|
1413
|
+
// invoke callback
|
1414
|
+
callback(index[k], values[k]);
|
1415
|
+
}
|
1416
|
+
};
|
1417
|
+
|
1418
|
+
/**
|
1419
|
+
* Swap rows x and y in Sparse Matrix data structures.
|
1420
|
+
*
|
1421
|
+
* @param {number} x Matrix row index 1
|
1422
|
+
* @param {number} y Matrix row index 2
|
1423
|
+
* @param {number} columns Number of columns in matrix
|
1424
|
+
* @param {Array} values Matrix values
|
1425
|
+
* @param {Array} index Matrix row indeces
|
1426
|
+
* @param {Array} ptr Matrix column pointers
|
1427
|
+
*/
|
1428
|
+
SparseMatrix._swapRows = function (x, y, columns, values, index, ptr) {
|
1429
|
+
// loop columns
|
1430
|
+
for (var j = 0; j < columns; j++) {
|
1431
|
+
// k0 <= k < k1 where k0 = _ptr[j] && k1 = _ptr[j+1]
|
1432
|
+
var k0 = ptr[j];
|
1433
|
+
var k1 = ptr[j + 1];
|
1434
|
+
// find value index @ x
|
1435
|
+
var kx = _getValueIndex(x, k0, k1, index);
|
1436
|
+
// find value index @ x
|
1437
|
+
var ky = _getValueIndex(y, k0, k1, index);
|
1438
|
+
// check both rows exist in matrix
|
1439
|
+
if (kx < k1 && ky < k1 && index[kx] === x && index[ky] === y) {
|
1440
|
+
// swap values (check for pattern matrix)
|
1441
|
+
if (values) {
|
1442
|
+
var v = values[kx];
|
1443
|
+
values[kx] = values[ky];
|
1444
|
+
values[ky] = v;
|
1445
|
+
}
|
1446
|
+
// next column
|
1447
|
+
continue;
|
1448
|
+
}
|
1449
|
+
// check x row exist & no y row
|
1450
|
+
if (kx < k1 && index[kx] === x && (ky >= k1 || index[ky] !== y)) {
|
1451
|
+
// value @ x (check for pattern matrix)
|
1452
|
+
var vx = values ? values[kx] : undefined;
|
1453
|
+
// insert value @ y
|
1454
|
+
index.splice(ky, 0, y);
|
1455
|
+
if (values) {
|
1456
|
+
values.splice(ky, 0, vx);
|
1457
|
+
}
|
1458
|
+
// remove value @ x (adjust array index if needed)
|
1459
|
+
index.splice(ky <= kx ? kx + 1 : kx, 1);
|
1460
|
+
if (values) {
|
1461
|
+
values.splice(ky <= kx ? kx + 1 : kx, 1);
|
1462
|
+
}
|
1463
|
+
// next column
|
1464
|
+
continue;
|
1465
|
+
}
|
1466
|
+
// check y row exist & no x row
|
1467
|
+
if (ky < k1 && index[ky] === y && (kx >= k1 || index[kx] !== x)) {
|
1468
|
+
// value @ y (check for pattern matrix)
|
1469
|
+
var vy = values ? values[ky] : undefined;
|
1470
|
+
// insert value @ x
|
1471
|
+
index.splice(kx, 0, x);
|
1472
|
+
if (values) {
|
1473
|
+
values.splice(kx, 0, vy);
|
1474
|
+
}
|
1475
|
+
// remove value @ y (adjust array index if needed)
|
1476
|
+
index.splice(kx <= ky ? ky + 1 : ky, 1);
|
1477
|
+
if (values) {
|
1478
|
+
values.splice(kx <= ky ? ky + 1 : ky, 1);
|
1479
|
+
}
|
1480
|
+
}
|
1481
|
+
}
|
1482
|
+
};
|
1483
|
+
return SparseMatrix;
|
1484
|
+
}, {
|
1485
|
+
isClass: true
|
1486
|
+
});
|