@danielsimonjr/mathts-functions 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist/algebra/decomposition/lup.d.ts +78 -0
- package/dist/algebra/decomposition/lup.d.ts.map +1 -0
- package/dist/algebra/decomposition/qr.d.ts +60 -0
- package/dist/algebra/decomposition/qr.d.ts.map +1 -0
- package/dist/algebra/decomposition/schur.d.ts +40 -0
- package/dist/algebra/decomposition/schur.d.ts.map +1 -0
- package/dist/algebra/decomposition/slu.d.ts +37 -0
- package/dist/algebra/decomposition/slu.d.ts.map +1 -0
- package/dist/algebra/derivative.d.ts +35 -0
- package/dist/algebra/derivative.d.ts.map +1 -0
- package/dist/algebra/leafCount.d.ts +9 -0
- package/dist/algebra/leafCount.d.ts.map +1 -0
- package/dist/algebra/lyap.d.ts +14 -0
- package/dist/algebra/lyap.d.ts.map +1 -0
- package/dist/algebra/polynomialRoot.d.ts +22 -0
- package/dist/algebra/polynomialRoot.d.ts.map +1 -0
- package/dist/algebra/rationalize.d.ts +43 -0
- package/dist/algebra/rationalize.d.ts.map +1 -0
- package/dist/algebra/resolve.d.ts +25 -0
- package/dist/algebra/resolve.d.ts.map +1 -0
- package/dist/algebra/simplify/util.d.ts +35 -0
- package/dist/algebra/simplify/util.d.ts.map +1 -0
- package/dist/algebra/simplify/wildcards.d.ts +5 -0
- package/dist/algebra/simplify/wildcards.d.ts.map +1 -0
- package/dist/algebra/simplify.d.ts +57 -0
- package/dist/algebra/simplify.d.ts.map +1 -0
- package/dist/algebra/simplifyConstant.d.ts +20 -0
- package/dist/algebra/simplifyConstant.d.ts.map +1 -0
- package/dist/algebra/simplifyCore.d.ts +21 -0
- package/dist/algebra/simplifyCore.d.ts.map +1 -0
- package/dist/algebra/solver/lsolve.d.ts +46 -0
- package/dist/algebra/solver/lsolve.d.ts.map +1 -0
- package/dist/algebra/solver/lsolveAll.d.ts +53 -0
- package/dist/algebra/solver/lsolveAll.d.ts.map +1 -0
- package/dist/algebra/solver/lusolve.d.ts +62 -0
- package/dist/algebra/solver/lusolve.d.ts.map +1 -0
- package/dist/algebra/solver/usolve.d.ts +46 -0
- package/dist/algebra/solver/usolve.d.ts.map +1 -0
- package/dist/algebra/solver/usolveAll.d.ts +53 -0
- package/dist/algebra/solver/usolveAll.d.ts.map +1 -0
- package/dist/algebra/solver/utils/solveValidation.d.ts +31 -0
- package/dist/algebra/solver/utils/solveValidation.d.ts.map +1 -0
- package/dist/algebra/sparse/csAmd.d.ts +15 -0
- package/dist/algebra/sparse/csAmd.d.ts.map +1 -0
- package/dist/algebra/sparse/csChol.d.ts +39 -0
- package/dist/algebra/sparse/csChol.d.ts.map +1 -0
- package/dist/algebra/sparse/csCounts.d.ts +13 -0
- package/dist/algebra/sparse/csCounts.d.ts.map +1 -0
- package/dist/algebra/sparse/csCumsum.d.ts +9 -0
- package/dist/algebra/sparse/csCumsum.d.ts.map +1 -0
- package/dist/algebra/sparse/csDfs.d.ts +23 -0
- package/dist/algebra/sparse/csDfs.d.ts.map +1 -0
- package/dist/algebra/sparse/csEreach.d.ts +20 -0
- package/dist/algebra/sparse/csEreach.d.ts.map +1 -0
- package/dist/algebra/sparse/csEtree.d.ts +16 -0
- package/dist/algebra/sparse/csEtree.d.ts.map +1 -0
- package/dist/algebra/sparse/csFkeep.d.ts +22 -0
- package/dist/algebra/sparse/csFkeep.d.ts.map +1 -0
- package/dist/algebra/sparse/csFlip.d.ts +7 -0
- package/dist/algebra/sparse/csFlip.d.ts.map +1 -0
- package/dist/algebra/sparse/csIpvec.d.ts +10 -0
- package/dist/algebra/sparse/csIpvec.d.ts.map +1 -0
- package/dist/algebra/sparse/csLeaf.d.ts +21 -0
- package/dist/algebra/sparse/csLeaf.d.ts.map +1 -0
- package/dist/algebra/sparse/csLu.d.ts +37 -0
- package/dist/algebra/sparse/csLu.d.ts.map +1 -0
- package/dist/algebra/sparse/csMark.d.ts +8 -0
- package/dist/algebra/sparse/csMark.d.ts.map +1 -0
- package/dist/algebra/sparse/csMarked.d.ts +8 -0
- package/dist/algebra/sparse/csMarked.d.ts.map +1 -0
- package/dist/algebra/sparse/csPermute.d.ts +27 -0
- package/dist/algebra/sparse/csPermute.d.ts.map +1 -0
- package/dist/algebra/sparse/csPost.d.ts +8 -0
- package/dist/algebra/sparse/csPost.d.ts.map +1 -0
- package/dist/algebra/sparse/csReach.d.ts +23 -0
- package/dist/algebra/sparse/csReach.d.ts.map +1 -0
- package/dist/algebra/sparse/csSpsolve.d.ts +15 -0
- package/dist/algebra/sparse/csSpsolve.d.ts.map +1 -0
- package/dist/algebra/sparse/csSqr.d.ts +25 -0
- package/dist/algebra/sparse/csSqr.d.ts.map +1 -0
- package/dist/algebra/sparse/csSymperm.d.ts +22 -0
- package/dist/algebra/sparse/csSymperm.d.ts.map +1 -0
- package/dist/algebra/sparse/csTdfs.d.ts +13 -0
- package/dist/algebra/sparse/csTdfs.d.ts.map +1 -0
- package/dist/algebra/sparse/csUnflip.d.ts +7 -0
- package/dist/algebra/sparse/csUnflip.d.ts.map +1 -0
- package/dist/algebra/sylvester.d.ts +30 -0
- package/dist/algebra/sylvester.d.ts.map +1 -0
- package/dist/algebra/symbolicEqual.d.ts +18 -0
- package/dist/algebra/symbolicEqual.d.ts.map +1 -0
- package/dist/arithmetic/abs.d.ts +7 -0
- package/dist/arithmetic/abs.d.ts.map +1 -0
- package/dist/arithmetic/addScalar.d.ts +7 -0
- package/dist/arithmetic/addScalar.d.ts.map +1 -0
- package/dist/arithmetic/cbrt.d.ts +37 -0
- package/dist/arithmetic/cbrt.d.ts.map +1 -0
- package/dist/arithmetic/ceil.d.ts +22 -0
- package/dist/arithmetic/ceil.d.ts.map +1 -0
- package/dist/arithmetic/cube.d.ts +7 -0
- package/dist/arithmetic/cube.d.ts.map +1 -0
- package/dist/arithmetic/divide.d.ts +42 -0
- package/dist/arithmetic/divide.d.ts.map +1 -0
- package/dist/arithmetic/divideScalar.d.ts +8 -0
- package/dist/arithmetic/divideScalar.d.ts.map +1 -0
- package/dist/arithmetic/dotDivide.d.ts +13 -0
- package/dist/arithmetic/dotDivide.d.ts.map +1 -0
- package/dist/arithmetic/dotMultiply.d.ts +11 -0
- package/dist/arithmetic/dotMultiply.d.ts.map +1 -0
- package/dist/arithmetic/dotPow.d.ts +16 -0
- package/dist/arithmetic/dotPow.d.ts.map +1 -0
- package/dist/arithmetic/exp.d.ts +7 -0
- package/dist/arithmetic/exp.d.ts.map +1 -0
- package/dist/arithmetic/expm1.d.ts +15 -0
- package/dist/arithmetic/expm1.d.ts.map +1 -0
- package/dist/arithmetic/fix.d.ts +30 -0
- package/dist/arithmetic/fix.d.ts.map +1 -0
- package/dist/arithmetic/floor.d.ts +22 -0
- package/dist/arithmetic/floor.d.ts.map +1 -0
- package/dist/arithmetic/gcd.d.ts +25 -0
- package/dist/arithmetic/gcd.d.ts.map +1 -0
- package/dist/arithmetic/hypot.d.ts +14 -0
- package/dist/arithmetic/hypot.d.ts.map +1 -0
- package/dist/arithmetic/invmod.d.ts +19 -0
- package/dist/arithmetic/invmod.d.ts.map +1 -0
- package/dist/arithmetic/lcm.d.ts +10 -0
- package/dist/arithmetic/lcm.d.ts.map +1 -0
- package/dist/arithmetic/log.d.ts +18 -0
- package/dist/arithmetic/log.d.ts.map +1 -0
- package/dist/arithmetic/log10.d.ts +18 -0
- package/dist/arithmetic/log10.d.ts.map +1 -0
- package/dist/arithmetic/log1p.d.ts +19 -0
- package/dist/arithmetic/log1p.d.ts.map +1 -0
- package/dist/arithmetic/log2.d.ts +17 -0
- package/dist/arithmetic/log2.d.ts.map +1 -0
- package/dist/arithmetic/mod.d.ts +15 -0
- package/dist/arithmetic/mod.d.ts.map +1 -0
- package/dist/arithmetic/multiplyScalar.d.ts +7 -0
- package/dist/arithmetic/multiplyScalar.d.ts.map +1 -0
- package/dist/arithmetic/norm.d.ts +33 -0
- package/dist/arithmetic/norm.d.ts.map +1 -0
- package/dist/arithmetic/nthRoot.d.ts +38 -0
- package/dist/arithmetic/nthRoot.d.ts.map +1 -0
- package/dist/arithmetic/nthRoots.d.ts +23 -0
- package/dist/arithmetic/nthRoots.d.ts.map +1 -0
- package/dist/arithmetic/pow.d.ts +34 -0
- package/dist/arithmetic/pow.d.ts.map +1 -0
- package/dist/arithmetic/round.d.ts +27 -0
- package/dist/arithmetic/round.d.ts.map +1 -0
- package/dist/arithmetic/sign.d.ts +31 -0
- package/dist/arithmetic/sign.d.ts.map +1 -0
- package/dist/arithmetic/sqrt.d.ts +16 -0
- package/dist/arithmetic/sqrt.d.ts.map +1 -0
- package/dist/arithmetic/square.d.ts +7 -0
- package/dist/arithmetic/square.d.ts.map +1 -0
- package/dist/arithmetic/subtract.d.ts +18 -0
- package/dist/arithmetic/subtract.d.ts.map +1 -0
- package/dist/arithmetic/subtractScalar.d.ts +7 -0
- package/dist/arithmetic/subtractScalar.d.ts.map +1 -0
- package/dist/arithmetic/unaryMinus.d.ts +10 -0
- package/dist/arithmetic/unaryMinus.d.ts.map +1 -0
- package/dist/arithmetic/unaryPlus.d.ts +10 -0
- package/dist/arithmetic/unaryPlus.d.ts.map +1 -0
- package/dist/arithmetic/utils/nodeOperations.d.ts +37 -0
- package/dist/arithmetic/utils/nodeOperations.d.ts.map +1 -0
- package/dist/arithmetic/xgcd.d.ts +25 -0
- package/dist/arithmetic/xgcd.d.ts.map +1 -0
- package/dist/bitwise/bitAnd.d.ts +10 -0
- package/dist/bitwise/bitAnd.d.ts.map +1 -0
- package/dist/bitwise/bitNot.d.ts +7 -0
- package/dist/bitwise/bitNot.d.ts.map +1 -0
- package/dist/bitwise/bitOr.d.ts +11 -0
- package/dist/bitwise/bitOr.d.ts.map +1 -0
- package/dist/bitwise/bitXor.d.ts +11 -0
- package/dist/bitwise/bitXor.d.ts.map +1 -0
- package/dist/bitwise/leftShift.d.ts +17 -0
- package/dist/bitwise/leftShift.d.ts.map +1 -0
- package/dist/bitwise/rightArithShift.d.ts +17 -0
- package/dist/bitwise/rightArithShift.d.ts.map +1 -0
- package/dist/bitwise/rightLogShift.d.ts +17 -0
- package/dist/bitwise/rightLogShift.d.ts.map +1 -0
- package/dist/bitwise/useMatrixForArrayScalar.d.ts +19 -0
- package/dist/bitwise/useMatrixForArrayScalar.d.ts.map +1 -0
- package/dist/combinatorics/bellNumbers.d.ts +14 -0
- package/dist/combinatorics/bellNumbers.d.ts.map +1 -0
- package/dist/combinatorics/catalan.d.ts +16 -0
- package/dist/combinatorics/catalan.d.ts.map +1 -0
- package/dist/combinatorics/composition.d.ts +16 -0
- package/dist/combinatorics/composition.d.ts.map +1 -0
- package/dist/combinatorics/stirlingS2.d.ts +22 -0
- package/dist/combinatorics/stirlingS2.d.ts.map +1 -0
- package/dist/complex/arg.d.ts +7 -0
- package/dist/complex/arg.d.ts.map +1 -0
- package/dist/complex/conj.d.ts +7 -0
- package/dist/complex/conj.d.ts.map +1 -0
- package/dist/complex/im.d.ts +7 -0
- package/dist/complex/im.d.ts.map +1 -0
- package/dist/complex/re.d.ts +7 -0
- package/dist/complex/re.d.ts.map +1 -0
- package/dist/core/config.d.ts +17 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/create.d.ts +137 -0
- package/dist/core/create.d.ts.map +1 -0
- package/dist/core/function/config.d.ts +35 -0
- package/dist/core/function/config.d.ts.map +1 -0
- package/dist/core/function/import.d.ts +30 -0
- package/dist/core/function/import.d.ts.map +1 -0
- package/dist/core/function/typed.d.ts +127 -0
- package/dist/core/function/typed.d.ts.map +1 -0
- package/dist/error/ArgumentsError.d.ts +21 -0
- package/dist/error/ArgumentsError.d.ts.map +1 -0
- package/dist/error/DimensionError.d.ts +18 -0
- package/dist/error/DimensionError.d.ts.map +1 -0
- package/dist/error/IndexError.d.ts +24 -0
- package/dist/error/IndexError.d.ts.map +1 -0
- package/dist/error/MathjsError.d.ts +13 -0
- package/dist/error/MathjsError.d.ts.map +1 -0
- package/dist/expression/operators.d.ts +942 -0
- package/dist/expression/operators.d.ts.map +1 -0
- package/dist/factories/evaluate.d.ts +91 -0
- package/dist/factories/evaluate.d.ts.map +1 -0
- package/dist/factories/index.d.ts +317 -0
- package/dist/factories/index.d.ts.map +1 -0
- package/dist/factories/matrix-bridge.d.ts +241 -0
- package/dist/factories/matrix-bridge.d.ts.map +1 -0
- package/dist/factories/scope.d.ts +12 -0
- package/dist/factories/scope.d.ts.map +1 -0
- package/dist/geometry/distance.d.ts +15 -0
- package/dist/geometry/distance.d.ts.map +1 -0
- package/dist/geometry/intersect.d.ts +26 -0
- package/dist/geometry/intersect.d.ts.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +59 -30
- package/dist/logical/and.d.ts +17 -0
- package/dist/logical/and.d.ts.map +1 -0
- package/dist/logical/not.d.ts +7 -0
- package/dist/logical/not.d.ts.map +1 -0
- package/dist/logical/nullish.d.ts +11 -0
- package/dist/logical/nullish.d.ts.map +1 -0
- package/dist/logical/or.d.ts +15 -0
- package/dist/logical/or.d.ts.map +1 -0
- package/dist/logical/xor.d.ts +15 -0
- package/dist/logical/xor.d.ts.map +1 -0
- package/dist/matrix/column.d.ts +22 -0
- package/dist/matrix/column.d.ts.map +1 -0
- package/dist/matrix/concat.d.ts +6 -0
- package/dist/matrix/concat.d.ts.map +1 -0
- package/dist/matrix/count.d.ts +9 -0
- package/dist/matrix/count.d.ts.map +1 -0
- package/dist/matrix/cross.d.ts +7 -0
- package/dist/matrix/cross.d.ts.map +1 -0
- package/dist/matrix/ctranspose.d.ts +9 -0
- package/dist/matrix/ctranspose.d.ts.map +1 -0
- package/dist/matrix/det.d.ts +42 -0
- package/dist/matrix/det.d.ts.map +1 -0
- package/dist/matrix/diag.d.ts +26 -0
- package/dist/matrix/diag.d.ts.map +1 -0
- package/dist/matrix/diff.d.ts +8 -0
- package/dist/matrix/diff.d.ts.map +1 -0
- package/dist/matrix/dot.d.ts +17 -0
- package/dist/matrix/dot.d.ts.map +1 -0
- package/dist/matrix/eigs/complexEigs.d.ts +48 -0
- package/dist/matrix/eigs/complexEigs.d.ts.map +1 -0
- package/dist/matrix/eigs/realSymmetric.d.ts +34 -0
- package/dist/matrix/eigs/realSymmetric.d.ts.map +1 -0
- package/dist/matrix/eigs.d.ts +75 -0
- package/dist/matrix/eigs.d.ts.map +1 -0
- package/dist/matrix/expm.d.ts +26 -0
- package/dist/matrix/expm.d.ts.map +1 -0
- package/dist/matrix/fft.d.ts +41 -0
- package/dist/matrix/fft.d.ts.map +1 -0
- package/dist/matrix/filter.d.ts +7 -0
- package/dist/matrix/filter.d.ts.map +1 -0
- package/dist/matrix/flatten.d.ts +7 -0
- package/dist/matrix/flatten.d.ts.map +1 -0
- package/dist/matrix/forEach.d.ts +7 -0
- package/dist/matrix/forEach.d.ts.map +1 -0
- package/dist/matrix/getMatrixDataType.d.ts +7 -0
- package/dist/matrix/getMatrixDataType.d.ts.map +1 -0
- package/dist/matrix/identity.d.ts +41 -0
- package/dist/matrix/identity.d.ts.map +1 -0
- package/dist/matrix/ifft.d.ts +33 -0
- package/dist/matrix/ifft.d.ts.map +1 -0
- package/dist/matrix/inv.d.ts +48 -0
- package/dist/matrix/inv.d.ts.map +1 -0
- package/dist/matrix/kron.d.ts +17 -0
- package/dist/matrix/kron.d.ts.map +1 -0
- package/dist/matrix/map.d.ts +7 -0
- package/dist/matrix/map.d.ts.map +1 -0
- package/dist/matrix/mapSlices.d.ts +6 -0
- package/dist/matrix/mapSlices.d.ts.map +1 -0
- package/dist/matrix/matrixFromColumns.d.ts +36 -0
- package/dist/matrix/matrixFromColumns.d.ts.map +1 -0
- package/dist/matrix/matrixFromFunction.d.ts +7 -0
- package/dist/matrix/matrixFromFunction.d.ts.map +1 -0
- package/dist/matrix/matrixFromRows.d.ts +36 -0
- package/dist/matrix/matrixFromRows.d.ts.map +1 -0
- package/dist/matrix/ones.d.ts +3 -0
- package/dist/matrix/ones.d.ts.map +1 -0
- package/dist/matrix/partitionSelect.d.ts +13 -0
- package/dist/matrix/partitionSelect.d.ts.map +1 -0
- package/dist/matrix/pinv.d.ts +51 -0
- package/dist/matrix/pinv.d.ts.map +1 -0
- package/dist/matrix/range.d.ts +27 -0
- package/dist/matrix/range.d.ts.map +1 -0
- package/dist/matrix/reshape.d.ts +8 -0
- package/dist/matrix/reshape.d.ts.map +1 -0
- package/dist/matrix/resize.d.ts +17 -0
- package/dist/matrix/resize.d.ts.map +1 -0
- package/dist/matrix/rotate.d.ts +7 -0
- package/dist/matrix/rotate.d.ts.map +1 -0
- package/dist/matrix/rotationMatrix.d.ts +17 -0
- package/dist/matrix/rotationMatrix.d.ts.map +1 -0
- package/dist/matrix/row.d.ts +22 -0
- package/dist/matrix/row.d.ts.map +1 -0
- package/dist/matrix/size.d.ts +9 -0
- package/dist/matrix/size.d.ts.map +1 -0
- package/dist/matrix/sort.d.ts +8 -0
- package/dist/matrix/sort.d.ts.map +1 -0
- package/dist/matrix/sqrtm.d.ts +33 -0
- package/dist/matrix/sqrtm.d.ts.map +1 -0
- package/dist/matrix/squeeze.d.ts +7 -0
- package/dist/matrix/squeeze.d.ts.map +1 -0
- package/dist/matrix/subset.d.ts +7 -0
- package/dist/matrix/subset.d.ts.map +1 -0
- package/dist/matrix/trace.d.ts +25 -0
- package/dist/matrix/trace.d.ts.map +1 -0
- package/dist/matrix/transpose.d.ts +45 -0
- package/dist/matrix/transpose.d.ts.map +1 -0
- package/dist/matrix/utils/zerosAndOnes.d.ts +32 -0
- package/dist/matrix/utils/zerosAndOnes.d.ts.map +1 -0
- package/dist/matrix/zeros.d.ts +3 -0
- package/dist/matrix/zeros.d.ts.map +1 -0
- package/dist/numeric/solveODE.d.ts +2 -0
- package/dist/numeric/solveODE.d.ts.map +1 -0
- package/dist/plain/number/arithmetic.d.ts +168 -0
- package/dist/plain/number/arithmetic.d.ts.map +1 -0
- package/dist/plain/number/bitwise.d.ts +29 -0
- package/dist/plain/number/bitwise.d.ts.map +1 -0
- package/dist/plain/number/combinations.d.ts +5 -0
- package/dist/plain/number/combinations.d.ts.map +1 -0
- package/dist/plain/number/constants.d.ts +5 -0
- package/dist/plain/number/constants.d.ts.map +1 -0
- package/dist/plain/number/index.d.ts +10 -0
- package/dist/plain/number/index.d.ts.map +1 -0
- package/dist/plain/number/logical.d.ts +17 -0
- package/dist/plain/number/logical.d.ts.map +1 -0
- package/dist/plain/number/probability.d.ts +15 -0
- package/dist/plain/number/probability.d.ts.map +1 -0
- package/dist/plain/number/relational.d.ts +29 -0
- package/dist/plain/number/relational.d.ts.map +1 -0
- package/dist/plain/number/trigonometry.d.ts +101 -0
- package/dist/plain/number/trigonometry.d.ts.map +1 -0
- package/dist/plain/number/utils.d.ts +21 -0
- package/dist/plain/number/utils.d.ts.map +1 -0
- package/dist/probability/bernoulli.d.ts +19 -0
- package/dist/probability/bernoulli.d.ts.map +1 -0
- package/dist/probability/combinations.d.ts +7 -0
- package/dist/probability/combinations.d.ts.map +1 -0
- package/dist/probability/combinationsWithRep.d.ts +7 -0
- package/dist/probability/combinationsWithRep.d.ts.map +1 -0
- package/dist/probability/factorial.d.ts +8 -0
- package/dist/probability/factorial.d.ts.map +1 -0
- package/dist/probability/gamma.d.ts +45 -0
- package/dist/probability/gamma.d.ts.map +1 -0
- package/dist/probability/kldivergence.d.ts +18 -0
- package/dist/probability/kldivergence.d.ts.map +1 -0
- package/dist/probability/lgamma.d.ts +24 -0
- package/dist/probability/lgamma.d.ts.map +1 -0
- package/dist/probability/multinomial.d.ts +13 -0
- package/dist/probability/multinomial.d.ts.map +1 -0
- package/dist/probability/permutations.d.ts +8 -0
- package/dist/probability/permutations.d.ts.map +1 -0
- package/dist/probability/pickRandom.d.ts +10 -0
- package/dist/probability/pickRandom.d.ts.map +1 -0
- package/dist/probability/random.d.ts +11 -0
- package/dist/probability/random.d.ts.map +1 -0
- package/dist/probability/randomInt.d.ts +11 -0
- package/dist/probability/randomInt.d.ts.map +1 -0
- package/dist/probability/util/randomMatrix.d.ts +10 -0
- package/dist/probability/util/randomMatrix.d.ts.map +1 -0
- package/dist/probability/util/seededRNG.d.ts +4 -0
- package/dist/probability/util/seededRNG.d.ts.map +1 -0
- package/dist/relational/compare.d.ts +38 -0
- package/dist/relational/compare.d.ts.map +1 -0
- package/dist/relational/compareNatural.d.ts +8 -0
- package/dist/relational/compareNatural.d.ts.map +1 -0
- package/dist/relational/compareText.d.ts +15 -0
- package/dist/relational/compareText.d.ts.map +1 -0
- package/dist/relational/compareUnits.d.ts +9 -0
- package/dist/relational/compareUnits.d.ts.map +1 -0
- package/dist/relational/deepEqual.d.ts +8 -0
- package/dist/relational/deepEqual.d.ts.map +1 -0
- package/dist/relational/equal.d.ts +26 -0
- package/dist/relational/equal.d.ts.map +1 -0
- package/dist/relational/equalScalar.d.ts +11 -0
- package/dist/relational/equalScalar.d.ts.map +1 -0
- package/dist/relational/equalText.d.ts +9 -0
- package/dist/relational/equalText.d.ts.map +1 -0
- package/dist/relational/larger.d.ts +34 -0
- package/dist/relational/larger.d.ts.map +1 -0
- package/dist/relational/largerEq.d.ts +27 -0
- package/dist/relational/largerEq.d.ts.map +1 -0
- package/dist/relational/smaller.d.ts +34 -0
- package/dist/relational/smaller.d.ts.map +1 -0
- package/dist/relational/smallerEq.d.ts +27 -0
- package/dist/relational/smallerEq.d.ts.map +1 -0
- package/dist/relational/unequal.d.ts +28 -0
- package/dist/relational/unequal.d.ts.map +1 -0
- package/dist/set/setCartesian.d.ts +15 -0
- package/dist/set/setCartesian.d.ts.map +1 -0
- package/dist/set/setDifference.d.ts +15 -0
- package/dist/set/setDifference.d.ts.map +1 -0
- package/dist/set/setDistinct.d.ts +2 -0
- package/dist/set/setDistinct.d.ts.map +1 -0
- package/dist/set/setIntersect.d.ts +15 -0
- package/dist/set/setIntersect.d.ts.map +1 -0
- package/dist/set/setIsSubset.d.ts +2 -0
- package/dist/set/setIsSubset.d.ts.map +1 -0
- package/dist/set/setMultiplicity.d.ts +2 -0
- package/dist/set/setMultiplicity.d.ts.map +1 -0
- package/dist/set/setPowerset.d.ts +2 -0
- package/dist/set/setPowerset.d.ts.map +1 -0
- package/dist/set/setSize.d.ts +2 -0
- package/dist/set/setSize.d.ts.map +1 -0
- package/dist/set/setSymDifference.d.ts +15 -0
- package/dist/set/setSymDifference.d.ts.map +1 -0
- package/dist/set/setUnion.d.ts +16 -0
- package/dist/set/setUnion.d.ts.map +1 -0
- package/dist/signal/freqz.d.ts +2 -0
- package/dist/signal/freqz.d.ts.map +1 -0
- package/dist/signal/zpk2tf.d.ts +2 -0
- package/dist/signal/zpk2tf.d.ts.map +1 -0
- package/dist/special/erf.d.ts +7 -0
- package/dist/special/erf.d.ts.map +1 -0
- package/dist/special/zeta.d.ts +38 -0
- package/dist/special/zeta.d.ts.map +1 -0
- package/dist/statistics/corr.d.ts +18 -0
- package/dist/statistics/corr.d.ts.map +1 -0
- package/dist/statistics/cumsum.d.ts +9 -0
- package/dist/statistics/cumsum.d.ts.map +1 -0
- package/dist/statistics/mad.d.ts +11 -0
- package/dist/statistics/mad.d.ts.map +1 -0
- package/dist/statistics/max.d.ts +12 -0
- package/dist/statistics/max.d.ts.map +1 -0
- package/dist/statistics/mean.d.ts +9 -0
- package/dist/statistics/mean.d.ts.map +1 -0
- package/dist/statistics/median.d.ts +11 -0
- package/dist/statistics/median.d.ts.map +1 -0
- package/dist/statistics/min.d.ts +12 -0
- package/dist/statistics/min.d.ts.map +1 -0
- package/dist/statistics/mode.d.ts +9 -0
- package/dist/statistics/mode.d.ts.map +1 -0
- package/dist/statistics/prod.d.ts +12 -0
- package/dist/statistics/prod.d.ts.map +1 -0
- package/dist/statistics/quantileSeq.d.ts +26 -0
- package/dist/statistics/quantileSeq.d.ts.map +1 -0
- package/dist/statistics/std.d.ts +10 -0
- package/dist/statistics/std.d.ts.map +1 -0
- package/dist/statistics/sum.d.ts +12 -0
- package/dist/statistics/sum.d.ts.map +1 -0
- package/dist/statistics/utils/improveErrorMessage.d.ts +18 -0
- package/dist/statistics/utils/improveErrorMessage.d.ts.map +1 -0
- package/dist/statistics/variance.d.ts +13 -0
- package/dist/statistics/variance.d.ts.map +1 -0
- package/dist/string/bin.d.ts +36 -0
- package/dist/string/bin.d.ts.map +1 -0
- package/dist/string/format.d.ts +7 -0
- package/dist/string/format.d.ts.map +1 -0
- package/dist/string/hex.d.ts +35 -0
- package/dist/string/hex.d.ts.map +1 -0
- package/dist/string/oct.d.ts +36 -0
- package/dist/string/oct.d.ts.map +1 -0
- package/dist/string/print.d.ts +7 -0
- package/dist/string/print.d.ts.map +1 -0
- package/dist/trigonometry/acos.d.ts +16 -0
- package/dist/trigonometry/acos.d.ts.map +1 -0
- package/dist/trigonometry/acosh.d.ts +14 -0
- package/dist/trigonometry/acosh.d.ts.map +1 -0
- package/dist/trigonometry/acot.d.ts +12 -0
- package/dist/trigonometry/acot.d.ts.map +1 -0
- package/dist/trigonometry/acoth.d.ts +19 -0
- package/dist/trigonometry/acoth.d.ts.map +1 -0
- package/dist/trigonometry/acsc.d.ts +19 -0
- package/dist/trigonometry/acsc.d.ts.map +1 -0
- package/dist/trigonometry/acsch.d.ts +12 -0
- package/dist/trigonometry/acsch.d.ts.map +1 -0
- package/dist/trigonometry/asec.d.ts +19 -0
- package/dist/trigonometry/asec.d.ts.map +1 -0
- package/dist/trigonometry/asech.d.ts +19 -0
- package/dist/trigonometry/asech.d.ts.map +1 -0
- package/dist/trigonometry/asin.d.ts +16 -0
- package/dist/trigonometry/asin.d.ts.map +1 -0
- package/dist/trigonometry/asinh.d.ts +5 -0
- package/dist/trigonometry/asinh.d.ts.map +1 -0
- package/dist/trigonometry/atan.d.ts +7 -0
- package/dist/trigonometry/atan.d.ts.map +1 -0
- package/dist/trigonometry/atan2.d.ts +22 -0
- package/dist/trigonometry/atan2.d.ts.map +1 -0
- package/dist/trigonometry/atanh.d.ts +14 -0
- package/dist/trigonometry/atanh.d.ts.map +1 -0
- package/dist/trigonometry/cos.d.ts +7 -0
- package/dist/trigonometry/cos.d.ts.map +1 -0
- package/dist/trigonometry/cosh.d.ts +7 -0
- package/dist/trigonometry/cosh.d.ts.map +1 -0
- package/dist/trigonometry/cot.d.ts +12 -0
- package/dist/trigonometry/cot.d.ts.map +1 -0
- package/dist/trigonometry/coth.d.ts +12 -0
- package/dist/trigonometry/coth.d.ts.map +1 -0
- package/dist/trigonometry/csc.d.ts +12 -0
- package/dist/trigonometry/csc.d.ts.map +1 -0
- package/dist/trigonometry/csch.d.ts +12 -0
- package/dist/trigonometry/csch.d.ts.map +1 -0
- package/dist/trigonometry/sec.d.ts +12 -0
- package/dist/trigonometry/sec.d.ts.map +1 -0
- package/dist/trigonometry/sech.d.ts +12 -0
- package/dist/trigonometry/sech.d.ts.map +1 -0
- package/dist/trigonometry/sin.d.ts +7 -0
- package/dist/trigonometry/sin.d.ts.map +1 -0
- package/dist/trigonometry/sinh.d.ts +7 -0
- package/dist/trigonometry/sinh.d.ts.map +1 -0
- package/dist/trigonometry/tan.d.ts +7 -0
- package/dist/trigonometry/tan.d.ts.map +1 -0
- package/dist/trigonometry/tanh.d.ts +7 -0
- package/dist/trigonometry/tanh.d.ts.map +1 -0
- package/dist/trigonometry/trigUnit.d.ts +9 -0
- package/dist/trigonometry/trigUnit.d.ts.map +1 -0
- package/dist/type/bignumber/BigNumber.d.ts +46 -0
- package/dist/type/bignumber/BigNumber.d.ts.map +1 -0
- package/dist/type/chain/Chain.d.ts +58 -0
- package/dist/type/chain/Chain.d.ts.map +1 -0
- package/dist/type/chain/function/chain.d.ts +6 -0
- package/dist/type/chain/function/chain.d.ts.map +1 -0
- package/dist/type/complex/Complex.d.ts +74 -0
- package/dist/type/complex/Complex.d.ts.map +1 -0
- package/dist/type/local/Decimal.d.ts +223 -0
- package/dist/type/local/Decimal.d.ts.map +1 -0
- package/dist/type/matrix/FibonacciHeap.d.ts +59 -0
- package/dist/type/matrix/FibonacciHeap.d.ts.map +1 -0
- package/dist/type/matrix/ImmutableDenseMatrix.d.ts +282 -0
- package/dist/type/matrix/ImmutableDenseMatrix.d.ts.map +1 -0
- package/dist/type/matrix/MatrixIndex.d.ts +386 -0
- package/dist/type/matrix/MatrixIndex.d.ts.map +1 -0
- package/dist/type/matrix/Spa.d.ts +40 -0
- package/dist/type/matrix/Spa.d.ts.map +1 -0
- package/dist/type/matrix/function/index.d.ts +11 -0
- package/dist/type/matrix/function/index.d.ts.map +1 -0
- package/dist/type/matrix/types.d.ts +435 -0
- package/dist/type/matrix/types.d.ts.map +1 -0
- package/dist/type/matrix/utils/broadcast.d.ts +18 -0
- package/dist/type/matrix/utils/broadcast.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo01xDSid.d.ts +34 -0
- package/dist/type/matrix/utils/matAlgo01xDSid.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo02xDS0.d.ts +32 -0
- package/dist/type/matrix/utils/matAlgo02xDS0.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo03xDSf.d.ts +31 -0
- package/dist/type/matrix/utils/matAlgo03xDSf.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo04xSidSid.d.ts +21 -0
- package/dist/type/matrix/utils/matAlgo04xSidSid.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo05xSfSf.d.ts +21 -0
- package/dist/type/matrix/utils/matAlgo05xSfSf.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo06xS0S0.d.ts +21 -0
- package/dist/type/matrix/utils/matAlgo06xS0S0.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo07xSSf.d.ts +26 -0
- package/dist/type/matrix/utils/matAlgo07xSSf.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo08xS0Sid.d.ts +21 -0
- package/dist/type/matrix/utils/matAlgo08xS0Sid.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo09xS0Sf.d.ts +21 -0
- package/dist/type/matrix/utils/matAlgo09xS0Sf.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo10xSids.d.ts +33 -0
- package/dist/type/matrix/utils/matAlgo10xSids.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo11xS0s.d.ts +19 -0
- package/dist/type/matrix/utils/matAlgo11xS0s.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo12xSfs.d.ts +33 -0
- package/dist/type/matrix/utils/matAlgo12xSfs.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo13xDD.d.ts +20 -0
- package/dist/type/matrix/utils/matAlgo13xDD.d.ts.map +1 -0
- package/dist/type/matrix/utils/matAlgo14xDs.d.ts +19 -0
- package/dist/type/matrix/utils/matAlgo14xDs.d.ts.map +1 -0
- package/dist/type/matrix/utils/matrixAlgorithmSuite.d.ts +23 -0
- package/dist/type/matrix/utils/matrixAlgorithmSuite.d.ts.map +1 -0
- package/dist/type/resultset/ResultSet.d.ts +28 -0
- package/dist/type/resultset/ResultSet.d.ts.map +1 -0
- package/dist/type/unit/Unit.d.ts +13907 -0
- package/dist/type/unit/Unit.d.ts.map +1 -0
- package/dist/type/unit/function/createUnit.d.ts +40 -0
- package/dist/type/unit/function/createUnit.d.ts.map +1 -0
- package/dist/type/unit/function/splitUnit.d.ts +10 -0
- package/dist/type/unit/function/splitUnit.d.ts.map +1 -0
- package/dist/type/unit/function/unit.d.ts +27 -0
- package/dist/type/unit/function/unit.d.ts.map +1 -0
- package/dist/type/unit/physicalConstants.d.ts +89 -0
- package/dist/type/unit/physicalConstants.d.ts.map +1 -0
- package/dist/typed/algebra.d.ts +418 -0
- package/dist/typed/algebra.d.ts.map +1 -0
- package/dist/typed/arithmetic.d.ts +302 -0
- package/dist/typed/arithmetic.d.ts.map +1 -0
- package/dist/typed/bitwise.d.ts +48 -0
- package/dist/typed/bitwise.d.ts.map +1 -0
- package/dist/typed/cas.d.ts +691 -0
- package/dist/typed/cas.d.ts.map +1 -0
- package/dist/typed/combinatorics.d.ts +333 -0
- package/dist/typed/combinatorics.d.ts.map +1 -0
- package/dist/typed/complex.d.ts +91 -0
- package/dist/typed/complex.d.ts.map +1 -0
- package/dist/typed/dist-objects.d.ts +219 -0
- package/dist/typed/dist-objects.d.ts.map +1 -0
- package/dist/typed/distributions.d.ts +247 -0
- package/dist/typed/distributions.d.ts.map +1 -0
- package/dist/typed/geometry.d.ts +329 -0
- package/dist/typed/geometry.d.ts.map +1 -0
- package/dist/typed/gpu.d.ts +62 -0
- package/dist/typed/gpu.d.ts.map +1 -0
- package/dist/typed/graph.d.ts +339 -0
- package/dist/typed/graph.d.ts.map +1 -0
- package/dist/typed/hypothesis.d.ts +274 -0
- package/dist/typed/hypothesis.d.ts.map +1 -0
- package/dist/typed/index.d.ts +299 -0
- package/dist/typed/index.d.ts.map +1 -0
- package/dist/typed/integration.d.ts +219 -0
- package/dist/typed/integration.d.ts.map +1 -0
- package/dist/typed/interpolation.d.ts +189 -0
- package/dist/typed/interpolation.d.ts.map +1 -0
- package/dist/typed/logical.d.ts +87 -0
- package/dist/typed/logical.d.ts.map +1 -0
- package/dist/typed/matrix-ops.d.ts +303 -0
- package/dist/typed/matrix-ops.d.ts.map +1 -0
- package/dist/typed/numeric.d.ts +395 -0
- package/dist/typed/numeric.d.ts.map +1 -0
- package/dist/typed/probability.d.ts +165 -0
- package/dist/typed/probability.d.ts.map +1 -0
- package/dist/typed/relational.d.ts +136 -0
- package/dist/typed/relational.d.ts.map +1 -0
- package/dist/typed/set.d.ts +145 -0
- package/dist/typed/set.d.ts.map +1 -0
- package/dist/typed/signal.d.ts +427 -0
- package/dist/typed/signal.d.ts.map +1 -0
- package/dist/typed/special.d.ts +469 -0
- package/dist/typed/special.d.ts.map +1 -0
- package/dist/typed/statistics.d.ts +174 -0
- package/dist/typed/statistics.d.ts.map +1 -0
- package/dist/typed/string.d.ts +114 -0
- package/dist/typed/string.d.ts.map +1 -0
- package/dist/typed/trigonometry.d.ts +111 -0
- package/dist/typed/trigonometry.d.ts.map +1 -0
- package/dist/typed/typed-bridge.d.ts +6 -0
- package/dist/typed/typed-bridge.d.ts.map +1 -0
- package/dist/typed/unit.d.ts +60 -0
- package/dist/typed/unit.d.ts.map +1 -0
- package/dist/types.d.ts +20 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/unit/to.d.ts +13 -0
- package/dist/unit/to.d.ts.map +1 -0
- package/dist/unit/toBest.d.ts +5 -0
- package/dist/unit/toBest.d.ts.map +1 -0
- package/dist/utils/array.d.ts +249 -0
- package/dist/utils/array.d.ts.map +1 -0
- package/dist/utils/bigint.d.ts +18 -0
- package/dist/utils/bigint.d.ts.map +1 -0
- package/dist/utils/bignumber/bitwise.d.ts +99 -0
- package/dist/utils/bignumber/bitwise.d.ts.map +1 -0
- package/dist/utils/bignumber/constants.d.ts +25 -0
- package/dist/utils/bignumber/constants.d.ts.map +1 -0
- package/dist/utils/bignumber/formatter.d.ts +105 -0
- package/dist/utils/bignumber/formatter.d.ts.map +1 -0
- package/dist/utils/bignumber/nearlyEqual.d.ts +18 -0
- package/dist/utils/bignumber/nearlyEqual.d.ts.map +1 -0
- package/dist/utils/clone.d.ts +7 -0
- package/dist/utils/clone.d.ts.map +1 -0
- package/dist/utils/collection.d.ts +67 -0
- package/dist/utils/collection.d.ts.map +1 -0
- package/dist/utils/complex.d.ts +11 -0
- package/dist/utils/complex.d.ts.map +1 -0
- package/dist/utils/customs.d.ts +51 -0
- package/dist/utils/customs.d.ts.map +1 -0
- package/dist/utils/emitter.d.ts +13 -0
- package/dist/utils/emitter.d.ts.map +1 -0
- package/dist/utils/factory.d.ts +112 -0
- package/dist/utils/factory.d.ts.map +1 -0
- package/dist/utils/function.d.ts +44 -0
- package/dist/utils/function.d.ts.map +1 -0
- package/dist/utils/hasNumericValue.d.ts +8 -0
- package/dist/utils/hasNumericValue.d.ts.map +1 -0
- package/dist/utils/is.d.ts +204 -0
- package/dist/utils/is.d.ts.map +1 -0
- package/dist/utils/isBounded.d.ts +6 -0
- package/dist/utils/isBounded.d.ts.map +1 -0
- package/dist/utils/isFinite.d.ts +10 -0
- package/dist/utils/isFinite.d.ts.map +1 -0
- package/dist/utils/isInteger.d.ts +8 -0
- package/dist/utils/isInteger.d.ts.map +1 -0
- package/dist/utils/isNaN.d.ts +7 -0
- package/dist/utils/isNaN.d.ts.map +1 -0
- package/dist/utils/isNegative.d.ts +9 -0
- package/dist/utils/isNegative.d.ts.map +1 -0
- package/dist/utils/isNumeric.d.ts +6 -0
- package/dist/utils/isNumeric.d.ts.map +1 -0
- package/dist/utils/isPositive.d.ts +9 -0
- package/dist/utils/isPositive.d.ts.map +1 -0
- package/dist/utils/isPrime.d.ts +7 -0
- package/dist/utils/isPrime.d.ts.map +1 -0
- package/dist/utils/isZero.d.ts +8 -0
- package/dist/utils/isZero.d.ts.map +1 -0
- package/dist/utils/log.d.ts +5 -0
- package/dist/utils/log.d.ts.map +1 -0
- package/dist/utils/lruQueue.d.ts +6 -0
- package/dist/utils/lruQueue.d.ts.map +1 -0
- package/dist/utils/map.d.ts +95 -0
- package/dist/utils/map.d.ts.map +1 -0
- package/dist/utils/node.d.ts +2 -0
- package/dist/utils/node.d.ts.map +1 -0
- package/dist/utils/noop.d.ts +6 -0
- package/dist/utils/noop.d.ts.map +1 -0
- package/dist/utils/number.d.ts +314 -0
- package/dist/utils/number.d.ts.map +1 -0
- package/dist/utils/numeric.d.ts +10 -0
- package/dist/utils/numeric.d.ts.map +1 -0
- package/dist/utils/object.d.ts +123 -0
- package/dist/utils/object.d.ts.map +1 -0
- package/dist/utils/optimizeCallback.d.ts +22 -0
- package/dist/utils/optimizeCallback.d.ts.map +1 -0
- package/dist/utils/parseNumber.d.ts +2 -0
- package/dist/utils/parseNumber.d.ts.map +1 -0
- package/dist/utils/print.d.ts +2 -0
- package/dist/utils/print.d.ts.map +1 -0
- package/dist/utils/product.d.ts +6 -0
- package/dist/utils/product.d.ts.map +1 -0
- package/dist/utils/string.d.ts +66 -0
- package/dist/utils/string.d.ts.map +1 -0
- package/dist/utils/switch.d.ts +8 -0
- package/dist/utils/switch.d.ts.map +1 -0
- package/dist/utils/typeOf.d.ts +7 -0
- package/dist/utils/typeOf.d.ts.map +1 -0
- package/dist/wasm/WasmLoader.d.ts +395 -0
- package/dist/wasm/WasmLoader.d.ts.map +1 -0
- package/dist/wasm/bitwise/wasm-bridge.d.ts +65 -0
- package/dist/wasm/bitwise/wasm-bridge.d.ts.map +1 -0
- package/dist/wasm/integrity.d.ts +48 -0
- package/dist/wasm/integrity.d.ts.map +1 -0
- package/dist/wasm/interpolation/wasm-bridge.d.ts +95 -0
- package/dist/wasm/interpolation/wasm-bridge.d.ts.map +1 -0
- package/dist/wasm/poly/wasm-bridge.d.ts +99 -0
- package/dist/wasm/poly/wasm-bridge.d.ts.map +1 -0
- package/dist/wasm/signal/wasm-bridge.d.ts +61 -0
- package/dist/wasm/signal/wasm-bridge.d.ts.map +1 -0
- package/dist/wasm/sort/wasm-bridge.d.ts +43 -0
- package/dist/wasm/sort/wasm-bridge.d.ts.map +1 -0
- package/dist/wasm/special/wasm-bridge.d.ts +133 -0
- package/dist/wasm/special/wasm-bridge.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Unit.d.ts","sourceRoot":"","sources":["../../../src/type/unit/Unit.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,eAAe;WA6CJ,GAAG,UAAU,GAAG,kBAAkB,GAAG;eA6L7B,MAAM,YAAY,GAAG,GAAG,GAAG;0BAkVhB,MAAM,GAAG,OAAO;mBAofvB,GAAG;wBAkkEE,MAAM,GAAG,IAAI;qBAkBhB,MAAM,GAAG,SAAS;IAUpD;;;OAGG;;uBAEuB,GAAG;sBAKJ,GAAG;qBAIJ,GAAG;oBAIJ,GAAG;;8BA6BiB,GAAG;oBAsCD,MAAM,GAAG,OAAO;oBA0C5B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,YAAY,GAAG,GAAG,GAAG;2BAoDjC,MAAM,QAAQ,GAAG,GAAG,GAAG;qBA2L7B,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0lCzB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { TypedFunction } from '../../../core/function/typed.js';
|
|
2
|
+
/**
|
|
3
|
+
* Unit definition options
|
|
4
|
+
*/
|
|
5
|
+
interface UnitDefinitionOptions {
|
|
6
|
+
prefixes?: string;
|
|
7
|
+
aliases?: string[];
|
|
8
|
+
offset?: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Unit definition object
|
|
12
|
+
*/
|
|
13
|
+
interface UnitDefinition {
|
|
14
|
+
definition?: string;
|
|
15
|
+
aliases?: string[];
|
|
16
|
+
prefixes?: string | object;
|
|
17
|
+
offset?: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Unit instance interface
|
|
21
|
+
*/
|
|
22
|
+
interface UnitInstance {
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Unit class interface with createUnit static method
|
|
27
|
+
*/
|
|
28
|
+
interface UnitClass {
|
|
29
|
+
createUnit(obj: Record<string, string | UnitInstance | UnitDefinition>, options: UnitDefinitionOptions): UnitInstance;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Dependencies for createCreateUnit
|
|
33
|
+
*/
|
|
34
|
+
interface CreateUnitDependencies {
|
|
35
|
+
typed: TypedFunction;
|
|
36
|
+
Unit: UnitClass;
|
|
37
|
+
}
|
|
38
|
+
export declare const createCreateUnit: import("../../../utils/factory.js").FactoryFunction<CreateUnitDependencies, unknown>;
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=createUnit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createUnit.d.ts","sourceRoot":"","sources":["../../../../src/type/unit/function/createUnit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,UAAU,cAAc;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,UAAU,YAAY;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,UAAU,SAAS;IACjB,UAAU,CACR,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,cAAc,CAAC,EAC3D,OAAO,EAAE,qBAAqB,GAC7B,YAAY,CAAC;CACjB;AAED;;GAEG;AACH,UAAU,sBAAsB;IAC9B,KAAK,EAAE,aAAa,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC;CACjB;AAKD,eAAO,MAAM,gBAAgB,sFAyF5B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TypedFunction } from '../../../core/function/typed.js';
|
|
2
|
+
/**
|
|
3
|
+
* Dependencies for createSplitUnit
|
|
4
|
+
*/
|
|
5
|
+
interface SplitUnitDependencies {
|
|
6
|
+
typed: TypedFunction;
|
|
7
|
+
}
|
|
8
|
+
export declare const createSplitUnit: import("../../../utils/factory.js").FactoryFunction<SplitUnitDependencies, unknown>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=splitUnit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitUnit.d.ts","sourceRoot":"","sources":["../../../../src/type/unit/function/splitUnit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AASrE;;GAEG;AACH,UAAU,qBAAqB;IAC7B,KAAK,EAAE,aAAa,CAAC;CACtB;AAKD,eAAO,MAAM,eAAe,qFAgC3B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { TypedFunction } from '../../../core/function/typed.js';
|
|
2
|
+
/**
|
|
3
|
+
* Unit class interface
|
|
4
|
+
*/
|
|
5
|
+
interface UnitClass {
|
|
6
|
+
new (value: number | null, unit?: string): UnitInstance;
|
|
7
|
+
parse(str: string, options?: {
|
|
8
|
+
allowNoUnits?: boolean;
|
|
9
|
+
}): UnitInstance;
|
|
10
|
+
isValuelessUnit(str: string): boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Unit instance interface
|
|
14
|
+
*/
|
|
15
|
+
interface UnitInstance {
|
|
16
|
+
clone(): UnitInstance;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Dependencies for createUnitFunction
|
|
20
|
+
*/
|
|
21
|
+
interface UnitFunctionDependencies {
|
|
22
|
+
typed: TypedFunction;
|
|
23
|
+
Unit: UnitClass;
|
|
24
|
+
}
|
|
25
|
+
export declare const createUnitFunction: import("../../../utils/factory.js").FactoryFunction<UnitFunctionDependencies, unknown>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=unit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unit.d.ts","sourceRoot":"","sources":["../../../../src/type/unit/function/unit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAGrE;;GAEG;AACH,UAAU,SAAS;IACjB,KAAK,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACxD,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,YAAY,CAAC;IACvE,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACvC;AAED;;GAEG;AACH,UAAU,YAAY;IACpB,KAAK,IAAI,YAAY,CAAC;CACvB;AAED;;GAEG;AACH,UAAU,wBAAwB;IAChC,KAAK,EAAE,aAAa,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC;CACjB;AAMD,eAAO,MAAM,kBAAkB,wFA+D9B,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { MathJsConfig } from '../../core/config.js';
|
|
2
|
+
import type Decimal from 'decimal.js';
|
|
3
|
+
/**
|
|
4
|
+
* Constructor for BigNumber instances
|
|
5
|
+
*/
|
|
6
|
+
interface BigNumberConstructor {
|
|
7
|
+
new (value: string | number): Decimal;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Unit class interface for physical constants
|
|
11
|
+
*/
|
|
12
|
+
interface UnitClass {
|
|
13
|
+
new (value: number | Decimal, unit: string): UnitInstance;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Unit instance with fixPrefix property
|
|
17
|
+
*/
|
|
18
|
+
export interface UnitInstance {
|
|
19
|
+
fixPrefix: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Dependencies for unit factory functions
|
|
23
|
+
*/
|
|
24
|
+
interface UnitFactoryDependencies {
|
|
25
|
+
config: MathJsConfig;
|
|
26
|
+
Unit: UnitClass;
|
|
27
|
+
BigNumber: BigNumberConstructor;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Dependencies for number factory functions
|
|
31
|
+
*/
|
|
32
|
+
interface NumberFactoryDependencies {
|
|
33
|
+
config: MathJsConfig;
|
|
34
|
+
BigNumber: BigNumberConstructor;
|
|
35
|
+
}
|
|
36
|
+
export declare const createSpeedOfLight: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
37
|
+
export declare const createGravitationConstant: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
38
|
+
export declare const createPlanckConstant: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
39
|
+
export declare const createReducedPlanckConstant: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
40
|
+
export declare const createMagneticConstant: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
41
|
+
export declare const createElectricConstant: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
42
|
+
export declare const createVacuumImpedance: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
43
|
+
export declare const createCoulomb: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
44
|
+
export declare const createCoulombConstant: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
45
|
+
export declare const createElementaryCharge: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
46
|
+
export declare const createBohrMagneton: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
47
|
+
export declare const createConductanceQuantum: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
48
|
+
export declare const createInverseConductanceQuantum: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
49
|
+
export declare const createMagneticFluxQuantum: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
50
|
+
export declare const createNuclearMagneton: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
51
|
+
export declare const createKlitzing: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
52
|
+
export declare const createJosephson: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
53
|
+
export declare const createBohrRadius: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
54
|
+
export declare const createClassicalElectronRadius: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
55
|
+
export declare const createElectronMass: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
56
|
+
export declare const createFermiCoupling: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
57
|
+
export declare const createFineStructure: import("../../utils/factory.js").FactoryFunction<NumberFactoryDependencies, string | number | Decimal>;
|
|
58
|
+
export declare const createHartreeEnergy: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
59
|
+
export declare const createProtonMass: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
60
|
+
export declare const createDeuteronMass: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
61
|
+
export declare const createNeutronMass: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
62
|
+
export declare const createQuantumOfCirculation: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
63
|
+
export declare const createRydberg: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
64
|
+
export declare const createThomsonCrossSection: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
65
|
+
export declare const createWeakMixingAngle: import("../../utils/factory.js").FactoryFunction<NumberFactoryDependencies, string | number | Decimal>;
|
|
66
|
+
export declare const createEfimovFactor: import("../../utils/factory.js").FactoryFunction<NumberFactoryDependencies, string | number | Decimal>;
|
|
67
|
+
export declare const createAtomicMass: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
68
|
+
export declare const createAvogadro: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
69
|
+
export declare const createBoltzmann: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
70
|
+
export declare const createFaraday: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
71
|
+
export declare const createFirstRadiation: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
72
|
+
export declare const createLoschmidt: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
73
|
+
export declare const createGasConstant: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
74
|
+
export declare const createMolarPlanckConstant: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
75
|
+
export declare const createMolarVolume: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
76
|
+
export declare const createSackurTetrode: import("../../utils/factory.js").FactoryFunction<NumberFactoryDependencies, string | number | Decimal>;
|
|
77
|
+
export declare const createSecondRadiation: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
78
|
+
export declare const createStefanBoltzmann: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
79
|
+
export declare const createWienDisplacement: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
80
|
+
export declare const createMolarMass: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
81
|
+
export declare const createMolarMassC12: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
82
|
+
export declare const createGravity: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
83
|
+
export declare const createPlanckLength: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
84
|
+
export declare const createPlanckMass: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
85
|
+
export declare const createPlanckTime: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
86
|
+
export declare const createPlanckCharge: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
87
|
+
export declare const createPlanckTemperature: import("../../utils/factory.js").FactoryFunction<UnitFactoryDependencies, UnitInstance>;
|
|
88
|
+
export {};
|
|
89
|
+
//# sourceMappingURL=physicalConstants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"physicalConstants.d.ts","sourceRoot":"","sources":["../../../src/type/unit/physicalConstants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,UAAU,oBAAoB;IAC5B,KAAK,KAAK,EAAE,MAAM,GAAG,MAAM,GA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9B,CAAC;AACF,eAAO,MAAM,uBAAuB,yFAInC,CAAC"}
|
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typed Algebra Functions
|
|
3
|
+
*
|
|
4
|
+
* Native TypeScript implementations of polynomial operations, expression
|
|
5
|
+
* manipulation, and algebraic utilities. Polynomial functions work with
|
|
6
|
+
* coefficient arrays where index corresponds to power (e.g., [1, 2, 3]
|
|
7
|
+
* represents 1 + 2x + 3x^2). Expression manipulation functions operate
|
|
8
|
+
* on string expressions.
|
|
9
|
+
*
|
|
10
|
+
* @packageDocumentation
|
|
11
|
+
*/
|
|
12
|
+
type f64 = number;
|
|
13
|
+
/**
|
|
14
|
+
* Evaluate a polynomial at a given point using Horner's method.
|
|
15
|
+
*
|
|
16
|
+
* Coefficients are ordered by ascending power: coeffs[i] is the
|
|
17
|
+
* coefficient of x^i. E.g., [1, 2, 3] represents 1 + 2x + 3x^2.
|
|
18
|
+
*
|
|
19
|
+
* @param coeffs - Coefficient array (index = power)
|
|
20
|
+
* @param x - Point at which to evaluate
|
|
21
|
+
* @returns The polynomial value at x
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```typescript
|
|
25
|
+
* polyval([1, 2, 3], 2); // 1 + 2*2 + 3*4 = 17
|
|
26
|
+
* polyval([1, 0, -1], 3); // 1 + 0 - 9 = -8
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function polyval(coeffs: number[], x: f64): f64;
|
|
30
|
+
/**
|
|
31
|
+
* Add two polynomials represented as coefficient arrays.
|
|
32
|
+
*
|
|
33
|
+
* @param a - First polynomial coefficients
|
|
34
|
+
* @param b - Second polynomial coefficients
|
|
35
|
+
* @returns Sum polynomial coefficients
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```typescript
|
|
39
|
+
* polyadd([1, 2], [3, 4, 5]); // [4, 6, 5]
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare function polyadd(a: number[], b: number[]): number[];
|
|
43
|
+
/**
|
|
44
|
+
* Multiply two polynomials (convolution of coefficient arrays).
|
|
45
|
+
*
|
|
46
|
+
* @param a - First polynomial coefficients
|
|
47
|
+
* @param b - Second polynomial coefficients
|
|
48
|
+
* @returns Product polynomial coefficients
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```typescript
|
|
52
|
+
* polymul([1, 1], [1, 1]); // [1, 2, 1] => (1+x)^2
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
export declare function polymul(a: number[], b: number[]): number[];
|
|
56
|
+
/**
|
|
57
|
+
* Compute the n-th derivative of a polynomial.
|
|
58
|
+
*
|
|
59
|
+
* @param coeffs - Polynomial coefficients (index = power)
|
|
60
|
+
* @param n - Number of derivatives to take (default 1)
|
|
61
|
+
* @returns Derivative polynomial coefficients
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```typescript
|
|
65
|
+
* polyder([1, 2, 3]); // [2, 6] => derivative of 1+2x+3x^2
|
|
66
|
+
* polyder([1, 2, 3, 4], 2); // [6, 24] => second derivative
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export declare function polyder(coeffs: number[], n?: number): number[];
|
|
70
|
+
/**
|
|
71
|
+
* Compute the GCD of two polynomials using the Euclidean algorithm.
|
|
72
|
+
* The result is monic (leading coefficient = 1).
|
|
73
|
+
*
|
|
74
|
+
* @param a - First polynomial coefficients
|
|
75
|
+
* @param b - Second polynomial coefficients
|
|
76
|
+
* @returns GCD polynomial coefficients (monic)
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```typescript
|
|
80
|
+
* // GCD of x^2-1 and x-1 is x-1
|
|
81
|
+
* polynomialGCD([-1, 0, 1], [-1, 1]); // [-1, 1]
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
export declare function polynomialGCD(a: number[], b: number[]): number[];
|
|
85
|
+
/**
|
|
86
|
+
* Compute the LCM of two polynomials: LCM(a, b) = (a * b) / GCD(a, b).
|
|
87
|
+
*
|
|
88
|
+
* @param a - First polynomial coefficients
|
|
89
|
+
* @param b - Second polynomial coefficients
|
|
90
|
+
* @returns LCM polynomial coefficients
|
|
91
|
+
*/
|
|
92
|
+
export declare function polynomialLCM(a: number[], b: number[]): number[];
|
|
93
|
+
/**
|
|
94
|
+
* Compute the quotient of polynomial division a / b.
|
|
95
|
+
*
|
|
96
|
+
* @param a - Dividend polynomial coefficients
|
|
97
|
+
* @param b - Divisor polynomial coefficients
|
|
98
|
+
* @returns Quotient polynomial coefficients
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* ```typescript
|
|
102
|
+
* // (x^2 - 1) / (x - 1) = x + 1
|
|
103
|
+
* polynomialQuotient([-1, 0, 1], [-1, 1]); // [1, 1]
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
106
|
+
export declare function polynomialQuotient(a: number[], b: number[]): number[];
|
|
107
|
+
/**
|
|
108
|
+
* Compute the remainder of polynomial division a / b.
|
|
109
|
+
*
|
|
110
|
+
* @param a - Dividend polynomial coefficients
|
|
111
|
+
* @param b - Divisor polynomial coefficients
|
|
112
|
+
* @returns Remainder polynomial coefficients
|
|
113
|
+
*/
|
|
114
|
+
export declare function polynomialRemainder(a: number[], b: number[]): number[];
|
|
115
|
+
/**
|
|
116
|
+
* Return the degree of a polynomial.
|
|
117
|
+
*
|
|
118
|
+
* @param coeffs - Polynomial coefficients (index = power)
|
|
119
|
+
* @returns Degree (highest power with non-zero coefficient)
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* ```typescript
|
|
123
|
+
* degree([1, 2, 3]); // 2
|
|
124
|
+
* degree([5]); // 0
|
|
125
|
+
* degree([0]); // 0
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
export declare function degree(coeffs: number[]): number;
|
|
129
|
+
/**
|
|
130
|
+
* Extract the coefficient list of a polynomial, trimming leading zeros.
|
|
131
|
+
*
|
|
132
|
+
* @param coeffs - Polynomial coefficients (index = power)
|
|
133
|
+
* @returns Trimmed coefficient array
|
|
134
|
+
*/
|
|
135
|
+
export declare function coefficientList(coeffs: number[]): number[];
|
|
136
|
+
/**
|
|
137
|
+
* Compute the discriminant of a polynomial.
|
|
138
|
+
*
|
|
139
|
+
* For quadratic ax^2 + bx + c: discriminant = b^2 - 4ac
|
|
140
|
+
* For cubic ax^3 + bx^2 + cx + d: discriminant = 18abcd - 4b^3d + b^2c^2 - 4ac^3 - 27a^2d^2
|
|
141
|
+
*
|
|
142
|
+
* @param coeffs - Polynomial coefficients (index = power)
|
|
143
|
+
* @returns Discriminant value
|
|
144
|
+
*/
|
|
145
|
+
export declare function discriminant(coeffs: number[]): f64;
|
|
146
|
+
/**
|
|
147
|
+
* Compute finite differences of a sequence.
|
|
148
|
+
*
|
|
149
|
+
* The k-th finite difference of arr is computed by applying the forward
|
|
150
|
+
* difference operator k times. Without a second argument, computes
|
|
151
|
+
* first differences.
|
|
152
|
+
*
|
|
153
|
+
* @param arr - Input array
|
|
154
|
+
* @param n - Number of difference iterations (default 1)
|
|
155
|
+
* @returns Array of finite differences
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* ```typescript
|
|
159
|
+
* differences([1, 4, 9, 16]); // [3, 5, 7]
|
|
160
|
+
* differences([1, 4, 9, 16], 2); // [2, 2]
|
|
161
|
+
* ```
|
|
162
|
+
*/
|
|
163
|
+
export declare function differences(arr: number[], n?: number): number[];
|
|
164
|
+
/**
|
|
165
|
+
* Extract free variable names from an expression string.
|
|
166
|
+
* Filters out known math function names and constants.
|
|
167
|
+
*
|
|
168
|
+
* @param expr - Expression string
|
|
169
|
+
* @returns Sorted array of variable names
|
|
170
|
+
*
|
|
171
|
+
* @example
|
|
172
|
+
* ```typescript
|
|
173
|
+
* variables('x^2 + 2*y + sin(z)'); // ['x', 'y', 'z']
|
|
174
|
+
* variables('pi * r^2'); // ['r']
|
|
175
|
+
* ```
|
|
176
|
+
*/
|
|
177
|
+
export declare function variables(expr: string): string[];
|
|
178
|
+
/**
|
|
179
|
+
* Substitute variables in an expression string with their values.
|
|
180
|
+
*
|
|
181
|
+
* @param expr - Expression string
|
|
182
|
+
* @param vars - Map of variable name to replacement value
|
|
183
|
+
* @returns Expression string with substitutions applied
|
|
184
|
+
*
|
|
185
|
+
* @example
|
|
186
|
+
* ```typescript
|
|
187
|
+
* substitute('x^2 + y', { x: '3', y: '1' }); // '3^2 + 1'
|
|
188
|
+
* substitute('a*b + c', { a: '(x+1)' }); // '(x+1)*b + c'
|
|
189
|
+
* ```
|
|
190
|
+
*/
|
|
191
|
+
export declare function substitute(expr: string, vars: Record<string, string>): string;
|
|
192
|
+
/**
|
|
193
|
+
* Expand an expression string by distributing multiplication over addition.
|
|
194
|
+
* Basic implementation: handles simple products of sums.
|
|
195
|
+
*
|
|
196
|
+
* @param expr - Expression string
|
|
197
|
+
* @returns Expanded expression string
|
|
198
|
+
*
|
|
199
|
+
* @example
|
|
200
|
+
* ```typescript
|
|
201
|
+
* expand('(a+b)*(c+d)'); // 'a*c + a*d + b*c + b*d'
|
|
202
|
+
* ```
|
|
203
|
+
*/
|
|
204
|
+
export declare function expand(expr: string): string;
|
|
205
|
+
/**
|
|
206
|
+
* Factor an expression string.
|
|
207
|
+
* Basic implementation: factors out common numeric factors and GCDs from terms.
|
|
208
|
+
*
|
|
209
|
+
* @param expr - Expression string
|
|
210
|
+
* @returns Factored expression string
|
|
211
|
+
*/
|
|
212
|
+
export declare function factor(expr: string): string;
|
|
213
|
+
/**
|
|
214
|
+
* Collect like terms with respect to a variable.
|
|
215
|
+
*
|
|
216
|
+
* @param expr - Expression string
|
|
217
|
+
* @param variable - Variable to collect terms for
|
|
218
|
+
* @returns Expression with collected terms
|
|
219
|
+
*/
|
|
220
|
+
export declare function collect(expr: string, variable: string): string;
|
|
221
|
+
/**
|
|
222
|
+
* Cancel common factors in a numeric rational expression.
|
|
223
|
+
*
|
|
224
|
+
* **Scope:** Currently handles numeric integer fractions `a/b` only,
|
|
225
|
+
* including `(a/b) / (c/d)` and identical numerator/denominator
|
|
226
|
+
* polynomial-string short-circuit (`(p) / (p) → 1`).
|
|
227
|
+
*
|
|
228
|
+
* **Not yet handled:** symbolic polynomial cancellation
|
|
229
|
+
* (e.g., `(x^2-1)/(x-1) → x+1`) — for that, use the lower-level
|
|
230
|
+
* `polynomialGCD` API on explicit coefficient arrays. A future
|
|
231
|
+
* release will add full symbolic cancel via a polynomial string parser.
|
|
232
|
+
*
|
|
233
|
+
* @param expr - Expression string (e.g., "6/4", "(2/3)/(4/9)")
|
|
234
|
+
* @returns Simplified expression
|
|
235
|
+
*/
|
|
236
|
+
export declare function cancel(expr: string): string;
|
|
237
|
+
/**
|
|
238
|
+
* Combine fractions to a common denominator.
|
|
239
|
+
*
|
|
240
|
+
* @param expr - Expression string
|
|
241
|
+
* @returns Combined expression
|
|
242
|
+
*/
|
|
243
|
+
export declare function together(expr: string): string;
|
|
244
|
+
/**
|
|
245
|
+
* Partial fraction decomposition.
|
|
246
|
+
*
|
|
247
|
+
* @param expr - Expression string
|
|
248
|
+
* @returns Decomposed expression
|
|
249
|
+
*/
|
|
250
|
+
export declare function apart(expr: string): string;
|
|
251
|
+
/**
|
|
252
|
+
* Expand trigonometric expressions using angle addition formulas.
|
|
253
|
+
*
|
|
254
|
+
* @param expr - Expression string
|
|
255
|
+
* @returns Expanded expression
|
|
256
|
+
*/
|
|
257
|
+
export declare function trigExpand(expr: string): string;
|
|
258
|
+
/**
|
|
259
|
+
* Reduce trigonometric expressions using product-to-sum formulas.
|
|
260
|
+
*
|
|
261
|
+
* @param expr - Expression string
|
|
262
|
+
* @returns Reduced expression
|
|
263
|
+
*/
|
|
264
|
+
export declare function trigReduce(expr: string): string;
|
|
265
|
+
/**
|
|
266
|
+
* Convert trigonometric functions to exponential form using Euler's formula.
|
|
267
|
+
*
|
|
268
|
+
* @param expr - Expression string
|
|
269
|
+
* @returns Expression with trig replaced by exponentials
|
|
270
|
+
*/
|
|
271
|
+
export declare function trigToExp(expr: string): string;
|
|
272
|
+
/**
|
|
273
|
+
* Convert exponential expressions to trigonometric form.
|
|
274
|
+
*
|
|
275
|
+
* @param expr - Expression string
|
|
276
|
+
* @returns Expression with exponentials replaced by trig
|
|
277
|
+
*/
|
|
278
|
+
export declare function expToTrig(expr: string): string;
|
|
279
|
+
/**
|
|
280
|
+
* Compute the tangent line to a function at a given point.
|
|
281
|
+
*
|
|
282
|
+
* @param f - Function to differentiate
|
|
283
|
+
* @param x0 - Point at which to compute tangent
|
|
284
|
+
* @returns Tuple [slope, intercept]
|
|
285
|
+
*
|
|
286
|
+
* @example
|
|
287
|
+
* ```typescript
|
|
288
|
+
* tangentLine(x => x**2, 3); // [6, -9] => y = 6x - 9
|
|
289
|
+
* ```
|
|
290
|
+
*/
|
|
291
|
+
export declare function tangentLine(f: (x: number) => number, x0: f64): [f64, f64];
|
|
292
|
+
/**
|
|
293
|
+
* Reduce an expression to its simplest form.
|
|
294
|
+
*
|
|
295
|
+
* @param expr - Expression string
|
|
296
|
+
* @returns Reduced expression
|
|
297
|
+
*/
|
|
298
|
+
export declare function reduce(expr: string): string;
|
|
299
|
+
/**
|
|
300
|
+
* Combine two expressions by addition.
|
|
301
|
+
*
|
|
302
|
+
* @param a - First expression
|
|
303
|
+
* @param b - Second expression
|
|
304
|
+
* @returns Combined expression string
|
|
305
|
+
*/
|
|
306
|
+
export declare function combine(a: string, b: string): string;
|
|
307
|
+
/**
|
|
308
|
+
* Expand complex-valued expressions using i^2 = -1.
|
|
309
|
+
*
|
|
310
|
+
* @param expr - Expression string
|
|
311
|
+
* @returns Expanded expression
|
|
312
|
+
*/
|
|
313
|
+
export declare function complexExpand(expr: string): string;
|
|
314
|
+
/**
|
|
315
|
+
* Convert expression to a canonical normal form.
|
|
316
|
+
*
|
|
317
|
+
* @param expr - Expression string
|
|
318
|
+
* @returns Normal form expression
|
|
319
|
+
*/
|
|
320
|
+
export declare function normalForm(expr: string): string;
|
|
321
|
+
/**
|
|
322
|
+
* Expand powers in an expression.
|
|
323
|
+
*
|
|
324
|
+
* @param expr - Expression string
|
|
325
|
+
* @returns Expanded expression
|
|
326
|
+
*/
|
|
327
|
+
export declare function powerExpand(expr: string): string;
|
|
328
|
+
/**
|
|
329
|
+
* Full simplification -- more aggressive than basic simplify.
|
|
330
|
+
*
|
|
331
|
+
* @param expr - Expression string
|
|
332
|
+
* @returns Fully simplified expression
|
|
333
|
+
*/
|
|
334
|
+
export declare function fullSimplify(expr: string): string;
|
|
335
|
+
/**
|
|
336
|
+
* Extract an element from an array at the specified index.
|
|
337
|
+
*
|
|
338
|
+
* @param arr - Input array
|
|
339
|
+
* @param index - Zero-based index
|
|
340
|
+
* @returns The element at the given index
|
|
341
|
+
*/
|
|
342
|
+
export declare function element<T>(arr: T[], index: number): T;
|
|
343
|
+
/**
|
|
344
|
+
* Eliminate a variable from a system of linear equations.
|
|
345
|
+
*
|
|
346
|
+
* @param system - Array of equation strings
|
|
347
|
+
* @param variable - Variable to eliminate
|
|
348
|
+
* @returns Reduced system of equations
|
|
349
|
+
*/
|
|
350
|
+
export declare function eliminate(system: string[], variable: string): string[];
|
|
351
|
+
/**
|
|
352
|
+
* Compute a partial derivative of an expression string with respect
|
|
353
|
+
* to a variable using basic symbolic differentiation rules.
|
|
354
|
+
*
|
|
355
|
+
* @param expr - Expression string
|
|
356
|
+
* @param variable - Variable to differentiate with respect to
|
|
357
|
+
* @returns Derivative expression string
|
|
358
|
+
*/
|
|
359
|
+
export declare function symbolicPartialDerivative(expr: string, variable: string): string;
|
|
360
|
+
/**
|
|
361
|
+
* Expand special function expressions.
|
|
362
|
+
*
|
|
363
|
+
* @param expr - Expression string
|
|
364
|
+
* @returns Expanded expression
|
|
365
|
+
*/
|
|
366
|
+
export declare function functionExpand(expr: string): string;
|
|
367
|
+
/**
|
|
368
|
+
* Compute the resultant of two polynomials.
|
|
369
|
+
* The resultant is the determinant of the Sylvester matrix.
|
|
370
|
+
*
|
|
371
|
+
* @param p - First polynomial coefficients (index = power)
|
|
372
|
+
* @param q - Second polynomial coefficients (index = power)
|
|
373
|
+
* @returns Resultant value
|
|
374
|
+
*/
|
|
375
|
+
export declare function resultant(p: number[], q: number[]): f64;
|
|
376
|
+
/**
|
|
377
|
+
* All algebra functions combined.
|
|
378
|
+
*/
|
|
379
|
+
export declare const typedAlgebra: {
|
|
380
|
+
polyval: typeof polyval;
|
|
381
|
+
polyadd: typeof polyadd;
|
|
382
|
+
polymul: typeof polymul;
|
|
383
|
+
polyder: typeof polyder;
|
|
384
|
+
polynomialGCD: typeof polynomialGCD;
|
|
385
|
+
polynomialLCM: typeof polynomialLCM;
|
|
386
|
+
polynomialQuotient: typeof polynomialQuotient;
|
|
387
|
+
polynomialRemainder: typeof polynomialRemainder;
|
|
388
|
+
degree: typeof degree;
|
|
389
|
+
coefficientList: typeof coefficientList;
|
|
390
|
+
discriminant: typeof discriminant;
|
|
391
|
+
differences: typeof differences;
|
|
392
|
+
expand: typeof expand;
|
|
393
|
+
factor: typeof factor;
|
|
394
|
+
collect: typeof collect;
|
|
395
|
+
substitute: typeof substitute;
|
|
396
|
+
variables: typeof variables;
|
|
397
|
+
cancel: typeof cancel;
|
|
398
|
+
together: typeof together;
|
|
399
|
+
apart: typeof apart;
|
|
400
|
+
trigExpand: typeof trigExpand;
|
|
401
|
+
trigReduce: typeof trigReduce;
|
|
402
|
+
trigToExp: typeof trigToExp;
|
|
403
|
+
expToTrig: typeof expToTrig;
|
|
404
|
+
tangentLine: typeof tangentLine;
|
|
405
|
+
reduce: typeof reduce;
|
|
406
|
+
combine: typeof combine;
|
|
407
|
+
complexExpand: typeof complexExpand;
|
|
408
|
+
normalForm: typeof normalForm;
|
|
409
|
+
powerExpand: typeof powerExpand;
|
|
410
|
+
fullSimplify: typeof fullSimplify;
|
|
411
|
+
element: typeof element;
|
|
412
|
+
eliminate: typeof eliminate;
|
|
413
|
+
symbolicPartialDerivative: typeof symbolicPartialDerivative;
|
|
414
|
+
functionExpand: typeof functionExpand;
|
|
415
|
+
resultant: typeof resultant;
|
|
416
|
+
};
|
|
417
|
+
export {};
|
|
418
|
+
//# sourceMappingURL=algebra.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"algebra.d.ts","sourceRoot":"","sources":["../../src/typed/algebra.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAcH,KAAK,GAAG,GAAG,MAAM,CAAC;AAkJlB;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,GAAG,GAAG,GAAG,CAOrD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAO1D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAgB1D;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,GAAE,MAAU,GAAG,MAAM,EAAE,CAUjE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAgBhE;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAShE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAGrE;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EA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