mathjs 14.0.1 → 14.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/HISTORY.md +20 -0
- package/NOTICE +1 -1
- package/README.md +7 -7
- package/bin/cli.js +1 -1
- package/lib/browser/math.js +1 -1
- package/lib/browser/math.js.LICENSE.txt +5 -5
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/core/function/import.js +14 -4
- package/lib/cjs/entry/dependenciesAny/dependenciesLarger.generated.js +2 -0
- 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/dependenciesRandomInt.generated.js +2 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSmaller.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/dependenciesRandomInt.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 +14 -14
- package/lib/cjs/entry/pureFunctionsAny.generated.js +330 -325
- package/lib/cjs/entry/pureFunctionsNumber.generated.js +18 -15
- package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +2 -0
- package/lib/cjs/expression/embeddedDocs/function/arithmetic/sign.js +1 -1
- 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/log.js +12 -5
- package/lib/cjs/function/arithmetic/log10.js +15 -7
- package/lib/cjs/function/arithmetic/log2.js +9 -4
- 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/probability/randomInt.js +26 -3
- package/lib/cjs/function/relational/larger.js +12 -4
- package/lib/cjs/function/relational/smaller.js +12 -4
- package/lib/cjs/function/statistics/max.js +1 -1
- package/lib/cjs/function/statistics/min.js +1 -1
- 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/string/print.js +2 -2
- 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/function/utils/isInteger.js +1 -1
- package/lib/cjs/header.js +3 -3
- package/lib/cjs/type/matrix/MatrixIndex.js +6 -3
- package/lib/cjs/type/matrix/Range.js +15 -8
- package/lib/cjs/utils/bigint.js +33 -0
- package/lib/cjs/utils/factory.js +5 -2
- package/lib/cjs/utils/number.js +7 -19
- 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/dependenciesAny/dependenciesLarger.generated.js +2 -0
- 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/dependenciesRandomInt.generated.js +2 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSmaller.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/dependenciesRandomInt.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 +16 -16
- package/lib/esm/entry/pureFunctionsAny.generated.js +328 -323
- package/lib/esm/entry/pureFunctionsNumber.generated.js +17 -14
- package/lib/esm/expression/embeddedDocs/embeddedDocs.js +2 -0
- package/lib/esm/expression/embeddedDocs/function/arithmetic/sign.js +1 -1
- 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/log.js +12 -5
- package/lib/esm/function/arithmetic/log10.js +16 -8
- package/lib/esm/function/arithmetic/log2.js +9 -4
- 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/probability/randomInt.js +26 -3
- package/lib/esm/function/relational/larger.js +12 -4
- package/lib/esm/function/relational/smaller.js +12 -4
- package/lib/esm/function/statistics/max.js +1 -1
- package/lib/esm/function/statistics/min.js +1 -1
- 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/string/print.js +2 -2
- 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/function/utils/isInteger.js +1 -1
- package/lib/esm/header.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/bigint.js +27 -0
- package/lib/esm/utils/factory.js +5 -2
- package/lib/esm/utils/number.js +6 -17
- package/lib/esm/utils/snapshot.js +8 -1
- package/lib/esm/version.js +1 -1
- package/package.json +13 -11
- package/types/index.d.ts +75 -12
- package/lib/esm/expression/transform/apply.transform.js +0 -44
@@ -72,10 +72,6 @@ const chain = exports.chain = (0, _factoriesAny.createChain)({
|
|
72
72
|
Chain,
|
73
73
|
typed: _pureFunctionsAnyGenerated.typed
|
74
74
|
});
|
75
|
-
const IndexNode = exports.IndexNode = (0, _factoriesAny.createIndexNode)({
|
76
|
-
Node,
|
77
|
-
size: _pureFunctionsAnyGenerated.size
|
78
|
-
});
|
79
75
|
const AccessorNode = exports.AccessorNode = (0, _factoriesAny.createAccessorNode)({
|
80
76
|
Node,
|
81
77
|
subset: _pureFunctionsAnyGenerated.subset
|
@@ -85,6 +81,10 @@ const AssignmentNode = exports.AssignmentNode = (0, _factoriesAny.createAssignme
|
|
85
81
|
Node,
|
86
82
|
subset: _pureFunctionsAnyGenerated.subset
|
87
83
|
});
|
84
|
+
const IndexNode = exports.IndexNode = (0, _factoriesAny.createIndexNode)({
|
85
|
+
Node,
|
86
|
+
size: _pureFunctionsAnyGenerated.size
|
87
|
+
});
|
88
88
|
const SymbolNode = exports.SymbolNode = (0, _factoriesAny.createSymbolNode)({
|
89
89
|
Unit: _pureFunctionsAnyGenerated.Unit,
|
90
90
|
Node,
|
@@ -339,7 +339,6 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
339
339
|
typeOf: _pureFunctionsAnyGenerated.typeOf,
|
340
340
|
acosh: _pureFunctionsAnyGenerated.acosh,
|
341
341
|
acsch: _pureFunctionsAnyGenerated.acsch,
|
342
|
-
apply: _pureFunctionsAnyGenerated.apply,
|
343
342
|
asec: _pureFunctionsAnyGenerated.asec,
|
344
343
|
bignumber: _pureFunctionsAnyGenerated.bignumber,
|
345
344
|
chain,
|
@@ -348,125 +347,121 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
348
347
|
csch: _pureFunctionsAnyGenerated.csch,
|
349
348
|
isNaN: _pureFunctionsAnyGenerated.isNaN,
|
350
349
|
isPrime: _pureFunctionsAnyGenerated.isPrime,
|
350
|
+
mapSlices: _pureFunctionsAnyGenerated.mapSlices,
|
351
|
+
matrix: _pureFunctionsAnyGenerated.matrix,
|
352
|
+
matrixFromFunction: _pureFunctionsAnyGenerated.matrixFromFunction,
|
353
|
+
ones: _pureFunctionsAnyGenerated.ones,
|
351
354
|
randomInt: _pureFunctionsAnyGenerated.randomInt,
|
355
|
+
reshape: _pureFunctionsAnyGenerated.reshape,
|
352
356
|
sech: _pureFunctionsAnyGenerated.sech,
|
353
357
|
sinh: _pureFunctionsAnyGenerated.sinh,
|
354
358
|
sparse: _pureFunctionsAnyGenerated.sparse,
|
355
359
|
sqrt: _pureFunctionsAnyGenerated.sqrt,
|
356
360
|
squeeze: _pureFunctionsAnyGenerated.squeeze,
|
357
361
|
tanh: _pureFunctionsAnyGenerated.tanh,
|
358
|
-
unaryMinus: _pureFunctionsAnyGenerated.unaryMinus,
|
359
|
-
acoth: _pureFunctionsAnyGenerated.acoth,
|
360
|
-
bin: _pureFunctionsAnyGenerated.bin,
|
361
|
-
coth: _pureFunctionsAnyGenerated.coth,
|
362
|
-
fraction: _pureFunctionsAnyGenerated.fraction,
|
363
|
-
isNumeric: _pureFunctionsAnyGenerated.isNumeric,
|
364
|
-
matrix: _pureFunctionsAnyGenerated.matrix,
|
365
|
-
matrixFromFunction: _pureFunctionsAnyGenerated.matrixFromFunction,
|
366
|
-
mode: _pureFunctionsAnyGenerated.mode,
|
367
|
-
numeric: _pureFunctionsAnyGenerated.numeric,
|
368
|
-
prod: _pureFunctionsAnyGenerated.prod,
|
369
|
-
reshape: _pureFunctionsAnyGenerated.reshape,
|
370
|
-
size: _pureFunctionsAnyGenerated.size,
|
371
362
|
transpose: _pureFunctionsAnyGenerated.transpose,
|
372
363
|
xgcd: _pureFunctionsAnyGenerated.xgcd,
|
373
364
|
zeros: _pureFunctionsAnyGenerated.zeros,
|
365
|
+
acoth: _pureFunctionsAnyGenerated.acoth,
|
374
366
|
asin: _pureFunctionsAnyGenerated.asin,
|
375
|
-
|
367
|
+
bin: _pureFunctionsAnyGenerated.bin,
|
376
368
|
concat: _pureFunctionsAnyGenerated.concat,
|
377
|
-
|
369
|
+
coth: _pureFunctionsAnyGenerated.coth,
|
378
370
|
ctranspose: _pureFunctionsAnyGenerated.ctranspose,
|
379
371
|
diag: _pureFunctionsAnyGenerated.diag,
|
380
|
-
|
381
|
-
dotDivide: _pureFunctionsAnyGenerated.dotDivide,
|
372
|
+
dotMultiply: _pureFunctionsAnyGenerated.dotMultiply,
|
382
373
|
equal: _pureFunctionsAnyGenerated.equal,
|
383
|
-
|
374
|
+
fraction: _pureFunctionsAnyGenerated.fraction,
|
384
375
|
identity: _pureFunctionsAnyGenerated.identity,
|
376
|
+
isNumeric: _pureFunctionsAnyGenerated.isNumeric,
|
385
377
|
kron: _pureFunctionsAnyGenerated.kron,
|
386
378
|
largerEq: _pureFunctionsAnyGenerated.largerEq,
|
387
379
|
leftShift: _pureFunctionsAnyGenerated.leftShift,
|
388
|
-
|
389
|
-
matrixFromColumns: _pureFunctionsAnyGenerated.matrixFromColumns,
|
380
|
+
mode: _pureFunctionsAnyGenerated.mode,
|
390
381
|
nthRoot: _pureFunctionsAnyGenerated.nthRoot,
|
391
|
-
|
392
|
-
|
382
|
+
numeric: _pureFunctionsAnyGenerated.numeric,
|
383
|
+
prod: _pureFunctionsAnyGenerated.prod,
|
393
384
|
resize: _pureFunctionsAnyGenerated.resize,
|
394
385
|
rightArithShift: _pureFunctionsAnyGenerated.rightArithShift,
|
395
386
|
round: _pureFunctionsAnyGenerated.round,
|
387
|
+
size: _pureFunctionsAnyGenerated.size,
|
396
388
|
smaller: _pureFunctionsAnyGenerated.smaller,
|
397
|
-
subtract: _pureFunctionsAnyGenerated.subtract,
|
398
389
|
to: _pureFunctionsAnyGenerated.to,
|
399
|
-
|
400
|
-
|
390
|
+
unaryMinus: _pureFunctionsAnyGenerated.unaryMinus,
|
391
|
+
unequal: _pureFunctionsAnyGenerated.unequal,
|
401
392
|
xor: _pureFunctionsAnyGenerated.xor,
|
402
393
|
add: _pureFunctionsAnyGenerated.add,
|
403
394
|
atan2: _pureFunctionsAnyGenerated.atan2,
|
404
395
|
bitAnd: _pureFunctionsAnyGenerated.bitAnd,
|
405
396
|
bitOr: _pureFunctionsAnyGenerated.bitOr,
|
406
397
|
bitXor: _pureFunctionsAnyGenerated.bitXor,
|
407
|
-
|
398
|
+
cbrt: _pureFunctionsAnyGenerated.cbrt,
|
408
399
|
compare: _pureFunctionsAnyGenerated.compare,
|
409
400
|
compareText: _pureFunctionsAnyGenerated.compareText,
|
410
|
-
|
401
|
+
count: _pureFunctionsAnyGenerated.count,
|
411
402
|
deepEqual: _pureFunctionsAnyGenerated.deepEqual,
|
412
|
-
|
413
|
-
|
414
|
-
dot: _pureFunctionsAnyGenerated.dot,
|
403
|
+
divideScalar: _pureFunctionsAnyGenerated.divideScalar,
|
404
|
+
dotDivide: _pureFunctionsAnyGenerated.dotDivide,
|
415
405
|
equalText: _pureFunctionsAnyGenerated.equalText,
|
416
406
|
floor: _pureFunctionsAnyGenerated.floor,
|
417
407
|
gcd: _pureFunctionsAnyGenerated.gcd,
|
408
|
+
hasNumericValue: _pureFunctionsAnyGenerated.hasNumericValue,
|
418
409
|
hypot: _pureFunctionsAnyGenerated.hypot,
|
419
410
|
larger: _pureFunctionsAnyGenerated.larger,
|
420
411
|
log: _pureFunctionsAnyGenerated.log,
|
421
|
-
|
422
|
-
|
412
|
+
lsolve: _pureFunctionsAnyGenerated.lsolve,
|
413
|
+
matrixFromColumns: _pureFunctionsAnyGenerated.matrixFromColumns,
|
414
|
+
max: _pureFunctionsAnyGenerated.max,
|
423
415
|
min: _pureFunctionsAnyGenerated.min,
|
424
416
|
mod: _pureFunctionsAnyGenerated.mod,
|
425
|
-
multiply: _pureFunctionsAnyGenerated.multiply,
|
426
417
|
nthRoots: _pureFunctionsAnyGenerated.nthRoots,
|
427
418
|
or: _pureFunctionsAnyGenerated.or,
|
428
419
|
partitionSelect: _pureFunctionsAnyGenerated.partitionSelect,
|
420
|
+
qr: _pureFunctionsAnyGenerated.qr,
|
429
421
|
rightLogShift: _pureFunctionsAnyGenerated.rightLogShift,
|
430
|
-
|
422
|
+
smallerEq: _pureFunctionsAnyGenerated.smallerEq,
|
431
423
|
subset: _pureFunctionsAnyGenerated.subset,
|
432
|
-
|
424
|
+
subtract: _pureFunctionsAnyGenerated.subtract,
|
433
425
|
trace: _pureFunctionsAnyGenerated.trace,
|
434
|
-
|
435
|
-
|
436
|
-
ceil: _pureFunctionsAnyGenerated.ceil,
|
426
|
+
usolve: _pureFunctionsAnyGenerated.usolve,
|
427
|
+
catalan: _pureFunctionsAnyGenerated.catalan,
|
437
428
|
compareNatural: _pureFunctionsAnyGenerated.compareNatural,
|
438
429
|
composition: _pureFunctionsAnyGenerated.composition,
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
fix: _pureFunctionsAnyGenerated.fix,
|
430
|
+
diff: _pureFunctionsAnyGenerated.diff,
|
431
|
+
distance: _pureFunctionsAnyGenerated.distance,
|
432
|
+
dot: _pureFunctionsAnyGenerated.dot,
|
443
433
|
index: _pureFunctionsAnyGenerated.index,
|
444
|
-
intersect: _pureFunctionsAnyGenerated.intersect,
|
445
434
|
invmod: _pureFunctionsAnyGenerated.invmod,
|
446
435
|
lcm: _pureFunctionsAnyGenerated.lcm,
|
447
436
|
log1p: _pureFunctionsAnyGenerated.log1p,
|
448
|
-
|
437
|
+
lsolveAll: _pureFunctionsAnyGenerated.lsolveAll,
|
438
|
+
matrixFromRows: _pureFunctionsAnyGenerated.matrixFromRows,
|
439
|
+
multiply: _pureFunctionsAnyGenerated.multiply,
|
440
|
+
range: _pureFunctionsAnyGenerated.range,
|
441
|
+
row: _pureFunctionsAnyGenerated.row,
|
449
442
|
setCartesian: _pureFunctionsAnyGenerated.setCartesian,
|
450
443
|
setDistinct: _pureFunctionsAnyGenerated.setDistinct,
|
451
444
|
setIsSubset: _pureFunctionsAnyGenerated.setIsSubset,
|
452
445
|
setPowerset: _pureFunctionsAnyGenerated.setPowerset,
|
453
|
-
|
446
|
+
slu: _pureFunctionsAnyGenerated.slu,
|
454
447
|
sort: _pureFunctionsAnyGenerated.sort,
|
455
|
-
|
448
|
+
unaryPlus: _pureFunctionsAnyGenerated.unaryPlus,
|
449
|
+
usolveAll: _pureFunctionsAnyGenerated.usolveAll,
|
450
|
+
zpk2tf: _pureFunctionsAnyGenerated.zpk2tf,
|
456
451
|
and: _pureFunctionsAnyGenerated.and,
|
457
|
-
|
458
|
-
row: _pureFunctionsAnyGenerated.row,
|
459
|
-
setDifference: _pureFunctionsAnyGenerated.setDifference,
|
460
|
-
setMultiplicity: _pureFunctionsAnyGenerated.setMultiplicity,
|
461
|
-
setSymDifference: _pureFunctionsAnyGenerated.setSymDifference,
|
452
|
+
ceil: _pureFunctionsAnyGenerated.ceil,
|
462
453
|
column: _pureFunctionsAnyGenerated.column,
|
454
|
+
cross: _pureFunctionsAnyGenerated.cross,
|
455
|
+
det: _pureFunctionsAnyGenerated.det,
|
456
|
+
fix: _pureFunctionsAnyGenerated.fix,
|
463
457
|
inv: _pureFunctionsAnyGenerated.inv,
|
464
|
-
lup: _pureFunctionsAnyGenerated.lup,
|
465
458
|
pinv: _pureFunctionsAnyGenerated.pinv,
|
466
459
|
pow: _pureFunctionsAnyGenerated.pow,
|
467
|
-
|
468
|
-
|
460
|
+
setDifference: _pureFunctionsAnyGenerated.setDifference,
|
461
|
+
setMultiplicity: _pureFunctionsAnyGenerated.setMultiplicity,
|
462
|
+
setSymDifference: _pureFunctionsAnyGenerated.setSymDifference,
|
469
463
|
sqrtm: _pureFunctionsAnyGenerated.sqrtm,
|
464
|
+
sum: _pureFunctionsAnyGenerated.sum,
|
470
465
|
vacuumImpedance: _pureFunctionsAnyGenerated.vacuumImpedance,
|
471
466
|
wienDisplacement: _pureFunctionsAnyGenerated.wienDisplacement,
|
472
467
|
atomicMass: _pureFunctionsAnyGenerated.atomicMass,
|
@@ -474,6 +469,7 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
474
469
|
boltzmann: _pureFunctionsAnyGenerated.boltzmann,
|
475
470
|
conductanceQuantum: _pureFunctionsAnyGenerated.conductanceQuantum,
|
476
471
|
coulomb: _pureFunctionsAnyGenerated.coulomb,
|
472
|
+
cumsum: _pureFunctionsAnyGenerated.cumsum,
|
477
473
|
deuteronMass: _pureFunctionsAnyGenerated.deuteronMass,
|
478
474
|
dotPow: _pureFunctionsAnyGenerated.dotPow,
|
479
475
|
electricConstant: _pureFunctionsAnyGenerated.electricConstant,
|
@@ -485,6 +481,7 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
485
481
|
gravitationConstant: _pureFunctionsAnyGenerated.gravitationConstant,
|
486
482
|
hartreeEnergy: _pureFunctionsAnyGenerated.hartreeEnergy,
|
487
483
|
ifft: _pureFunctionsAnyGenerated.ifft,
|
484
|
+
inverseConductanceQuantum: _pureFunctionsAnyGenerated.inverseConductanceQuantum,
|
488
485
|
klitzing: _pureFunctionsAnyGenerated.klitzing,
|
489
486
|
loschmidt: _pureFunctionsAnyGenerated.loschmidt,
|
490
487
|
magneticConstant: _pureFunctionsAnyGenerated.magneticConstant,
|
@@ -500,6 +497,7 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
500
497
|
reducedPlanckConstant: _pureFunctionsAnyGenerated.reducedPlanckConstant,
|
501
498
|
rydberg: _pureFunctionsAnyGenerated.rydberg,
|
502
499
|
secondRadiation: _pureFunctionsAnyGenerated.secondRadiation,
|
500
|
+
setSize: _pureFunctionsAnyGenerated.setSize,
|
503
501
|
speedOfLight: _pureFunctionsAnyGenerated.speedOfLight,
|
504
502
|
stefanBoltzmann: _pureFunctionsAnyGenerated.stefanBoltzmann,
|
505
503
|
thomsonCrossSection: _pureFunctionsAnyGenerated.thomsonCrossSection,
|
@@ -511,8 +509,8 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
511
509
|
factorial: _pureFunctionsAnyGenerated.factorial,
|
512
510
|
firstRadiation: _pureFunctionsAnyGenerated.firstRadiation,
|
513
511
|
gravity: _pureFunctionsAnyGenerated.gravity,
|
514
|
-
|
515
|
-
|
512
|
+
intersect: _pureFunctionsAnyGenerated.intersect,
|
513
|
+
lup: _pureFunctionsAnyGenerated.lup,
|
516
514
|
magneticFluxQuantum: _pureFunctionsAnyGenerated.magneticFluxQuantum,
|
517
515
|
molarMassC12: _pureFunctionsAnyGenerated.molarMassC12,
|
518
516
|
multinomial: _pureFunctionsAnyGenerated.multinomial,
|
@@ -521,7 +519,7 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
521
519
|
planckMass: _pureFunctionsAnyGenerated.planckMass,
|
522
520
|
polynomialRoot: _pureFunctionsAnyGenerated.polynomialRoot,
|
523
521
|
resolve,
|
524
|
-
|
522
|
+
setIntersect: _pureFunctionsAnyGenerated.setIntersect,
|
525
523
|
simplifyConstant,
|
526
524
|
solveODE: _pureFunctionsAnyGenerated.solveODE,
|
527
525
|
stirlingS2: _pureFunctionsAnyGenerated.stirlingS2,
|
@@ -532,10 +530,12 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
532
530
|
fermiCoupling: _pureFunctionsAnyGenerated.fermiCoupling,
|
533
531
|
gasConstant: _pureFunctionsAnyGenerated.gasConstant,
|
534
532
|
kldivergence: _pureFunctionsAnyGenerated.kldivergence,
|
533
|
+
lusolve: _pureFunctionsAnyGenerated.lusolve,
|
535
534
|
mean: _pureFunctionsAnyGenerated.mean,
|
536
535
|
molarVolume: _pureFunctionsAnyGenerated.molarVolume,
|
537
536
|
planckConstant: _pureFunctionsAnyGenerated.planckConstant,
|
538
537
|
quantileSeq: _pureFunctionsAnyGenerated.quantileSeq,
|
538
|
+
setUnion: _pureFunctionsAnyGenerated.setUnion,
|
539
539
|
simplifyCore,
|
540
540
|
variance: _pureFunctionsAnyGenerated.variance,
|
541
541
|
classicalElectronRadius: _pureFunctionsAnyGenerated.classicalElectronRadius,
|
@@ -563,6 +563,10 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
563
563
|
config: _configReadonly.config
|
564
564
|
});
|
565
565
|
(0, _extends2.default)(mathWithTransform, math, {
|
566
|
+
mapSlices: (0, _factoriesAny.createMapSlicesTransform)({
|
567
|
+
isInteger: _pureFunctionsAnyGenerated.isInteger,
|
568
|
+
typed: _pureFunctionsAnyGenerated.typed
|
569
|
+
}),
|
566
570
|
filter: (0, _factoriesAny.createFilterTransform)({
|
567
571
|
typed: _pureFunctionsAnyGenerated.typed
|
568
572
|
}),
|
@@ -572,10 +576,6 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
572
576
|
map: (0, _factoriesAny.createMapTransform)({
|
573
577
|
typed: _pureFunctionsAnyGenerated.typed
|
574
578
|
}),
|
575
|
-
apply: (0, _factoriesAny.createApplyTransform)({
|
576
|
-
isInteger: _pureFunctionsAnyGenerated.isInteger,
|
577
|
-
typed: _pureFunctionsAnyGenerated.typed
|
578
|
-
}),
|
579
579
|
or: (0, _factoriesAny.createOrTransform)({
|
580
580
|
DenseMatrix: _pureFunctionsAnyGenerated.DenseMatrix,
|
581
581
|
concat: _pureFunctionsAnyGenerated.concat,
|
@@ -597,11 +597,9 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
597
597
|
matrix: _pureFunctionsAnyGenerated.matrix,
|
598
598
|
typed: _pureFunctionsAnyGenerated.typed
|
599
599
|
}),
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
numeric: _pureFunctionsAnyGenerated.numeric,
|
604
|
-
typed: _pureFunctionsAnyGenerated.typed
|
600
|
+
index: (0, _factoriesAny.createIndexTransform)({
|
601
|
+
Index: _pureFunctionsAnyGenerated.Index,
|
602
|
+
getMatrixDataType: _pureFunctionsAnyGenerated.getMatrixDataType
|
605
603
|
}),
|
606
604
|
print: (0, _factoriesAny.createPrintTransform)({
|
607
605
|
add: _pureFunctionsAnyGenerated.add,
|
@@ -609,6 +607,12 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
609
607
|
typed: _pureFunctionsAnyGenerated.typed,
|
610
608
|
zeros: _pureFunctionsAnyGenerated.zeros
|
611
609
|
}),
|
610
|
+
sum: (0, _factoriesAny.createSumTransform)({
|
611
|
+
add: _pureFunctionsAnyGenerated.add,
|
612
|
+
config: _configReadonly.config,
|
613
|
+
numeric: _pureFunctionsAnyGenerated.numeric,
|
614
|
+
typed: _pureFunctionsAnyGenerated.typed
|
615
|
+
}),
|
612
616
|
bitAnd: (0, _factoriesAny.createBitAndTransform)({
|
613
617
|
add: _pureFunctionsAnyGenerated.add,
|
614
618
|
concat: _pureFunctionsAnyGenerated.concat,
|
@@ -618,13 +622,6 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
618
622
|
typed: _pureFunctionsAnyGenerated.typed,
|
619
623
|
zeros: _pureFunctionsAnyGenerated.zeros
|
620
624
|
}),
|
621
|
-
diff: (0, _factoriesAny.createDiffTransform)({
|
622
|
-
bignumber: _pureFunctionsAnyGenerated.bignumber,
|
623
|
-
matrix: _pureFunctionsAnyGenerated.matrix,
|
624
|
-
number: _pureFunctionsAnyGenerated.number,
|
625
|
-
subtract: _pureFunctionsAnyGenerated.subtract,
|
626
|
-
typed: _pureFunctionsAnyGenerated.typed
|
627
|
-
}),
|
628
625
|
min: (0, _factoriesAny.createMinTransform)({
|
629
626
|
config: _configReadonly.config,
|
630
627
|
numeric: _pureFunctionsAnyGenerated.numeric,
|
@@ -649,13 +646,16 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
649
646
|
typed: _pureFunctionsAnyGenerated.typed,
|
650
647
|
unaryPlus: _pureFunctionsAnyGenerated.unaryPlus
|
651
648
|
}),
|
652
|
-
|
653
|
-
|
654
|
-
|
649
|
+
diff: (0, _factoriesAny.createDiffTransform)({
|
650
|
+
bignumber: _pureFunctionsAnyGenerated.bignumber,
|
651
|
+
matrix: _pureFunctionsAnyGenerated.matrix,
|
652
|
+
number: _pureFunctionsAnyGenerated.number,
|
653
|
+
subtract: _pureFunctionsAnyGenerated.subtract,
|
654
|
+
typed: _pureFunctionsAnyGenerated.typed
|
655
655
|
}),
|
656
|
-
|
657
|
-
add: _pureFunctionsAnyGenerated.add,
|
656
|
+
max: (0, _factoriesAny.createMaxTransform)({
|
658
657
|
config: _configReadonly.config,
|
658
|
+
larger: _pureFunctionsAnyGenerated.larger,
|
659
659
|
numeric: _pureFunctionsAnyGenerated.numeric,
|
660
660
|
typed: _pureFunctionsAnyGenerated.typed
|
661
661
|
}),
|
@@ -695,6 +695,7 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
695
695
|
divide: _pureFunctionsAnyGenerated.divide,
|
696
696
|
isInteger: _pureFunctionsAnyGenerated.isInteger,
|
697
697
|
larger: _pureFunctionsAnyGenerated.larger,
|
698
|
+
mapSlices: _pureFunctionsAnyGenerated.mapSlices,
|
698
699
|
multiply: _pureFunctionsAnyGenerated.multiply,
|
699
700
|
partitionSelect: _pureFunctionsAnyGenerated.partitionSelect,
|
700
701
|
smaller: _pureFunctionsAnyGenerated.smaller,
|
@@ -704,9 +705,9 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
704
705
|
}),
|
705
706
|
variance: (0, _factoriesAny.createVarianceTransform)({
|
706
707
|
add: _pureFunctionsAnyGenerated.add,
|
707
|
-
apply: _pureFunctionsAnyGenerated.apply,
|
708
708
|
divide: _pureFunctionsAnyGenerated.divide,
|
709
709
|
isNaN: _pureFunctionsAnyGenerated.isNaN,
|
710
|
+
mapSlices: _pureFunctionsAnyGenerated.mapSlices,
|
710
711
|
multiply: _pureFunctionsAnyGenerated.multiply,
|
711
712
|
subtract: _pureFunctionsAnyGenerated.subtract,
|
712
713
|
typed: _pureFunctionsAnyGenerated.typed
|
@@ -739,12 +740,12 @@ const help = exports.help = (0, _factoriesAny.createHelp)({
|
|
739
740
|
Chain,
|
740
741
|
FunctionAssignmentNode,
|
741
742
|
SparseMatrix: _pureFunctionsAnyGenerated.SparseMatrix,
|
742
|
-
IndexNode,
|
743
743
|
ImmutableDenseMatrix: _pureFunctionsAnyGenerated.ImmutableDenseMatrix,
|
744
744
|
Index: _pureFunctionsAnyGenerated.Index,
|
745
745
|
AccessorNode,
|
746
746
|
AssignmentNode,
|
747
747
|
FibonacciHeap: _pureFunctionsAnyGenerated.FibonacciHeap,
|
748
|
+
IndexNode,
|
748
749
|
Spa: _pureFunctionsAnyGenerated.Spa,
|
749
750
|
Unit: _pureFunctionsAnyGenerated.Unit,
|
750
751
|
SymbolNode,
|
@@ -81,6 +81,9 @@ const IndexNode = exports.IndexNode = (0, _factoriesNumber.createIndexNode)({
|
|
81
81
|
const OperatorNode = exports.OperatorNode = (0, _factoriesNumber.createOperatorNode)({
|
82
82
|
Node
|
83
83
|
});
|
84
|
+
const ArrayNode = exports.ArrayNode = (0, _factoriesNumber.createArrayNode)({
|
85
|
+
Node
|
86
|
+
});
|
84
87
|
const ConstantNode = exports.ConstantNode = (0, _factoriesNumber.createConstantNode)({
|
85
88
|
Node
|
86
89
|
});
|
@@ -91,9 +94,6 @@ const FunctionAssignmentNode = exports.FunctionAssignmentNode = (0, _factoriesNu
|
|
91
94
|
const ParenthesisNode = exports.ParenthesisNode = (0, _factoriesNumber.createParenthesisNode)({
|
92
95
|
Node
|
93
96
|
});
|
94
|
-
const ArrayNode = exports.ArrayNode = (0, _factoriesNumber.createArrayNode)({
|
95
|
-
Node
|
96
|
-
});
|
97
97
|
const simplifyConstant = exports.simplifyConstant = (0, _factoriesNumber.createSimplifyConstant)({
|
98
98
|
AccessorNode,
|
99
99
|
ArrayNode,
|
@@ -336,10 +336,10 @@ const parser = exports.parser = (0, _factoriesNumber.createParser)({
|
|
336
336
|
LN2: _pureFunctionsNumberGenerated.LN2,
|
337
337
|
lcm: _pureFunctionsNumberGenerated.lcm,
|
338
338
|
log10: _pureFunctionsNumberGenerated.log10,
|
339
|
+
mapSlices: _pureFunctionsNumberGenerated.mapSlices,
|
339
340
|
multiplyScalar: _pureFunctionsNumberGenerated.multiplyScalar,
|
340
341
|
nthRoot: _pureFunctionsNumberGenerated.nthRoot,
|
341
342
|
pickRandom: _pureFunctionsNumberGenerated.pickRandom,
|
342
|
-
randomInt: _pureFunctionsNumberGenerated.randomInt,
|
343
343
|
rightArithShift: _pureFunctionsNumberGenerated.rightArithShift,
|
344
344
|
sec: _pureFunctionsNumberGenerated.sec,
|
345
345
|
sinh: _pureFunctionsNumberGenerated.sinh,
|
@@ -347,8 +347,7 @@ const parser = exports.parser = (0, _factoriesNumber.createParser)({
|
|
347
347
|
tan: _pureFunctionsNumberGenerated.tan,
|
348
348
|
unaryMinus: _pureFunctionsNumberGenerated.unaryMinus,
|
349
349
|
acosh: _pureFunctionsNumberGenerated.acosh,
|
350
|
-
|
351
|
-
asinh: _pureFunctionsNumberGenerated.asinh,
|
350
|
+
atan2: _pureFunctionsNumberGenerated.atan2,
|
352
351
|
bitOr: _pureFunctionsNumberGenerated.bitOr,
|
353
352
|
clone: _pureFunctionsNumberGenerated.clone,
|
354
353
|
coth: _pureFunctionsNumberGenerated.coth,
|
@@ -362,14 +361,15 @@ const parser = exports.parser = (0, _factoriesNumber.createParser)({
|
|
362
361
|
norm: _pureFunctionsNumberGenerated.norm,
|
363
362
|
partitionSelect: _pureFunctionsNumberGenerated.partitionSelect,
|
364
363
|
print: _pureFunctionsNumberGenerated.print,
|
364
|
+
randomInt: _pureFunctionsNumberGenerated.randomInt,
|
365
365
|
round: _pureFunctionsNumberGenerated.round,
|
366
|
+
simplifyConstant,
|
366
367
|
smaller: _pureFunctionsNumberGenerated.smaller,
|
367
368
|
subtractScalar: _pureFunctionsNumberGenerated.subtractScalar,
|
368
369
|
true: _pureFunctionsNumberGenerated._true,
|
369
370
|
variance: _pureFunctionsNumberGenerated.variance,
|
370
371
|
zeta: _pureFunctionsNumberGenerated.zeta,
|
371
372
|
acsch: _pureFunctionsNumberGenerated.acsch,
|
372
|
-
atan2: _pureFunctionsNumberGenerated.atan2,
|
373
373
|
catalan: _pureFunctionsNumberGenerated.catalan,
|
374
374
|
compareNatural: _pureFunctionsNumberGenerated.compareNatural,
|
375
375
|
composition: _pureFunctionsNumberGenerated.composition,
|
@@ -385,13 +385,13 @@ const parser = exports.parser = (0, _factoriesNumber.createParser)({
|
|
385
385
|
std: _pureFunctionsNumberGenerated.std,
|
386
386
|
stirlingS2: _pureFunctionsNumberGenerated.stirlingS2,
|
387
387
|
'PI': _pureFunctionsNumberGenerated.pi,
|
388
|
+
asinh: _pureFunctionsNumberGenerated.asinh,
|
388
389
|
ceil: _pureFunctionsNumberGenerated.ceil,
|
389
390
|
deepEqual: _pureFunctionsNumberGenerated.deepEqual,
|
390
391
|
fix: _pureFunctionsNumberGenerated.fix,
|
391
392
|
isPrime: _pureFunctionsNumberGenerated.isPrime,
|
392
393
|
numeric: _pureFunctionsNumberGenerated.numeric,
|
393
394
|
prod: _pureFunctionsNumberGenerated.prod,
|
394
|
-
simplifyConstant,
|
395
395
|
bellNumbers: _pureFunctionsNumberGenerated.bellNumbers,
|
396
396
|
gcd: _pureFunctionsNumberGenerated.gcd,
|
397
397
|
mad: _pureFunctionsNumberGenerated.mad,
|
@@ -418,7 +418,7 @@ const parser = exports.parser = (0, _factoriesNumber.createParser)({
|
|
418
418
|
typed: _pureFunctionsNumberGenerated.typed,
|
419
419
|
unaryPlus: _pureFunctionsNumberGenerated.unaryPlus
|
420
420
|
}),
|
421
|
-
|
421
|
+
mapSlices: (0, _factoriesNumber.createMapSlicesTransform)({
|
422
422
|
isInteger: _pureFunctionsNumberGenerated.isInteger,
|
423
423
|
typed: _pureFunctionsNumberGenerated.typed
|
424
424
|
}),
|
@@ -428,15 +428,15 @@ const parser = exports.parser = (0, _factoriesNumber.createParser)({
|
|
428
428
|
forEach: (0, _factoriesNumber.createForEachTransform)({
|
429
429
|
typed: _pureFunctionsNumberGenerated.typed
|
430
430
|
}),
|
431
|
-
map: (0, _factoriesNumber.createMapTransform)({
|
432
|
-
typed: _pureFunctionsNumberGenerated.typed
|
433
|
-
}),
|
434
431
|
mean: (0, _factoriesNumber.createMeanTransform)({
|
435
432
|
add: _pureFunctionsNumberGenerated.add,
|
436
433
|
divide: _pureFunctionsNumberGenerated.divide,
|
437
434
|
typed: _pureFunctionsNumberGenerated.typed
|
438
435
|
}),
|
439
436
|
subset: (0, _factoriesNumber.createSubsetTransform)({}),
|
437
|
+
map: (0, _factoriesNumber.createMapTransform)({
|
438
|
+
typed: _pureFunctionsNumberGenerated.typed
|
439
|
+
}),
|
440
440
|
range: (0, _factoriesNumber.createRangeTransform)({
|
441
441
|
matrix: _pureFunctionsNumberGenerated.matrix,
|
442
442
|
add: _pureFunctionsNumberGenerated.add,
|
@@ -474,9 +474,9 @@ const parser = exports.parser = (0, _factoriesNumber.createParser)({
|
|
474
474
|
}),
|
475
475
|
variance: (0, _factoriesNumber.createVarianceTransform)({
|
476
476
|
add: _pureFunctionsNumberGenerated.add,
|
477
|
-
apply: _pureFunctionsNumberGenerated.apply,
|
478
477
|
divide: _pureFunctionsNumberGenerated.divide,
|
479
478
|
isNaN: _pureFunctionsNumberGenerated.isNaN,
|
479
|
+
mapSlices: _pureFunctionsNumberGenerated.mapSlices,
|
480
480
|
multiply: _pureFunctionsNumberGenerated.multiply,
|
481
481
|
subtract: _pureFunctionsNumberGenerated.subtract,
|
482
482
|
typed: _pureFunctionsNumberGenerated.typed
|
@@ -498,10 +498,10 @@ const parser = exports.parser = (0, _factoriesNumber.createParser)({
|
|
498
498
|
FunctionNode,
|
499
499
|
IndexNode,
|
500
500
|
OperatorNode,
|
501
|
+
ArrayNode,
|
501
502
|
ConstantNode,
|
502
503
|
FunctionAssignmentNode,
|
503
504
|
ParenthesisNode,
|
504
|
-
ArrayNode,
|
505
505
|
Help,
|
506
506
|
Parser
|
507
507
|
});
|