mathjs 14.1.0 → 14.2.0
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/HISTORY.md +11 -0
- package/lib/browser/math.js +1 -1
- package/lib/browser/math.js.LICENSE.txt +2 -2
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/core/function/import.js +14 -4
- package/lib/cjs/entry/dependenciesAny/{dependenciesApply.generated.js → dependenciesMapSlices.generated.js} +3 -3
- package/lib/cjs/entry/dependenciesAny/{dependenciesApplyTransform.generated.js → dependenciesMapSlicesTransform.generated.js} +3 -3
- package/lib/cjs/entry/dependenciesAny/dependenciesQuantileSeq.generated.js +2 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesQuantileSeqTransform.generated.js +2 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesVariance.generated.js +2 -2
- package/lib/cjs/entry/dependenciesAny/dependenciesVarianceTransform.generated.js +2 -2
- package/lib/cjs/entry/dependenciesAny.generated.js +14 -14
- package/lib/cjs/entry/dependenciesNumber/{dependenciesApply.generated.js → dependenciesMapSlices.generated.js} +3 -3
- package/lib/cjs/entry/dependenciesNumber/{dependenciesApplyTransform.generated.js → dependenciesMapSlicesTransform.generated.js} +3 -3
- package/lib/cjs/entry/dependenciesNumber/dependenciesQuantileSeq.generated.js +2 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesVariance.generated.js +2 -2
- package/lib/cjs/entry/dependenciesNumber/dependenciesVarianceTransform.generated.js +2 -2
- package/lib/cjs/entry/dependenciesNumber.generated.js +14 -14
- package/lib/cjs/entry/impureFunctionsAny.generated.js +86 -85
- package/lib/cjs/entry/impureFunctionsNumber.generated.js +13 -13
- package/lib/cjs/entry/pureFunctionsAny.generated.js +328 -326
- package/lib/cjs/entry/pureFunctionsNumber.generated.js +13 -11
- package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +2 -0
- package/lib/cjs/expression/embeddedDocs/function/matrix/mapSlices.js +17 -0
- package/lib/cjs/expression/transform/index.transform.js +2 -2
- package/lib/cjs/expression/transform/{apply.transform.js → mapSlices.transform.js} +11 -10
- package/lib/cjs/expression/transform/quantileSeq.transform.js +5 -3
- package/lib/cjs/expression/transform/variance.transform.js +3 -3
- package/lib/cjs/factoriesAny.js +14 -14
- package/lib/cjs/factoriesNumber.js +16 -15
- package/lib/cjs/function/arithmetic/ceil.js +34 -26
- package/lib/cjs/function/arithmetic/fix.js +3 -0
- package/lib/cjs/function/arithmetic/floor.js +41 -26
- package/lib/cjs/function/arithmetic/round.js +4 -0
- package/lib/cjs/function/matrix/ctranspose.js +1 -1
- package/lib/cjs/function/matrix/{apply.js → mapSlices.js} +19 -12
- package/lib/cjs/function/matrix/matrixFromFunction.js +36 -3
- package/lib/cjs/function/matrix/range.js +54 -5
- package/lib/cjs/function/statistics/quantileSeq.js +4 -9
- package/lib/cjs/function/statistics/variance.js +3 -3
- package/lib/cjs/function/string/hex.js +1 -1
- package/lib/cjs/function/trigonometry/acoth.js +1 -1
- package/lib/cjs/function/trigonometry/acsc.js +1 -1
- package/lib/cjs/function/trigonometry/asin.js +1 -1
- package/lib/cjs/function/trigonometry/atan2.js +2 -1
- package/lib/cjs/function/trigonometry/cos.js +1 -1
- package/lib/cjs/function/trigonometry/sin.js +1 -1
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/type/matrix/MatrixIndex.js +6 -3
- package/lib/cjs/type/matrix/Range.js +15 -8
- package/lib/cjs/utils/factory.js +5 -2
- package/lib/cjs/utils/snapshot.js +8 -1
- package/lib/cjs/version.js +1 -1
- package/lib/esm/core/function/import.js +14 -4
- package/lib/esm/entry/{dependenciesNumber/dependenciesApply.generated.js → dependenciesAny/dependenciesMapSlices.generated.js} +3 -3
- package/lib/esm/entry/{dependenciesNumber/dependenciesApplyTransform.generated.js → dependenciesAny/dependenciesMapSlicesTransform.generated.js} +3 -3
- package/lib/esm/entry/dependenciesAny/dependenciesQuantileSeq.generated.js +2 -0
- package/lib/esm/entry/dependenciesAny/dependenciesQuantileSeqTransform.generated.js +2 -0
- package/lib/esm/entry/dependenciesAny/dependenciesVariance.generated.js +2 -2
- package/lib/esm/entry/dependenciesAny/dependenciesVarianceTransform.generated.js +2 -2
- package/lib/esm/entry/dependenciesAny.generated.js +2 -2
- package/lib/esm/entry/{dependenciesAny/dependenciesApply.generated.js → dependenciesNumber/dependenciesMapSlices.generated.js} +3 -3
- package/lib/esm/entry/{dependenciesAny/dependenciesApplyTransform.generated.js → dependenciesNumber/dependenciesMapSlicesTransform.generated.js} +3 -3
- package/lib/esm/entry/dependenciesNumber/dependenciesQuantileSeq.generated.js +2 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesVariance.generated.js +2 -2
- package/lib/esm/entry/dependenciesNumber/dependenciesVarianceTransform.generated.js +2 -2
- package/lib/esm/entry/dependenciesNumber.generated.js +2 -2
- package/lib/esm/entry/impureFunctionsAny.generated.js +88 -87
- package/lib/esm/entry/impureFunctionsNumber.generated.js +15 -15
- package/lib/esm/entry/pureFunctionsAny.generated.js +326 -324
- package/lib/esm/entry/pureFunctionsNumber.generated.js +12 -10
- package/lib/esm/expression/embeddedDocs/embeddedDocs.js +2 -0
- package/lib/esm/expression/embeddedDocs/function/matrix/mapSlices.js +11 -0
- package/lib/esm/expression/transform/index.transform.js +3 -3
- package/lib/esm/expression/transform/mapSlices.transform.js +47 -0
- package/lib/esm/expression/transform/quantileSeq.transform.js +5 -3
- package/lib/esm/expression/transform/variance.transform.js +3 -3
- package/lib/esm/factoriesAny.js +2 -2
- package/lib/esm/factoriesNumber.js +2 -2
- package/lib/esm/function/arithmetic/ceil.js +35 -27
- package/lib/esm/function/arithmetic/fix.js +3 -0
- package/lib/esm/function/arithmetic/floor.js +42 -27
- package/lib/esm/function/arithmetic/round.js +4 -0
- package/lib/esm/function/matrix/ctranspose.js +1 -1
- package/lib/esm/function/matrix/{apply.js → mapSlices.js} +18 -11
- package/lib/esm/function/matrix/matrixFromFunction.js +36 -3
- package/lib/esm/function/matrix/range.js +54 -5
- package/lib/esm/function/statistics/quantileSeq.js +4 -9
- package/lib/esm/function/statistics/variance.js +3 -3
- package/lib/esm/function/string/hex.js +1 -1
- package/lib/esm/function/trigonometry/acoth.js +1 -1
- package/lib/esm/function/trigonometry/acsc.js +1 -1
- package/lib/esm/function/trigonometry/asin.js +1 -1
- package/lib/esm/function/trigonometry/atan2.js +2 -1
- package/lib/esm/function/trigonometry/cos.js +1 -1
- package/lib/esm/function/trigonometry/sin.js +1 -1
- package/lib/esm/type/matrix/MatrixIndex.js +6 -3
- package/lib/esm/type/matrix/Range.js +16 -9
- package/lib/esm/utils/factory.js +5 -2
- package/lib/esm/utils/snapshot.js +8 -1
- package/lib/esm/version.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +75 -12
- package/lib/esm/expression/transform/apply.transform.js +0 -44
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.e = exports.dotPow = exports.dotMultiply = exports.dotDivide = exports.dot = exports.divideScalar = exports.divide = exports.distance = exports.diff = exports.diag = exports.deuteronMass = exports.det = exports.deepEqual = exports.cumsum = exports.cube = exports.ctranspose = exports.csch = exports.csc = exports.cross = exports.createUnit = exports.count = exports.coulomb = exports.coth = exports.cot = exports.cosh = exports.cos = exports.corr = exports.conj = exports.conductanceQuantum = exports.concat = exports.composition = exports.complex = exports.compareText = exports.compareNatural = exports.compare = exports.combinationsWithRep = exports.combinations = exports.column = exports.clone = exports.classicalElectronRadius = exports.ceil = exports.cbrt = exports.catalan = exports.boolean = exports.boltzmann = exports.bohrRadius = exports.bohrMagneton = exports.bitXor = exports.bitOr = exports.bitNot = exports.bitAnd = exports.bin = exports.bignumber = exports.bigint = exports.bellNumbers = exports.avogadro = exports.atomicMass = exports.atanh = exports.atan2 = exports.atan = exports.asinh = exports.asin = exports.asech = exports.asec = exports.arg = exports.apply = exports.and = exports.addScalar = exports.add = exports.acsch = exports.acsc = exports.acoth = exports.acot = exports.acosh = exports.acos = exports.abs = exports._true = exports._null = exports._false = exports._NaN = exports._Infinity = exports.Unit = exports.SparseMatrix = exports.Spa = exports.SQRT2 = exports.SQRT1_2 = exports.ResultSet = exports.Range = exports.Matrix = exports.LOG2E = exports.LOG10E = exports.LN2 = exports.LN10 = exports.Index = exports.ImmutableDenseMatrix = exports.Fraction = exports.FibonacciHeap = exports.DenseMatrix = exports.Complex = exports.BigNumber = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.zpk2tf = exports.zeta = void 0;
|
|
7
|
+
exports.numeric = exports.number = exports.nuclearMagneton = exports.nthRoots = exports.nthRoot = exports.not = exports.norm = exports.neutronMass = exports.multiplyScalar = exports.multiply = exports.multinomial = exports.molarVolume = exports.molarPlanckConstant = exports.molarMassC12 = exports.molarMass = exports.mode = exports.mod = exports.min = exports.median = exports.mean = exports.max = exports.matrixFromRows = exports.matrixFromFunction = exports.matrixFromColumns = exports.matrix = exports.mapSlices = exports.map = exports.magneticFluxQuantum = exports.magneticConstant = exports.mad = exports.lyap = exports.lusolve = exports.lup = exports.lsolveAll = exports.lsolve = exports.loschmidt = exports.log2 = exports.log1p = exports.log10 = exports.log = exports.lgamma = exports.leftShift = exports.lcm = exports.largerEq = exports.larger = exports.kron = exports.klitzing = exports.kldivergence = exports.isZero = exports.isPrime = exports.isPositive = exports.isNumeric = exports.isNegative = exports.isNaN = exports.isInteger = exports.invmod = exports.inverseConductanceQuantum = exports.inv = exports.intersect = exports.index = exports.im = exports.ifft = exports.identity = exports.i = exports.hypot = exports.hex = exports.hasNumericValue = exports.hartreeEnergy = exports.gravity = exports.gravitationConstant = exports.getMatrixDataType = exports.gcd = exports.gasConstant = exports.gamma = exports.freqz = exports.fraction = exports.format = exports.forEach = exports.floor = exports.flatten = exports.fix = exports.firstRadiation = exports.fineStructure = exports.filter = exports.fft = exports.fermiCoupling = exports.faraday = exports.factorial = exports.expm1 = exports.expm = exports.exp = exports.erf = exports.equalText = exports.equalScalar = exports.equal = exports.elementaryCharge = exports.electronMass = exports.electricConstant = exports.eigs = exports.efimovFactor = void 0;
|
|
8
|
+
exports.xor = exports.xgcd = exports.wienDisplacement = exports.weakMixingAngle = exports.version = exports.variance = exports.vacuumImpedance = exports.usolveAll = exports.usolve = exports.unit = exports.unequal = exports.unaryPlus = exports.unaryMinus = exports.typed = exports.typeOf = exports.transpose = exports.trace = exports.to = exports.thomsonCrossSection = exports.tau = exports.tanh = exports.tan = exports.sylvester = exports.sum = exports.subtractScalar = exports.subtract = exports.subset = exports.string = exports.stirlingS2 = exports.stefanBoltzmann = exports.std = exports.squeeze = exports.square = exports.sqrtm = exports.sqrt = exports.splitUnit = exports.speedOfLight = exports.sparse = exports.sort = exports.solveODE = exports.smallerEq = exports.smaller = exports.slu = exports.size = exports.sinh = exports.sin = exports.sign = exports.setUnion = exports.setSymDifference = exports.setSize = exports.setPowerset = exports.setMultiplicity = exports.setIsSubset = exports.setIntersect = exports.setDistinct = exports.setDifference = exports.setCartesian = exports.secondRadiation = exports.sech = exports.sec = exports.schur = exports.sackurTetrode = exports.rydberg = exports.row = exports.round = exports.rotationMatrix = exports.rotate = exports.rightLogShift = exports.rightArithShift = exports.resize = exports.reshape = exports.replacer = exports.reducedPlanckConstant = exports.re = exports.range = exports.randomInt = exports.random = exports.quantumOfCirculation = exports.quantileSeq = exports.qr = exports.protonMass = exports.prod = exports.print = exports.pow = exports.polynomialRoot = exports.planckTime = exports.planckTemperature = exports.planckMass = exports.planckLength = exports.planckConstant = exports.planckCharge = exports.pinv = exports.pickRandom = exports.pi = exports.phi = exports.permutations = exports.partitionSelect = exports.or = exports.ones = exports.oct = void 0;
|
|
9
|
+
exports.zpk2tf = exports.zeta = exports.zeros = void 0;
|
|
10
10
|
var _configReadonly = require("./configReadonly.js");
|
|
11
11
|
var _factoriesAny = require("../factoriesAny.js");
|
|
12
12
|
/**
|
|
@@ -320,10 +320,6 @@ const acsch = exports.acsch = /* #__PURE__ */(0, _factoriesAny.createAcsch)({
|
|
|
320
320
|
BigNumber,
|
|
321
321
|
typed
|
|
322
322
|
});
|
|
323
|
-
const apply = exports.apply = /* #__PURE__ */(0, _factoriesAny.createApply)({
|
|
324
|
-
isInteger,
|
|
325
|
-
typed
|
|
326
|
-
});
|
|
327
323
|
const asec = exports.asec = /* #__PURE__ */(0, _factoriesAny.createAsec)({
|
|
328
324
|
BigNumber,
|
|
329
325
|
Complex,
|
|
@@ -350,92 +346,58 @@ const isNaN = exports.isNaN = /* #__PURE__ */(0, _factoriesAny.createIsNaN)({
|
|
|
350
346
|
const isPrime = exports.isPrime = /* #__PURE__ */(0, _factoriesAny.createIsPrime)({
|
|
351
347
|
typed
|
|
352
348
|
});
|
|
353
|
-
const
|
|
354
|
-
|
|
355
|
-
log2,
|
|
356
|
-
typed
|
|
357
|
-
});
|
|
358
|
-
const sech = exports.sech = /* #__PURE__ */(0, _factoriesAny.createSech)({
|
|
359
|
-
BigNumber,
|
|
360
|
-
typed
|
|
361
|
-
});
|
|
362
|
-
const sinh = exports.sinh = /* #__PURE__ */(0, _factoriesAny.createSinh)({
|
|
349
|
+
const mapSlices = exports.mapSlices = /* #__PURE__ */(0, _factoriesAny.createMapSlices)({
|
|
350
|
+
isInteger,
|
|
363
351
|
typed
|
|
364
352
|
});
|
|
365
|
-
const
|
|
353
|
+
const apply = exports.apply = mapSlices;
|
|
354
|
+
const matrix = exports.matrix = /* #__PURE__ */(0, _factoriesAny.createMatrix)({
|
|
355
|
+
DenseMatrix,
|
|
356
|
+
Matrix,
|
|
366
357
|
SparseMatrix,
|
|
367
358
|
typed
|
|
368
359
|
});
|
|
369
|
-
const
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
typed
|
|
373
|
-
});
|
|
374
|
-
const squeeze = exports.squeeze = /* #__PURE__ */(0, _factoriesAny.createSqueeze)({
|
|
375
|
-
typed
|
|
376
|
-
});
|
|
377
|
-
const tanh = exports.tanh = /* #__PURE__ */(0, _factoriesAny.createTanh)({
|
|
378
|
-
typed
|
|
379
|
-
});
|
|
380
|
-
const unaryMinus = exports.unaryMinus = /* #__PURE__ */(0, _factoriesAny.createUnaryMinus)({
|
|
360
|
+
const matrixFromFunction = exports.matrixFromFunction = /* #__PURE__ */(0, _factoriesAny.createMatrixFromFunction)({
|
|
361
|
+
isZero,
|
|
362
|
+
matrix,
|
|
381
363
|
typed
|
|
382
364
|
});
|
|
383
|
-
const
|
|
365
|
+
const ones = exports.ones = /* #__PURE__ */(0, _factoriesAny.createOnes)({
|
|
384
366
|
BigNumber,
|
|
385
|
-
Complex,
|
|
386
367
|
config: _configReadonly.config,
|
|
368
|
+
matrix,
|
|
387
369
|
typed
|
|
388
370
|
});
|
|
389
|
-
const
|
|
390
|
-
|
|
371
|
+
const randomInt = exports.randomInt = /* #__PURE__ */(0, _factoriesAny.createRandomInt)({
|
|
372
|
+
config: _configReadonly.config,
|
|
373
|
+
log2,
|
|
391
374
|
typed
|
|
392
375
|
});
|
|
393
|
-
const
|
|
394
|
-
|
|
376
|
+
const reshape = exports.reshape = /* #__PURE__ */(0, _factoriesAny.createReshape)({
|
|
377
|
+
isInteger,
|
|
378
|
+
matrix,
|
|
395
379
|
typed
|
|
396
380
|
});
|
|
397
|
-
const
|
|
398
|
-
|
|
381
|
+
const sech = exports.sech = /* #__PURE__ */(0, _factoriesAny.createSech)({
|
|
382
|
+
BigNumber,
|
|
399
383
|
typed
|
|
400
384
|
});
|
|
401
|
-
const
|
|
385
|
+
const sinh = exports.sinh = /* #__PURE__ */(0, _factoriesAny.createSinh)({
|
|
402
386
|
typed
|
|
403
387
|
});
|
|
404
|
-
const
|
|
405
|
-
DenseMatrix,
|
|
406
|
-
Matrix,
|
|
388
|
+
const sparse = exports.sparse = /* #__PURE__ */(0, _factoriesAny.createSparse)({
|
|
407
389
|
SparseMatrix,
|
|
408
390
|
typed
|
|
409
391
|
});
|
|
410
|
-
const
|
|
411
|
-
|
|
412
|
-
matrix,
|
|
413
|
-
typed
|
|
414
|
-
});
|
|
415
|
-
const mode = exports.mode = /* #__PURE__ */(0, _factoriesAny.createMode)({
|
|
416
|
-
isNaN,
|
|
417
|
-
isNumeric,
|
|
418
|
-
typed
|
|
419
|
-
});
|
|
420
|
-
const numeric = exports.numeric = /* #__PURE__ */(0, _factoriesAny.createNumeric)({
|
|
421
|
-
bignumber,
|
|
422
|
-
fraction,
|
|
423
|
-
number
|
|
424
|
-
});
|
|
425
|
-
const prod = exports.prod = /* #__PURE__ */(0, _factoriesAny.createProd)({
|
|
392
|
+
const sqrt = exports.sqrt = /* #__PURE__ */(0, _factoriesAny.createSqrt)({
|
|
393
|
+
Complex,
|
|
426
394
|
config: _configReadonly.config,
|
|
427
|
-
multiplyScalar,
|
|
428
|
-
numeric,
|
|
429
395
|
typed
|
|
430
396
|
});
|
|
431
|
-
const
|
|
432
|
-
isInteger,
|
|
433
|
-
matrix,
|
|
397
|
+
const squeeze = exports.squeeze = /* #__PURE__ */(0, _factoriesAny.createSqueeze)({
|
|
434
398
|
typed
|
|
435
399
|
});
|
|
436
|
-
const
|
|
437
|
-
matrix,
|
|
438
|
-
config: _configReadonly.config,
|
|
400
|
+
const tanh = exports.tanh = /* #__PURE__ */(0, _factoriesAny.createTanh)({
|
|
439
401
|
typed
|
|
440
402
|
});
|
|
441
403
|
const transpose = exports.transpose = /* #__PURE__ */(0, _factoriesAny.createTranspose)({
|
|
@@ -454,29 +416,28 @@ const zeros = exports.zeros = /* #__PURE__ */(0, _factoriesAny.createZeros)({
|
|
|
454
416
|
matrix,
|
|
455
417
|
typed
|
|
456
418
|
});
|
|
457
|
-
const
|
|
419
|
+
const acoth = exports.acoth = /* #__PURE__ */(0, _factoriesAny.createAcoth)({
|
|
420
|
+
BigNumber,
|
|
458
421
|
Complex,
|
|
459
422
|
config: _configReadonly.config,
|
|
460
423
|
typed
|
|
461
424
|
});
|
|
462
|
-
const
|
|
463
|
-
BigNumber,
|
|
425
|
+
const asin = exports.asin = /* #__PURE__ */(0, _factoriesAny.createAsin)({
|
|
464
426
|
Complex,
|
|
465
|
-
Fraction,
|
|
466
427
|
config: _configReadonly.config,
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
428
|
+
typed
|
|
429
|
+
});
|
|
430
|
+
const bin = exports.bin = /* #__PURE__ */(0, _factoriesAny.createBin)({
|
|
431
|
+
format,
|
|
432
|
+
typed
|
|
471
433
|
});
|
|
472
434
|
const concat = exports.concat = /* #__PURE__ */(0, _factoriesAny.createConcat)({
|
|
473
435
|
isInteger,
|
|
474
436
|
matrix,
|
|
475
437
|
typed
|
|
476
438
|
});
|
|
477
|
-
const
|
|
478
|
-
|
|
479
|
-
size,
|
|
439
|
+
const coth = exports.coth = /* #__PURE__ */(0, _factoriesAny.createCoth)({
|
|
440
|
+
BigNumber,
|
|
480
441
|
typed
|
|
481
442
|
});
|
|
482
443
|
const ctranspose = exports.ctranspose = /* #__PURE__ */(0, _factoriesAny.createCtranspose)({
|
|
@@ -490,17 +451,11 @@ const diag = exports.diag = /* #__PURE__ */(0, _factoriesAny.createDiag)({
|
|
|
490
451
|
matrix,
|
|
491
452
|
typed
|
|
492
453
|
});
|
|
493
|
-
const
|
|
494
|
-
numeric,
|
|
495
|
-
typed
|
|
496
|
-
});
|
|
497
|
-
const dotDivide = exports.dotDivide = /* #__PURE__ */(0, _factoriesAny.createDotDivide)({
|
|
498
|
-
DenseMatrix,
|
|
499
|
-
SparseMatrix,
|
|
454
|
+
const dotMultiply = exports.dotMultiply = /* #__PURE__ */(0, _factoriesAny.createDotMultiply)({
|
|
500
455
|
concat,
|
|
501
|
-
divideScalar,
|
|
502
456
|
equalScalar,
|
|
503
457
|
matrix,
|
|
458
|
+
multiplyScalar,
|
|
504
459
|
typed
|
|
505
460
|
});
|
|
506
461
|
const equal = exports.equal = /* #__PURE__ */(0, _factoriesAny.createEqual)({
|
|
@@ -511,8 +466,8 @@ const equal = exports.equal = /* #__PURE__ */(0, _factoriesAny.createEqual)({
|
|
|
511
466
|
matrix,
|
|
512
467
|
typed
|
|
513
468
|
});
|
|
514
|
-
const
|
|
515
|
-
|
|
469
|
+
const fraction = exports.fraction = /* #__PURE__ */(0, _factoriesAny.createFraction)({
|
|
470
|
+
Fraction,
|
|
516
471
|
typed
|
|
517
472
|
});
|
|
518
473
|
const identity = exports.identity = /* #__PURE__ */(0, _factoriesAny.createIdentity)({
|
|
@@ -523,6 +478,9 @@ const identity = exports.identity = /* #__PURE__ */(0, _factoriesAny.createIdent
|
|
|
523
478
|
matrix,
|
|
524
479
|
typed
|
|
525
480
|
});
|
|
481
|
+
const isNumeric = exports.isNumeric = /* #__PURE__ */(0, _factoriesAny.createIsNumeric)({
|
|
482
|
+
typed
|
|
483
|
+
});
|
|
526
484
|
const kron = exports.kron = /* #__PURE__ */(0, _factoriesAny.createKron)({
|
|
527
485
|
matrix,
|
|
528
486
|
multiplyScalar,
|
|
@@ -544,19 +502,9 @@ const leftShift = exports.leftShift = /* #__PURE__ */(0, _factoriesAny.createLef
|
|
|
544
502
|
typed,
|
|
545
503
|
zeros
|
|
546
504
|
});
|
|
547
|
-
const
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
equalScalar,
|
|
551
|
-
matrix,
|
|
552
|
-
multiplyScalar,
|
|
553
|
-
subtractScalar,
|
|
554
|
-
typed
|
|
555
|
-
});
|
|
556
|
-
const matrixFromColumns = exports.matrixFromColumns = /* #__PURE__ */(0, _factoriesAny.createMatrixFromColumns)({
|
|
557
|
-
flatten,
|
|
558
|
-
matrix,
|
|
559
|
-
size,
|
|
505
|
+
const mode = exports.mode = /* #__PURE__ */(0, _factoriesAny.createMode)({
|
|
506
|
+
isNaN,
|
|
507
|
+
isNumeric,
|
|
560
508
|
typed
|
|
561
509
|
});
|
|
562
510
|
const nthRoot = exports.nthRoot = /* #__PURE__ */(0, _factoriesAny.createNthRoot)({
|
|
@@ -566,28 +514,16 @@ const nthRoot = exports.nthRoot = /* #__PURE__ */(0, _factoriesAny.createNthRoot
|
|
|
566
514
|
matrix,
|
|
567
515
|
typed
|
|
568
516
|
});
|
|
569
|
-
const
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
typed
|
|
517
|
+
const numeric = exports.numeric = /* #__PURE__ */(0, _factoriesAny.createNumeric)({
|
|
518
|
+
bignumber,
|
|
519
|
+
fraction,
|
|
520
|
+
number
|
|
574
521
|
});
|
|
575
|
-
const
|
|
576
|
-
|
|
577
|
-
complex,
|
|
578
|
-
conj,
|
|
579
|
-
divideScalar,
|
|
580
|
-
equal,
|
|
581
|
-
identity,
|
|
582
|
-
isZero,
|
|
583
|
-
matrix,
|
|
522
|
+
const prod = exports.prod = /* #__PURE__ */(0, _factoriesAny.createProd)({
|
|
523
|
+
config: _configReadonly.config,
|
|
584
524
|
multiplyScalar,
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
subtractScalar,
|
|
588
|
-
typed,
|
|
589
|
-
unaryMinus,
|
|
590
|
-
zeros
|
|
525
|
+
numeric,
|
|
526
|
+
typed
|
|
591
527
|
});
|
|
592
528
|
const resize = exports.resize = /* #__PURE__ */(0, _factoriesAny.createResize)({
|
|
593
529
|
config: _configReadonly.config,
|
|
@@ -610,6 +546,11 @@ const round = exports.round = /* #__PURE__ */(0, _factoriesAny.createRound)({
|
|
|
610
546
|
typed,
|
|
611
547
|
zeros
|
|
612
548
|
});
|
|
549
|
+
const size = exports.size = /* #__PURE__ */(0, _factoriesAny.createSize)({
|
|
550
|
+
matrix,
|
|
551
|
+
config: _configReadonly.config,
|
|
552
|
+
typed
|
|
553
|
+
});
|
|
613
554
|
const smaller = exports.smaller = /* #__PURE__ */(0, _factoriesAny.createSmaller)({
|
|
614
555
|
DenseMatrix,
|
|
615
556
|
SparseMatrix,
|
|
@@ -619,32 +560,21 @@ const smaller = exports.smaller = /* #__PURE__ */(0, _factoriesAny.createSmaller
|
|
|
619
560
|
matrix,
|
|
620
561
|
typed
|
|
621
562
|
});
|
|
622
|
-
const subtract = exports.subtract = /* #__PURE__ */(0, _factoriesAny.createSubtract)({
|
|
623
|
-
DenseMatrix,
|
|
624
|
-
concat,
|
|
625
|
-
equalScalar,
|
|
626
|
-
matrix,
|
|
627
|
-
subtractScalar,
|
|
628
|
-
typed,
|
|
629
|
-
unaryMinus
|
|
630
|
-
});
|
|
631
563
|
const to = exports.to = /* #__PURE__ */(0, _factoriesAny.createTo)({
|
|
632
564
|
concat,
|
|
633
565
|
matrix,
|
|
634
566
|
typed
|
|
635
567
|
});
|
|
636
|
-
const
|
|
637
|
-
config: _configReadonly.config,
|
|
638
|
-
numeric,
|
|
568
|
+
const unaryMinus = exports.unaryMinus = /* #__PURE__ */(0, _factoriesAny.createUnaryMinus)({
|
|
639
569
|
typed
|
|
640
570
|
});
|
|
641
|
-
const
|
|
571
|
+
const unequal = exports.unequal = /* #__PURE__ */(0, _factoriesAny.createUnequal)({
|
|
642
572
|
DenseMatrix,
|
|
643
|
-
|
|
573
|
+
SparseMatrix,
|
|
574
|
+
concat,
|
|
575
|
+
config: _configReadonly.config,
|
|
644
576
|
equalScalar,
|
|
645
577
|
matrix,
|
|
646
|
-
multiplyScalar,
|
|
647
|
-
subtractScalar,
|
|
648
578
|
typed
|
|
649
579
|
});
|
|
650
580
|
const xor = exports.xor = /* #__PURE__ */(0, _factoriesAny.createXor)({
|
|
@@ -691,14 +621,15 @@ const bitXor = exports.bitXor = /* #__PURE__ */(0, _factoriesAny.createBitXor)({
|
|
|
691
621
|
matrix,
|
|
692
622
|
typed
|
|
693
623
|
});
|
|
694
|
-
const
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
624
|
+
const cbrt = exports.cbrt = /* #__PURE__ */(0, _factoriesAny.createCbrt)({
|
|
625
|
+
BigNumber,
|
|
626
|
+
Complex,
|
|
627
|
+
Fraction,
|
|
628
|
+
config: _configReadonly.config,
|
|
699
629
|
isNegative,
|
|
700
|
-
|
|
701
|
-
typed
|
|
630
|
+
matrix,
|
|
631
|
+
typed,
|
|
632
|
+
unaryMinus
|
|
702
633
|
});
|
|
703
634
|
const compare = exports.compare = /* #__PURE__ */(0, _factoriesAny.createCompare)({
|
|
704
635
|
BigNumber,
|
|
@@ -715,36 +646,26 @@ const compareText = exports.compareText = /* #__PURE__ */(0, _factoriesAny.creat
|
|
|
715
646
|
matrix,
|
|
716
647
|
typed
|
|
717
648
|
});
|
|
718
|
-
const
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
649
|
+
const count = exports.count = /* #__PURE__ */(0, _factoriesAny.createCount)({
|
|
650
|
+
prod,
|
|
651
|
+
size,
|
|
652
|
+
typed
|
|
722
653
|
});
|
|
723
654
|
const deepEqual = exports.deepEqual = /* #__PURE__ */(0, _factoriesAny.createDeepEqual)({
|
|
724
655
|
equal,
|
|
725
656
|
typed
|
|
726
657
|
});
|
|
727
|
-
const
|
|
728
|
-
|
|
729
|
-
number,
|
|
730
|
-
subtract,
|
|
658
|
+
const divideScalar = exports.divideScalar = /* #__PURE__ */(0, _factoriesAny.createDivideScalar)({
|
|
659
|
+
numeric,
|
|
731
660
|
typed
|
|
732
661
|
});
|
|
733
|
-
const
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
662
|
+
const dotDivide = exports.dotDivide = /* #__PURE__ */(0, _factoriesAny.createDotDivide)({
|
|
663
|
+
DenseMatrix,
|
|
664
|
+
SparseMatrix,
|
|
665
|
+
concat,
|
|
737
666
|
divideScalar,
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
subtractScalar,
|
|
741
|
-
typed
|
|
742
|
-
});
|
|
743
|
-
const dot = exports.dot = /* #__PURE__ */(0, _factoriesAny.createDot)({
|
|
744
|
-
addScalar,
|
|
745
|
-
conj,
|
|
746
|
-
multiplyScalar,
|
|
747
|
-
size,
|
|
667
|
+
equalScalar,
|
|
668
|
+
matrix,
|
|
748
669
|
typed
|
|
749
670
|
});
|
|
750
671
|
const equalText = exports.equalText = /* #__PURE__ */(0, _factoriesAny.createEqualText)({
|
|
@@ -772,6 +693,10 @@ const gcd = exports.gcd = /* #__PURE__ */(0, _factoriesAny.createGcd)({
|
|
|
772
693
|
typed,
|
|
773
694
|
zeros
|
|
774
695
|
});
|
|
696
|
+
const hasNumericValue = exports.hasNumericValue = /* #__PURE__ */(0, _factoriesAny.createHasNumericValue)({
|
|
697
|
+
isNumeric,
|
|
698
|
+
typed
|
|
699
|
+
});
|
|
775
700
|
const hypot = exports.hypot = /* #__PURE__ */(0, _factoriesAny.createHypot)({
|
|
776
701
|
abs,
|
|
777
702
|
addScalar,
|
|
@@ -806,7 +731,7 @@ const log = exports.log = /* #__PURE__ */(0, _factoriesAny.createLog)({
|
|
|
806
731
|
typeOf,
|
|
807
732
|
typed
|
|
808
733
|
});
|
|
809
|
-
const
|
|
734
|
+
const lsolve = exports.lsolve = /* #__PURE__ */(0, _factoriesAny.createLsolve)({
|
|
810
735
|
DenseMatrix,
|
|
811
736
|
divideScalar,
|
|
812
737
|
equalScalar,
|
|
@@ -815,12 +740,18 @@ const lsolveAll = exports.lsolveAll = /* #__PURE__ */(0, _factoriesAny.createLso
|
|
|
815
740
|
subtractScalar,
|
|
816
741
|
typed
|
|
817
742
|
});
|
|
818
|
-
const
|
|
743
|
+
const matrixFromColumns = exports.matrixFromColumns = /* #__PURE__ */(0, _factoriesAny.createMatrixFromColumns)({
|
|
819
744
|
flatten,
|
|
820
745
|
matrix,
|
|
821
746
|
size,
|
|
822
747
|
typed
|
|
823
748
|
});
|
|
749
|
+
const max = exports.max = /* #__PURE__ */(0, _factoriesAny.createMax)({
|
|
750
|
+
config: _configReadonly.config,
|
|
751
|
+
larger,
|
|
752
|
+
numeric,
|
|
753
|
+
typed
|
|
754
|
+
});
|
|
824
755
|
const min = exports.min = /* #__PURE__ */(0, _factoriesAny.createMin)({
|
|
825
756
|
config: _configReadonly.config,
|
|
826
757
|
numeric,
|
|
@@ -837,14 +768,6 @@ const mod = exports.mod = /* #__PURE__ */(0, _factoriesAny.createMod)({
|
|
|
837
768
|
typed,
|
|
838
769
|
zeros
|
|
839
770
|
});
|
|
840
|
-
const multiply = exports.multiply = /* #__PURE__ */(0, _factoriesAny.createMultiply)({
|
|
841
|
-
addScalar,
|
|
842
|
-
dot,
|
|
843
|
-
equalScalar,
|
|
844
|
-
matrix,
|
|
845
|
-
multiplyScalar,
|
|
846
|
-
typed
|
|
847
|
-
});
|
|
848
771
|
const nthRoots = exports.nthRoots = /* #__PURE__ */(0, _factoriesAny.createNthRoots)({
|
|
849
772
|
Complex,
|
|
850
773
|
config: _configReadonly.config,
|
|
@@ -864,6 +787,23 @@ const partitionSelect = exports.partitionSelect = /* #__PURE__ */(0, _factoriesA
|
|
|
864
787
|
isNumeric,
|
|
865
788
|
typed
|
|
866
789
|
});
|
|
790
|
+
const qr = exports.qr = /* #__PURE__ */(0, _factoriesAny.createQr)({
|
|
791
|
+
addScalar,
|
|
792
|
+
complex,
|
|
793
|
+
conj,
|
|
794
|
+
divideScalar,
|
|
795
|
+
equal,
|
|
796
|
+
identity,
|
|
797
|
+
isZero,
|
|
798
|
+
matrix,
|
|
799
|
+
multiplyScalar,
|
|
800
|
+
sign,
|
|
801
|
+
sqrt,
|
|
802
|
+
subtractScalar,
|
|
803
|
+
typed,
|
|
804
|
+
unaryMinus,
|
|
805
|
+
zeros
|
|
806
|
+
});
|
|
867
807
|
const rightLogShift = exports.rightLogShift = /* #__PURE__ */(0, _factoriesAny.createRightLogShift)({
|
|
868
808
|
DenseMatrix,
|
|
869
809
|
concat,
|
|
@@ -872,16 +812,12 @@ const rightLogShift = exports.rightLogShift = /* #__PURE__ */(0, _factoriesAny.c
|
|
|
872
812
|
typed,
|
|
873
813
|
zeros
|
|
874
814
|
});
|
|
875
|
-
const
|
|
815
|
+
const smallerEq = exports.smallerEq = /* #__PURE__ */(0, _factoriesAny.createSmallerEq)({
|
|
816
|
+
DenseMatrix,
|
|
876
817
|
SparseMatrix,
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
larger,
|
|
881
|
-
largerEq,
|
|
882
|
-
multiply,
|
|
883
|
-
subtract,
|
|
884
|
-
transpose,
|
|
818
|
+
concat,
|
|
819
|
+
config: _configReadonly.config,
|
|
820
|
+
matrix,
|
|
885
821
|
typed
|
|
886
822
|
});
|
|
887
823
|
const subset = exports.subset = /* #__PURE__ */(0, _factoriesAny.createSubset)({
|
|
@@ -890,18 +826,21 @@ const subset = exports.subset = /* #__PURE__ */(0, _factoriesAny.createSubset)({
|
|
|
890
826
|
typed,
|
|
891
827
|
zeros
|
|
892
828
|
});
|
|
893
|
-
const
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
829
|
+
const subtract = exports.subtract = /* #__PURE__ */(0, _factoriesAny.createSubtract)({
|
|
830
|
+
DenseMatrix,
|
|
831
|
+
concat,
|
|
832
|
+
equalScalar,
|
|
833
|
+
matrix,
|
|
834
|
+
subtractScalar,
|
|
835
|
+
typed,
|
|
836
|
+
unaryMinus
|
|
898
837
|
});
|
|
899
838
|
const trace = exports.trace = /* #__PURE__ */(0, _factoriesAny.createTrace)({
|
|
900
839
|
add,
|
|
901
840
|
matrix,
|
|
902
841
|
typed
|
|
903
842
|
});
|
|
904
|
-
const
|
|
843
|
+
const usolve = exports.usolve = /* #__PURE__ */(0, _factoriesAny.createUsolve)({
|
|
905
844
|
DenseMatrix,
|
|
906
845
|
divideScalar,
|
|
907
846
|
equalScalar,
|
|
@@ -910,22 +849,15 @@ const usolveAll = exports.usolveAll = /* #__PURE__ */(0, _factoriesAny.createUso
|
|
|
910
849
|
subtractScalar,
|
|
911
850
|
typed
|
|
912
851
|
});
|
|
913
|
-
const
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
852
|
+
const catalan = exports.catalan = /* #__PURE__ */(0, _factoriesAny.createCatalan)({
|
|
853
|
+
addScalar,
|
|
854
|
+
combinations,
|
|
855
|
+
divideScalar,
|
|
856
|
+
isInteger,
|
|
857
|
+
isNegative,
|
|
858
|
+
multiplyScalar,
|
|
918
859
|
typed
|
|
919
860
|
});
|
|
920
|
-
const ceil = exports.ceil = /* #__PURE__ */(0, _factoriesAny.createCeil)({
|
|
921
|
-
DenseMatrix,
|
|
922
|
-
config: _configReadonly.config,
|
|
923
|
-
equalScalar,
|
|
924
|
-
matrix,
|
|
925
|
-
round,
|
|
926
|
-
typed,
|
|
927
|
-
zeros
|
|
928
|
-
});
|
|
929
861
|
const compareNatural = exports.compareNatural = /* #__PURE__ */(0, _factoriesAny.createCompareNatural)({
|
|
930
862
|
compare,
|
|
931
863
|
typed
|
|
@@ -939,61 +871,35 @@ const composition = exports.composition = /* #__PURE__ */(0, _factoriesAny.creat
|
|
|
939
871
|
larger,
|
|
940
872
|
typed
|
|
941
873
|
});
|
|
942
|
-
const
|
|
874
|
+
const diff = exports.diff = /* #__PURE__ */(0, _factoriesAny.createDiff)({
|
|
943
875
|
matrix,
|
|
944
|
-
|
|
876
|
+
number,
|
|
945
877
|
subtract,
|
|
946
878
|
typed
|
|
947
879
|
});
|
|
948
|
-
const
|
|
880
|
+
const distance = exports.distance = /* #__PURE__ */(0, _factoriesAny.createDistance)({
|
|
881
|
+
abs,
|
|
882
|
+
addScalar,
|
|
883
|
+
deepEqual,
|
|
949
884
|
divideScalar,
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
multiply,
|
|
885
|
+
multiplyScalar,
|
|
886
|
+
sqrt,
|
|
953
887
|
subtractScalar,
|
|
954
|
-
typed
|
|
955
|
-
unaryMinus
|
|
888
|
+
typed
|
|
956
889
|
});
|
|
957
|
-
const
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
matrix,
|
|
890
|
+
const dot = exports.dot = /* #__PURE__ */(0, _factoriesAny.createDot)({
|
|
891
|
+
addScalar,
|
|
892
|
+
conj,
|
|
961
893
|
multiplyScalar,
|
|
894
|
+
size,
|
|
962
895
|
typed
|
|
963
896
|
});
|
|
964
897
|
const FibonacciHeap = exports.FibonacciHeap = /* #__PURE__ */(0, _factoriesAny.createFibonacciHeapClass)({
|
|
965
898
|
larger,
|
|
966
899
|
smaller
|
|
967
|
-
});
|
|
968
|
-
const
|
|
969
|
-
|
|
970
|
-
DenseMatrix,
|
|
971
|
-
ceil,
|
|
972
|
-
equalScalar,
|
|
973
|
-
floor,
|
|
974
|
-
matrix,
|
|
975
|
-
typed,
|
|
976
|
-
zeros
|
|
977
|
-
});
|
|
978
|
-
const index = exports.index = /* #__PURE__ */(0, _factoriesAny.createIndex)({
|
|
979
|
-
Index,
|
|
980
|
-
typed
|
|
981
|
-
});
|
|
982
|
-
const intersect = exports.intersect = /* #__PURE__ */(0, _factoriesAny.createIntersect)({
|
|
983
|
-
abs,
|
|
984
|
-
add,
|
|
985
|
-
addScalar,
|
|
986
|
-
config: _configReadonly.config,
|
|
987
|
-
divideScalar,
|
|
988
|
-
equalScalar,
|
|
989
|
-
flatten,
|
|
990
|
-
isNumeric,
|
|
991
|
-
isZero,
|
|
992
|
-
matrix,
|
|
993
|
-
multiply,
|
|
994
|
-
multiplyScalar,
|
|
995
|
-
smaller,
|
|
996
|
-
subtract,
|
|
900
|
+
});
|
|
901
|
+
const index = exports.index = /* #__PURE__ */(0, _factoriesAny.createIndex)({
|
|
902
|
+
Index,
|
|
997
903
|
typed
|
|
998
904
|
});
|
|
999
905
|
const invmod = exports.invmod = /* #__PURE__ */(0, _factoriesAny.createInvmod)({
|
|
@@ -1020,10 +926,45 @@ const log1p = exports.log1p = /* #__PURE__ */(0, _factoriesAny.createLog1p)({
|
|
|
1020
926
|
log,
|
|
1021
927
|
typed
|
|
1022
928
|
});
|
|
1023
|
-
const
|
|
929
|
+
const lsolveAll = exports.lsolveAll = /* #__PURE__ */(0, _factoriesAny.createLsolveAll)({
|
|
930
|
+
DenseMatrix,
|
|
931
|
+
divideScalar,
|
|
932
|
+
equalScalar,
|
|
933
|
+
matrix,
|
|
934
|
+
multiplyScalar,
|
|
935
|
+
subtractScalar,
|
|
936
|
+
typed
|
|
937
|
+
});
|
|
938
|
+
const matrixFromRows = exports.matrixFromRows = /* #__PURE__ */(0, _factoriesAny.createMatrixFromRows)({
|
|
939
|
+
flatten,
|
|
940
|
+
matrix,
|
|
941
|
+
size,
|
|
942
|
+
typed
|
|
943
|
+
});
|
|
944
|
+
const multiply = exports.multiply = /* #__PURE__ */(0, _factoriesAny.createMultiply)({
|
|
945
|
+
addScalar,
|
|
946
|
+
dot,
|
|
947
|
+
equalScalar,
|
|
948
|
+
matrix,
|
|
949
|
+
multiplyScalar,
|
|
950
|
+
typed
|
|
951
|
+
});
|
|
952
|
+
const range = exports.range = /* #__PURE__ */(0, _factoriesAny.createRange)({
|
|
953
|
+
bignumber,
|
|
954
|
+
matrix,
|
|
955
|
+
add,
|
|
1024
956
|
config: _configReadonly.config,
|
|
957
|
+
isPositive,
|
|
1025
958
|
larger,
|
|
1026
|
-
|
|
959
|
+
largerEq,
|
|
960
|
+
smaller,
|
|
961
|
+
smallerEq,
|
|
962
|
+
typed
|
|
963
|
+
});
|
|
964
|
+
const row = exports.row = /* #__PURE__ */(0, _factoriesAny.createRow)({
|
|
965
|
+
Index,
|
|
966
|
+
matrix,
|
|
967
|
+
range,
|
|
1027
968
|
typed
|
|
1028
969
|
});
|
|
1029
970
|
const setCartesian = exports.setCartesian = /* #__PURE__ */(0, _factoriesAny.createSetCartesian)({
|
|
@@ -1056,12 +997,16 @@ const setPowerset = exports.setPowerset = /* #__PURE__ */(0, _factoriesAny.creat
|
|
|
1056
997
|
subset,
|
|
1057
998
|
typed
|
|
1058
999
|
});
|
|
1059
|
-
const
|
|
1060
|
-
DenseMatrix,
|
|
1000
|
+
const slu = exports.slu = /* #__PURE__ */(0, _factoriesAny.createSlu)({
|
|
1061
1001
|
SparseMatrix,
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1002
|
+
abs,
|
|
1003
|
+
add,
|
|
1004
|
+
divideScalar,
|
|
1005
|
+
larger,
|
|
1006
|
+
largerEq,
|
|
1007
|
+
multiply,
|
|
1008
|
+
subtract,
|
|
1009
|
+
transpose,
|
|
1065
1010
|
typed
|
|
1066
1011
|
});
|
|
1067
1012
|
const sort = exports.sort = /* #__PURE__ */(0, _factoriesAny.createSort)({
|
|
@@ -1070,13 +1015,25 @@ const sort = exports.sort = /* #__PURE__ */(0, _factoriesAny.createSort)({
|
|
|
1070
1015
|
matrix,
|
|
1071
1016
|
typed
|
|
1072
1017
|
});
|
|
1073
|
-
const
|
|
1074
|
-
DenseMatrix,
|
|
1075
|
-
SparseMatrix,
|
|
1076
|
-
concat,
|
|
1018
|
+
const unaryPlus = exports.unaryPlus = /* #__PURE__ */(0, _factoriesAny.createUnaryPlus)({
|
|
1077
1019
|
config: _configReadonly.config,
|
|
1020
|
+
numeric,
|
|
1021
|
+
typed
|
|
1022
|
+
});
|
|
1023
|
+
const usolveAll = exports.usolveAll = /* #__PURE__ */(0, _factoriesAny.createUsolveAll)({
|
|
1024
|
+
DenseMatrix,
|
|
1025
|
+
divideScalar,
|
|
1078
1026
|
equalScalar,
|
|
1079
1027
|
matrix,
|
|
1028
|
+
multiplyScalar,
|
|
1029
|
+
subtractScalar,
|
|
1030
|
+
typed
|
|
1031
|
+
});
|
|
1032
|
+
const zpk2tf = exports.zpk2tf = /* #__PURE__ */(0, _factoriesAny.createZpk2tf)({
|
|
1033
|
+
Complex,
|
|
1034
|
+
add,
|
|
1035
|
+
multiply,
|
|
1036
|
+
number,
|
|
1080
1037
|
typed
|
|
1081
1038
|
});
|
|
1082
1039
|
const and = exports.and = /* #__PURE__ */(0, _factoriesAny.createAnd)({
|
|
@@ -1087,81 +1044,54 @@ const and = exports.and = /* #__PURE__ */(0, _factoriesAny.createAnd)({
|
|
|
1087
1044
|
typed,
|
|
1088
1045
|
zeros
|
|
1089
1046
|
});
|
|
1090
|
-
const
|
|
1091
|
-
|
|
1092
|
-
matrix,
|
|
1093
|
-
add,
|
|
1047
|
+
const ceil = exports.ceil = /* #__PURE__ */(0, _factoriesAny.createCeil)({
|
|
1048
|
+
DenseMatrix,
|
|
1094
1049
|
config: _configReadonly.config,
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
typed
|
|
1050
|
+
equalScalar,
|
|
1051
|
+
matrix,
|
|
1052
|
+
round,
|
|
1053
|
+
typed,
|
|
1054
|
+
zeros
|
|
1101
1055
|
});
|
|
1102
|
-
const
|
|
1056
|
+
const column = exports.column = /* #__PURE__ */(0, _factoriesAny.createColumn)({
|
|
1103
1057
|
Index,
|
|
1104
1058
|
matrix,
|
|
1105
1059
|
range,
|
|
1106
1060
|
typed
|
|
1107
1061
|
});
|
|
1108
|
-
const
|
|
1109
|
-
DenseMatrix,
|
|
1110
|
-
Index,
|
|
1111
|
-
compareNatural,
|
|
1112
|
-
size,
|
|
1113
|
-
subset,
|
|
1114
|
-
typed
|
|
1115
|
-
});
|
|
1116
|
-
const setMultiplicity = exports.setMultiplicity = /* #__PURE__ */(0, _factoriesAny.createSetMultiplicity)({
|
|
1117
|
-
Index,
|
|
1118
|
-
compareNatural,
|
|
1119
|
-
size,
|
|
1120
|
-
subset,
|
|
1121
|
-
typed
|
|
1122
|
-
});
|
|
1123
|
-
const setSymDifference = exports.setSymDifference = /* #__PURE__ */(0, _factoriesAny.createSetSymDifference)({
|
|
1124
|
-
Index,
|
|
1125
|
-
concat,
|
|
1126
|
-
setDifference,
|
|
1127
|
-
size,
|
|
1128
|
-
subset,
|
|
1129
|
-
typed
|
|
1130
|
-
});
|
|
1131
|
-
const Spa = exports.Spa = /* #__PURE__ */(0, _factoriesAny.createSpaClass)({
|
|
1132
|
-
FibonacciHeap,
|
|
1133
|
-
addScalar,
|
|
1134
|
-
equalScalar
|
|
1135
|
-
});
|
|
1136
|
-
const column = exports.column = /* #__PURE__ */(0, _factoriesAny.createColumn)({
|
|
1137
|
-
Index,
|
|
1062
|
+
const cross = exports.cross = /* #__PURE__ */(0, _factoriesAny.createCross)({
|
|
1138
1063
|
matrix,
|
|
1139
|
-
|
|
1064
|
+
multiply,
|
|
1065
|
+
subtract,
|
|
1140
1066
|
typed
|
|
1141
1067
|
});
|
|
1142
|
-
const
|
|
1143
|
-
abs,
|
|
1144
|
-
addScalar,
|
|
1145
|
-
det,
|
|
1068
|
+
const det = exports.det = /* #__PURE__ */(0, _factoriesAny.createDet)({
|
|
1146
1069
|
divideScalar,
|
|
1147
|
-
|
|
1070
|
+
isZero,
|
|
1148
1071
|
matrix,
|
|
1149
1072
|
multiply,
|
|
1073
|
+
subtractScalar,
|
|
1150
1074
|
typed,
|
|
1151
1075
|
unaryMinus
|
|
1152
1076
|
});
|
|
1153
|
-
const
|
|
1077
|
+
const fix = exports.fix = /* #__PURE__ */(0, _factoriesAny.createFix)({
|
|
1078
|
+
Complex,
|
|
1154
1079
|
DenseMatrix,
|
|
1155
|
-
|
|
1156
|
-
|
|
1080
|
+
ceil,
|
|
1081
|
+
equalScalar,
|
|
1082
|
+
floor,
|
|
1083
|
+
matrix,
|
|
1084
|
+
typed,
|
|
1085
|
+
zeros
|
|
1086
|
+
});
|
|
1087
|
+
const inv = exports.inv = /* #__PURE__ */(0, _factoriesAny.createInv)({
|
|
1157
1088
|
abs,
|
|
1158
1089
|
addScalar,
|
|
1090
|
+
det,
|
|
1159
1091
|
divideScalar,
|
|
1160
|
-
|
|
1161
|
-
larger,
|
|
1092
|
+
identity,
|
|
1162
1093
|
matrix,
|
|
1163
|
-
|
|
1164
|
-
subtractScalar,
|
|
1094
|
+
multiply,
|
|
1165
1095
|
typed,
|
|
1166
1096
|
unaryMinus
|
|
1167
1097
|
});
|
|
@@ -1190,7 +1120,7 @@ const pow = exports.pow = /* #__PURE__ */(0, _factoriesAny.createPow)({
|
|
|
1190
1120
|
number,
|
|
1191
1121
|
typed
|
|
1192
1122
|
});
|
|
1193
|
-
const
|
|
1123
|
+
const setDifference = exports.setDifference = /* #__PURE__ */(0, _factoriesAny.createSetDifference)({
|
|
1194
1124
|
DenseMatrix,
|
|
1195
1125
|
Index,
|
|
1196
1126
|
compareNatural,
|
|
@@ -1198,15 +1128,26 @@ const setIntersect = exports.setIntersect = /* #__PURE__ */(0, _factoriesAny.cre
|
|
|
1198
1128
|
subset,
|
|
1199
1129
|
typed
|
|
1200
1130
|
});
|
|
1201
|
-
const
|
|
1131
|
+
const setMultiplicity = exports.setMultiplicity = /* #__PURE__ */(0, _factoriesAny.createSetMultiplicity)({
|
|
1132
|
+
Index,
|
|
1133
|
+
compareNatural,
|
|
1134
|
+
size,
|
|
1135
|
+
subset,
|
|
1136
|
+
typed
|
|
1137
|
+
});
|
|
1138
|
+
const setSymDifference = exports.setSymDifference = /* #__PURE__ */(0, _factoriesAny.createSetSymDifference)({
|
|
1202
1139
|
Index,
|
|
1203
1140
|
concat,
|
|
1204
|
-
|
|
1205
|
-
setSymDifference,
|
|
1141
|
+
setDifference,
|
|
1206
1142
|
size,
|
|
1207
1143
|
subset,
|
|
1208
1144
|
typed
|
|
1209
1145
|
});
|
|
1146
|
+
const Spa = exports.Spa = /* #__PURE__ */(0, _factoriesAny.createSpaClass)({
|
|
1147
|
+
FibonacciHeap,
|
|
1148
|
+
addScalar,
|
|
1149
|
+
equalScalar
|
|
1150
|
+
});
|
|
1210
1151
|
const sqrtm = exports.sqrtm = /* #__PURE__ */(0, _factoriesAny.createSqrtm)({
|
|
1211
1152
|
abs,
|
|
1212
1153
|
add,
|
|
@@ -1220,6 +1161,12 @@ const sqrtm = exports.sqrtm = /* #__PURE__ */(0, _factoriesAny.createSqrtm)({
|
|
|
1220
1161
|
subtract,
|
|
1221
1162
|
typed
|
|
1222
1163
|
});
|
|
1164
|
+
const sum = exports.sum = /* #__PURE__ */(0, _factoriesAny.createSum)({
|
|
1165
|
+
add,
|
|
1166
|
+
config: _configReadonly.config,
|
|
1167
|
+
numeric,
|
|
1168
|
+
typed
|
|
1169
|
+
});
|
|
1223
1170
|
const Unit = exports.Unit = /* #__PURE__ */(0, _factoriesAny.createUnitClass)({
|
|
1224
1171
|
BigNumber,
|
|
1225
1172
|
Complex,
|
|
@@ -1273,6 +1220,11 @@ const coulomb = exports.coulomb = /* #__PURE__ */(0, _factoriesAny.createCoulomb
|
|
|
1273
1220
|
Unit,
|
|
1274
1221
|
config: _configReadonly.config
|
|
1275
1222
|
});
|
|
1223
|
+
const cumsum = exports.cumsum = /* #__PURE__ */(0, _factoriesAny.createCumSum)({
|
|
1224
|
+
add,
|
|
1225
|
+
typed,
|
|
1226
|
+
unaryPlus
|
|
1227
|
+
});
|
|
1276
1228
|
const deuteronMass = exports.deuteronMass = /* #__PURE__ */(0, _factoriesAny.createDeuteronMass)({
|
|
1277
1229
|
BigNumber,
|
|
1278
1230
|
Unit,
|
|
@@ -1349,6 +1301,11 @@ const ifft = exports.ifft = /* #__PURE__ */(0, _factoriesAny.createIfft)({
|
|
|
1349
1301
|
fft,
|
|
1350
1302
|
typed
|
|
1351
1303
|
});
|
|
1304
|
+
const inverseConductanceQuantum = exports.inverseConductanceQuantum = /* #__PURE__ */(0, _factoriesAny.createInverseConductanceQuantum)({
|
|
1305
|
+
BigNumber,
|
|
1306
|
+
Unit,
|
|
1307
|
+
config: _configReadonly.config
|
|
1308
|
+
});
|
|
1352
1309
|
const klitzing = exports.klitzing = /* #__PURE__ */(0, _factoriesAny.createKlitzing)({
|
|
1353
1310
|
BigNumber,
|
|
1354
1311
|
Unit,
|
|
@@ -1424,6 +1381,10 @@ const secondRadiation = exports.secondRadiation = /* #__PURE__ */(0, _factoriesA
|
|
|
1424
1381
|
Unit,
|
|
1425
1382
|
config: _configReadonly.config
|
|
1426
1383
|
});
|
|
1384
|
+
const setSize = exports.setSize = /* #__PURE__ */(0, _factoriesAny.createSetSize)({
|
|
1385
|
+
compareNatural,
|
|
1386
|
+
typed
|
|
1387
|
+
});
|
|
1427
1388
|
const speedOfLight = exports.speedOfLight = /* #__PURE__ */(0, _factoriesAny.createSpeedOfLight)({
|
|
1428
1389
|
BigNumber,
|
|
1429
1390
|
Unit,
|
|
@@ -1480,19 +1441,37 @@ const gravity = exports.gravity = /* #__PURE__ */(0, _factoriesAny.createGravity
|
|
|
1480
1441
|
Unit,
|
|
1481
1442
|
config: _configReadonly.config
|
|
1482
1443
|
});
|
|
1483
|
-
const
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1444
|
+
const intersect = exports.intersect = /* #__PURE__ */(0, _factoriesAny.createIntersect)({
|
|
1445
|
+
abs,
|
|
1446
|
+
add,
|
|
1447
|
+
addScalar,
|
|
1448
|
+
config: _configReadonly.config,
|
|
1449
|
+
divideScalar,
|
|
1450
|
+
equalScalar,
|
|
1451
|
+
flatten,
|
|
1452
|
+
isNumeric,
|
|
1453
|
+
isZero,
|
|
1454
|
+
matrix,
|
|
1455
|
+
multiply,
|
|
1456
|
+
multiplyScalar,
|
|
1457
|
+
smaller,
|
|
1458
|
+
subtract,
|
|
1459
|
+
typed
|
|
1487
1460
|
});
|
|
1488
|
-
const
|
|
1461
|
+
const lup = exports.lup = /* #__PURE__ */(0, _factoriesAny.createLup)({
|
|
1489
1462
|
DenseMatrix,
|
|
1490
|
-
|
|
1491
|
-
|
|
1463
|
+
Spa,
|
|
1464
|
+
SparseMatrix,
|
|
1465
|
+
abs,
|
|
1466
|
+
addScalar,
|
|
1467
|
+
divideScalar,
|
|
1468
|
+
equalScalar,
|
|
1469
|
+
larger,
|
|
1492
1470
|
matrix,
|
|
1493
|
-
|
|
1471
|
+
multiplyScalar,
|
|
1472
|
+
subtractScalar,
|
|
1494
1473
|
typed,
|
|
1495
|
-
|
|
1474
|
+
unaryMinus
|
|
1496
1475
|
});
|
|
1497
1476
|
const magneticFluxQuantum = exports.magneticFluxQuantum = /* #__PURE__ */(0, _factoriesAny.createMagneticFluxQuantum)({
|
|
1498
1477
|
BigNumber,
|
|
@@ -1537,8 +1516,12 @@ const polynomialRoot = exports.polynomialRoot = /* #__PURE__ */(0, _factoriesAny
|
|
|
1537
1516
|
typed,
|
|
1538
1517
|
unaryMinus
|
|
1539
1518
|
});
|
|
1540
|
-
const
|
|
1519
|
+
const setIntersect = exports.setIntersect = /* #__PURE__ */(0, _factoriesAny.createSetIntersect)({
|
|
1520
|
+
DenseMatrix,
|
|
1521
|
+
Index,
|
|
1541
1522
|
compareNatural,
|
|
1523
|
+
size,
|
|
1524
|
+
subset,
|
|
1542
1525
|
typed
|
|
1543
1526
|
});
|
|
1544
1527
|
const solveODE = exports.solveODE = /* #__PURE__ */(0, _factoriesAny.createSolveODE)({
|
|
@@ -1640,6 +1623,15 @@ const kldivergence = exports.kldivergence = /* #__PURE__ */(0, _factoriesAny.cre
|
|
|
1640
1623
|
sum,
|
|
1641
1624
|
typed
|
|
1642
1625
|
});
|
|
1626
|
+
const lusolve = exports.lusolve = /* #__PURE__ */(0, _factoriesAny.createLusolve)({
|
|
1627
|
+
DenseMatrix,
|
|
1628
|
+
lsolve,
|
|
1629
|
+
lup,
|
|
1630
|
+
matrix,
|
|
1631
|
+
slu,
|
|
1632
|
+
typed,
|
|
1633
|
+
usolve
|
|
1634
|
+
});
|
|
1643
1635
|
const mean = exports.mean = /* #__PURE__ */(0, _factoriesAny.createMean)({
|
|
1644
1636
|
add,
|
|
1645
1637
|
divide,
|
|
@@ -1662,6 +1654,7 @@ const quantileSeq = exports.quantileSeq = /* #__PURE__ */(0, _factoriesAny.creat
|
|
|
1662
1654
|
divide,
|
|
1663
1655
|
isInteger,
|
|
1664
1656
|
larger,
|
|
1657
|
+
mapSlices,
|
|
1665
1658
|
multiply,
|
|
1666
1659
|
partitionSelect,
|
|
1667
1660
|
smaller,
|
|
@@ -1669,11 +1662,20 @@ const quantileSeq = exports.quantileSeq = /* #__PURE__ */(0, _factoriesAny.creat
|
|
|
1669
1662
|
subtract,
|
|
1670
1663
|
typed
|
|
1671
1664
|
});
|
|
1665
|
+
const setUnion = exports.setUnion = /* #__PURE__ */(0, _factoriesAny.createSetUnion)({
|
|
1666
|
+
Index,
|
|
1667
|
+
concat,
|
|
1668
|
+
setIntersect,
|
|
1669
|
+
setSymDifference,
|
|
1670
|
+
size,
|
|
1671
|
+
subset,
|
|
1672
|
+
typed
|
|
1673
|
+
});
|
|
1672
1674
|
const variance = exports.variance = /* #__PURE__ */(0, _factoriesAny.createVariance)({
|
|
1673
1675
|
add,
|
|
1674
|
-
apply,
|
|
1675
1676
|
divide,
|
|
1676
1677
|
isNaN,
|
|
1678
|
+
mapSlices,
|
|
1677
1679
|
multiply,
|
|
1678
1680
|
subtract,
|
|
1679
1681
|
typed
|