mathjs 15.1.0 → 15.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 +22 -0
- package/NOTICE +1 -1
- package/README.md +6 -6
- package/bin/cli.js +1 -1
- package/lib/browser/math.js +1 -1
- package/lib/browser/math.js.LICENSE.txt +3 -3
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/core/function/import.js +7 -0
- package/lib/cjs/core/function/typed.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesDen.generated.js +19 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesNum.generated.js +19 -0
- package/lib/cjs/entry/dependenciesAny.generated.js +14 -0
- package/lib/cjs/entry/impureFunctionsAny.generated.js +123 -121
- package/lib/cjs/entry/pureFunctionsAny.generated.js +344 -336
- package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +4 -0
- package/lib/cjs/expression/embeddedDocs/function/fraction/den.js +14 -0
- package/lib/cjs/expression/embeddedDocs/function/fraction/num.js +14 -0
- package/lib/cjs/expression/parse.js +26 -2
- package/lib/cjs/factoriesAny.js +15 -1
- package/lib/cjs/function/algebra/polynomialRoot.js +4 -0
- package/lib/cjs/function/arithmetic/add.js +8 -1
- package/lib/cjs/function/arithmetic/cbrt.js +7 -6
- package/lib/cjs/function/arithmetic/ceil.js +10 -2
- package/lib/cjs/function/arithmetic/exp.js +7 -5
- package/lib/cjs/function/arithmetic/expm1.js +6 -5
- package/lib/cjs/function/arithmetic/fix.js +10 -2
- package/lib/cjs/function/arithmetic/floor.js +10 -2
- package/lib/cjs/function/arithmetic/log.js +13 -0
- package/lib/cjs/function/arithmetic/mod.js +8 -2
- package/lib/cjs/function/arithmetic/nthRoot.js +9 -3
- package/lib/cjs/function/arithmetic/nthRoots.js +7 -10
- package/lib/cjs/function/fraction/den.js +60 -0
- package/lib/cjs/function/fraction/num.js +62 -0
- package/lib/cjs/function/matrix/map.js +6 -0
- package/lib/cjs/function/relational/compare.js +6 -0
- package/lib/cjs/function/relational/compareNatural.js +8 -2
- package/lib/cjs/function/relational/deepEqual.js +8 -3
- package/lib/cjs/function/relational/equal.js +15 -2
- package/lib/cjs/function/relational/unequal.js +14 -2
- package/lib/cjs/function/set/setDistinct.js +2 -1
- package/lib/cjs/function/string/format.js +9 -0
- package/lib/cjs/function/utils/isFinite.js +8 -1
- package/lib/cjs/function/utils/numeric.js +6 -0
- package/lib/cjs/header.js +3 -3
- package/lib/cjs/type/bigint.js +5 -0
- package/lib/cjs/type/boolean.js +6 -0
- package/lib/cjs/type/complex/function/complex.js +6 -0
- package/lib/cjs/type/fraction/function/fraction.js +8 -0
- package/lib/cjs/type/matrix/function/index.js +8 -0
- package/lib/cjs/type/matrix/function/matrix.js +6 -0
- package/lib/cjs/type/matrix/function/sparse.js +4 -0
- package/lib/cjs/type/string.js +4 -0
- package/lib/cjs/type/unit/Unit.js +7 -0
- package/lib/cjs/type/unit/function/unit.js +8 -0
- package/lib/cjs/utils/array.js +3 -0
- package/lib/cjs/utils/customs.js +39 -46
- package/lib/cjs/utils/map.js +2 -2
- package/lib/cjs/version.js +1 -1
- package/lib/esm/core/function/import.js +7 -0
- package/lib/esm/core/function/typed.js +1 -1
- package/lib/esm/entry/dependenciesAny/dependenciesDen.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesNum.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny.generated.js +2 -0
- package/lib/esm/entry/impureFunctionsAny.generated.js +125 -123
- package/lib/esm/entry/pureFunctionsAny.generated.js +341 -333
- package/lib/esm/expression/embeddedDocs/embeddedDocs.js +4 -0
- package/lib/esm/expression/embeddedDocs/function/fraction/den.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/fraction/num.js +8 -0
- package/lib/esm/expression/parse.js +26 -2
- package/lib/esm/factoriesAny.js +3 -1
- package/lib/esm/function/algebra/polynomialRoot.js +4 -0
- package/lib/esm/function/arithmetic/add.js +8 -1
- package/lib/esm/function/arithmetic/cbrt.js +7 -6
- package/lib/esm/function/arithmetic/ceil.js +10 -2
- package/lib/esm/function/arithmetic/exp.js +7 -5
- package/lib/esm/function/arithmetic/expm1.js +6 -5
- package/lib/esm/function/arithmetic/fix.js +10 -2
- package/lib/esm/function/arithmetic/floor.js +10 -2
- package/lib/esm/function/arithmetic/log.js +13 -0
- package/lib/esm/function/arithmetic/mod.js +8 -2
- package/lib/esm/function/arithmetic/nthRoot.js +9 -3
- package/lib/esm/function/arithmetic/nthRoots.js +7 -10
- package/lib/esm/function/fraction/den.js +54 -0
- package/lib/esm/function/fraction/num.js +56 -0
- package/lib/esm/function/matrix/map.js +6 -0
- package/lib/esm/function/relational/compare.js +6 -0
- package/lib/esm/function/relational/compareNatural.js +8 -2
- package/lib/esm/function/relational/deepEqual.js +8 -3
- package/lib/esm/function/relational/equal.js +15 -2
- package/lib/esm/function/relational/unequal.js +14 -2
- package/lib/esm/function/set/setDistinct.js +2 -1
- package/lib/esm/function/string/format.js +9 -0
- package/lib/esm/function/utils/isFinite.js +8 -1
- package/lib/esm/function/utils/numeric.js +6 -0
- package/lib/esm/header.js +1 -1
- package/lib/esm/type/bigint.js +5 -0
- package/lib/esm/type/boolean.js +6 -0
- package/lib/esm/type/complex/function/complex.js +6 -0
- package/lib/esm/type/fraction/function/fraction.js +8 -0
- package/lib/esm/type/matrix/function/index.js +8 -0
- package/lib/esm/type/matrix/function/matrix.js +6 -0
- package/lib/esm/type/matrix/function/sparse.js +4 -0
- package/lib/esm/type/string.js +4 -0
- package/lib/esm/type/unit/Unit.js +7 -0
- package/lib/esm/type/unit/function/unit.js +8 -0
- package/lib/esm/utils/array.js +3 -0
- package/lib/esm/utils/customs.js +42 -56
- package/lib/esm/utils/map.js +3 -3
- package/lib/esm/version.js +1 -1
- package/package.json +14 -14
- package/types/index.d.ts +96 -15
|
@@ -4,10 +4,10 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
* DON'T MAKE CHANGES HERE
|
|
5
5
|
*/
|
|
6
6
|
import { config } from './configReadonly.js';
|
|
7
|
-
import { createNode, createObjectNode, createOperatorNode, createParenthesisNode, createRelationalNode, createArrayNode, createBlockNode, createConditionalNode, createRangeNode, createReviver, createChainClass, createFunctionAssignmentNode, createChain, createConstantNode, createIndexNode, createAccessorNode, createAssignmentNode, createSymbolNode, createFunctionNode, createParse, createResolve, createSimplifyConstant, createCompile,
|
|
7
|
+
import { createNode, createObjectNode, createOperatorNode, createParenthesisNode, createRelationalNode, createArrayNode, createBlockNode, createConditionalNode, createRangeNode, createReviver, createChainClass, createFunctionAssignmentNode, createChain, createConstantNode, createIndexNode, createAccessorNode, createAssignmentNode, createSymbolNode, createFunctionNode, createParse, createResolve, createSimplifyConstant, createCompile, createEvaluate, createHelpClass, createParserClass, createSimplifyCore, createHelp, createSimplify, createSymbolicEqual, createDerivative, createParser, createLeafCount, createRationalize, createMapTransform, createFilterTransform, createForEachTransform, createMapSlicesTransform, createOrTransform, createAndTransform, createCumSumTransform, createMaxTransform, createNullishTransform, createPrintTransform, createBitAndTransform, createConcatTransform, createDiffTransform, createMinTransform, createSubsetTransform, createBitOrTransform, createSumTransform, createIndexTransform, createRowTransform, createColumnTransform, createMeanTransform, createRangeTransform, createVarianceTransform, createQuantileSeqTransform, createStdTransform } from '../factoriesAny.js';
|
|
8
8
|
import { BigNumber, Complex, e, _false, fineStructure, Fraction, i, _Infinity, LN10, LOG10E, Matrix, _NaN, _null, phi, Range, ResultSet, SQRT1_2,
|
|
9
9
|
// eslint-disable-line camelcase
|
|
10
|
-
sackurTetrode, tau, _true, version, DenseMatrix, efimovFactor, LN2, pi, replacer, SQRT2, typed, weakMixingAngle, abs, acos, acot, acsc, addScalar, arg, asech, asinh, atan, atanh, bigint, bitNot, boolean, clone, combinations, complex, conj, cos, cot, csc, cube, equalScalar, erf, exp, expm1, filter, flatten, forEach, format, getMatrixDataType, hex, im, isBounded, isNaN, isNumeric, isPrime, LOG2E, lgamma, log10, log2, map, mode, multiplyScalar, not, number, oct, pickRandom, print, random, re, sec, sign, sin, size, SparseMatrix, splitUnit, square, string, subtractScalar, tan, toBest, typeOf, acosh, acsch, asec, bignumber, combinationsWithRep, cosh, csch, dot, hasNumericValue, isFinite, isNegative, isZero, matrix, matrixFromFunction, multiply, ones, randomInt, resize, sech, sinh, sparse, sqrt, squeeze, tanh, transpose, xgcd, zeros, acoth, asin, bin, coth, ctranspose, diag, equal, fraction, identity, isInteger, kron, mapSlices, matrixFromColumns,
|
|
10
|
+
sackurTetrode, tau, _true, version, DenseMatrix, efimovFactor, LN2, pi, replacer, SQRT2, typed, weakMixingAngle, abs, acos, acot, acsc, addScalar, arg, asech, asinh, atan, atanh, bigint, bitNot, boolean, clone, combinations, complex, conj, cos, cot, csc, cube, equalScalar, erf, exp, expm1, filter, flatten, forEach, format, getMatrixDataType, hex, im, isBounded, isNaN, isNumeric, isPrime, LOG2E, lgamma, log10, log2, map, mode, multiplyScalar, not, number, oct, pickRandom, print, random, re, sec, sign, sin, size, SparseMatrix, splitUnit, square, string, subtractScalar, tan, toBest, typeOf, acosh, acsch, asec, bignumber, combinationsWithRep, cosh, csch, dot, hasNumericValue, isFinite, isNegative, isZero, matrix, matrixFromFunction, multiply, ones, randomInt, resize, sech, sinh, sparse, sqrt, squeeze, tanh, transpose, xgcd, zeros, acoth, asin, bin, coth, ctranspose, diag, equal, fraction, identity, isInteger, kron, mapSlices, matrixFromColumns, num, reshape, round, unaryMinus, bernoulli, cbrt, concat, deepEqual, dotMultiply, floor, gcd, isPositive, larger, lcm, leftShift, mod, nthRoot, nullish, numeric, prod, rightArithShift, smaller, subtract, to, unaryPlus, xor, add, atan2, bitAnd, bitOr, bitXor, ceil, compare, compareText, composition, count, cross, diff, divideScalar, equalText, FibonacciHeap, fix, hypot, ImmutableDenseMatrix, Index, intersect, invmod, largerEq, log, lsolve, matrixFromRows, min, nthRoots, partitionSelect, qr, rightLogShift, slu, Spa, subset, sum, trace, usolve, zpk2tf, catalan, compareNatural, cumsum, det, dotDivide, index, inv, log1p, lsolveAll, max, or, pinv, pow, setCartesian, setDistinct, setIsSubset, setPowerset, smallerEq, sort, sqrtm, unequal, usolveAll, and, den, distance, dotPow, expm, fft, gamma, ifft, lup, range, row, setDifference, setMultiplicity, setSymDifference, Unit, vacuumImpedance, wienDisplacement, atomicMass, bohrMagneton, boltzmann, column, conductanceQuantum, coulomb, createUnit, deuteronMass, eigs, electronMass, factorial, fermiCoupling, gasConstant, gravity, klitzing, loschmidt, magneticConstant, molarMass, molarPlanckConstant, neutronMass, nuclearMagneton, permutations, planckConstant, planckMass, planckTime, protonMass, quantumOfCirculation, reducedPlanckConstant, secondRadiation, setSize, speedOfLight, stefanBoltzmann, thomsonCrossSection, avogadro, bohrRadius, coulombConstant, divide, elementaryCharge, faraday, freqz, gravitationConstant, inverseConductanceQuantum, lusolve, magneticFluxQuantum, molarMassC12, multinomial, planckCharge, planckTemperature, quantileSeq, rydberg, setIntersect, solveODE, stirlingS2, unit, bellNumbers, electricConstant, firstRadiation, hartreeEnergy, kldivergence, mean, molarVolume, planckLength, setUnion, variance, classicalElectronRadius, corr, median, polynomialRoot, std, zeta, mad, norm, rotationMatrix, rotate, schur, sylvester, lyap } from './pureFunctionsAny.generated.js';
|
|
11
11
|
var math = {}; // NOT pure!
|
|
12
12
|
var mathWithTransform = {}; // NOT pure!
|
|
13
13
|
var classes = {}; // NOT pure!
|
|
@@ -131,10 +131,17 @@ export var compile = createCompile({
|
|
|
131
131
|
parse,
|
|
132
132
|
typed
|
|
133
133
|
});
|
|
134
|
-
export var
|
|
134
|
+
export var evaluate = createEvaluate({
|
|
135
135
|
parse,
|
|
136
136
|
typed
|
|
137
137
|
});
|
|
138
|
+
export var Help = createHelpClass({
|
|
139
|
+
evaluate
|
|
140
|
+
});
|
|
141
|
+
export var Parser = createParserClass({
|
|
142
|
+
evaluate,
|
|
143
|
+
parse
|
|
144
|
+
});
|
|
138
145
|
export var simplifyCore = createSimplifyCore({
|
|
139
146
|
AccessorNode,
|
|
140
147
|
ArrayNode,
|
|
@@ -155,19 +162,9 @@ export var simplifyCore = createSimplifyCore({
|
|
|
155
162
|
subtract,
|
|
156
163
|
typed
|
|
157
164
|
});
|
|
158
|
-
export var
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
});
|
|
162
|
-
export var Help = createHelpClass({
|
|
163
|
-
evaluate
|
|
164
|
-
});
|
|
165
|
-
export var Parser = createParserClass({
|
|
166
|
-
evaluate,
|
|
167
|
-
parse
|
|
168
|
-
});
|
|
169
|
-
export var parser = createParser({
|
|
170
|
-
Parser,
|
|
165
|
+
export var help = createHelp({
|
|
166
|
+
Help,
|
|
167
|
+
mathWithTransform,
|
|
171
168
|
typed
|
|
172
169
|
});
|
|
173
170
|
export var simplify = createSimplify({
|
|
@@ -208,9 +205,12 @@ export var derivative = createDerivative({
|
|
|
208
205
|
simplify,
|
|
209
206
|
typed
|
|
210
207
|
});
|
|
211
|
-
export var
|
|
212
|
-
|
|
213
|
-
|
|
208
|
+
export var parser = createParser({
|
|
209
|
+
Parser,
|
|
210
|
+
typed
|
|
211
|
+
});
|
|
212
|
+
export var leafCount = createLeafCount({
|
|
213
|
+
parse,
|
|
214
214
|
typed
|
|
215
215
|
});
|
|
216
216
|
export var rationalize = createRationalize({
|
|
@@ -369,17 +369,14 @@ _extends(math, {
|
|
|
369
369
|
kron,
|
|
370
370
|
mapSlices,
|
|
371
371
|
matrixFromColumns,
|
|
372
|
-
|
|
373
|
-
prod,
|
|
372
|
+
num,
|
|
374
373
|
reshape,
|
|
375
374
|
round,
|
|
376
375
|
unaryMinus,
|
|
377
376
|
bernoulli,
|
|
378
377
|
cbrt,
|
|
379
378
|
concat,
|
|
380
|
-
count,
|
|
381
379
|
deepEqual,
|
|
382
|
-
divideScalar,
|
|
383
380
|
dotMultiply,
|
|
384
381
|
floor,
|
|
385
382
|
gcd,
|
|
@@ -387,60 +384,61 @@ _extends(math, {
|
|
|
387
384
|
larger,
|
|
388
385
|
lcm,
|
|
389
386
|
leftShift,
|
|
390
|
-
lsolve,
|
|
391
|
-
max,
|
|
392
387
|
mod,
|
|
393
388
|
nthRoot,
|
|
394
389
|
nullish,
|
|
395
|
-
|
|
396
|
-
|
|
390
|
+
numeric,
|
|
391
|
+
prod,
|
|
397
392
|
rightArithShift,
|
|
398
393
|
smaller,
|
|
399
394
|
subtract,
|
|
400
395
|
to,
|
|
401
396
|
unaryPlus,
|
|
402
|
-
usolve,
|
|
403
397
|
xor,
|
|
404
398
|
add,
|
|
405
399
|
atan2,
|
|
406
400
|
bitAnd,
|
|
407
401
|
bitOr,
|
|
408
402
|
bitXor,
|
|
409
|
-
|
|
403
|
+
ceil,
|
|
410
404
|
compare,
|
|
411
405
|
compareText,
|
|
412
406
|
composition,
|
|
407
|
+
count,
|
|
413
408
|
cross,
|
|
414
|
-
det,
|
|
415
409
|
diff,
|
|
416
|
-
|
|
417
|
-
dotDivide,
|
|
410
|
+
divideScalar,
|
|
418
411
|
equalText,
|
|
412
|
+
fix,
|
|
419
413
|
hypot,
|
|
420
414
|
intersect,
|
|
421
415
|
invmod,
|
|
422
416
|
largerEq,
|
|
423
417
|
log,
|
|
424
|
-
|
|
418
|
+
lsolve,
|
|
425
419
|
matrixFromRows,
|
|
426
420
|
min,
|
|
427
421
|
nthRoots,
|
|
428
422
|
partitionSelect,
|
|
423
|
+
qr,
|
|
429
424
|
rightLogShift,
|
|
430
425
|
slu,
|
|
431
426
|
subset,
|
|
432
427
|
sum,
|
|
433
428
|
trace,
|
|
434
|
-
|
|
429
|
+
usolve,
|
|
435
430
|
zpk2tf,
|
|
436
|
-
|
|
431
|
+
catalan,
|
|
437
432
|
compareNatural,
|
|
438
433
|
cumsum,
|
|
439
|
-
|
|
434
|
+
det,
|
|
435
|
+
dotDivide,
|
|
440
436
|
index,
|
|
441
437
|
inv,
|
|
442
438
|
log1p,
|
|
443
|
-
|
|
439
|
+
lsolveAll,
|
|
440
|
+
max,
|
|
441
|
+
or,
|
|
444
442
|
pinv,
|
|
445
443
|
pow,
|
|
446
444
|
setCartesian,
|
|
@@ -451,26 +449,23 @@ _extends(math, {
|
|
|
451
449
|
sort,
|
|
452
450
|
sqrtm,
|
|
453
451
|
unequal,
|
|
452
|
+
usolveAll,
|
|
454
453
|
and,
|
|
455
|
-
|
|
454
|
+
den,
|
|
455
|
+
distance,
|
|
456
|
+
dotPow,
|
|
456
457
|
expm,
|
|
457
458
|
fft,
|
|
458
|
-
freqz,
|
|
459
459
|
gamma,
|
|
460
460
|
ifft,
|
|
461
|
-
|
|
462
|
-
lusolve,
|
|
463
|
-
mean,
|
|
464
|
-
median,
|
|
465
|
-
polynomialRoot,
|
|
466
|
-
quantileSeq,
|
|
461
|
+
lup,
|
|
467
462
|
range,
|
|
468
463
|
row,
|
|
469
464
|
setDifference,
|
|
470
465
|
setMultiplicity,
|
|
471
466
|
setSymDifference,
|
|
472
|
-
solveODE,
|
|
473
467
|
vacuumImpedance,
|
|
468
|
+
wienDisplacement,
|
|
474
469
|
atomicMass,
|
|
475
470
|
bohrMagneton,
|
|
476
471
|
boltzmann,
|
|
@@ -487,72 +482,79 @@ _extends(math, {
|
|
|
487
482
|
gravity,
|
|
488
483
|
klitzing,
|
|
489
484
|
loschmidt,
|
|
490
|
-
|
|
491
|
-
magneticFluxQuantum,
|
|
485
|
+
magneticConstant,
|
|
492
486
|
molarMass,
|
|
493
487
|
molarPlanckConstant,
|
|
494
|
-
|
|
495
|
-
|
|
488
|
+
neutronMass,
|
|
489
|
+
nuclearMagneton,
|
|
496
490
|
permutations,
|
|
497
491
|
planckConstant,
|
|
498
492
|
planckMass,
|
|
499
493
|
planckTime,
|
|
494
|
+
protonMass,
|
|
495
|
+
quantumOfCirculation,
|
|
500
496
|
reducedPlanckConstant,
|
|
501
|
-
rotationMatrix,
|
|
502
|
-
rydberg,
|
|
503
497
|
secondRadiation,
|
|
504
498
|
setSize,
|
|
505
499
|
speedOfLight,
|
|
506
500
|
stefanBoltzmann,
|
|
507
501
|
thomsonCrossSection,
|
|
508
|
-
variance,
|
|
509
|
-
zeta,
|
|
510
502
|
avogadro,
|
|
511
503
|
bohrRadius,
|
|
512
|
-
|
|
513
|
-
|
|
504
|
+
coulombConstant,
|
|
505
|
+
divide,
|
|
514
506
|
elementaryCharge,
|
|
515
507
|
faraday,
|
|
516
|
-
|
|
508
|
+
freqz,
|
|
509
|
+
gravitationConstant,
|
|
517
510
|
inverseConductanceQuantum,
|
|
518
|
-
|
|
511
|
+
lusolve,
|
|
512
|
+
magneticFluxQuantum,
|
|
519
513
|
molarMassC12,
|
|
520
|
-
|
|
521
|
-
parse,
|
|
514
|
+
multinomial,
|
|
522
515
|
planckCharge,
|
|
523
516
|
planckTemperature,
|
|
524
|
-
|
|
525
|
-
|
|
517
|
+
quantileSeq,
|
|
518
|
+
rydberg,
|
|
526
519
|
setIntersect,
|
|
527
|
-
|
|
528
|
-
std,
|
|
520
|
+
solveODE,
|
|
529
521
|
stirlingS2,
|
|
530
522
|
unit,
|
|
531
523
|
bellNumbers,
|
|
532
|
-
compile,
|
|
533
524
|
electricConstant,
|
|
534
525
|
firstRadiation,
|
|
535
|
-
|
|
536
|
-
|
|
526
|
+
hartreeEnergy,
|
|
527
|
+
kldivergence,
|
|
528
|
+
mean,
|
|
529
|
+
molarVolume,
|
|
537
530
|
planckLength,
|
|
538
|
-
rotate,
|
|
539
531
|
setUnion,
|
|
540
|
-
|
|
541
|
-
wienDisplacement,
|
|
532
|
+
variance,
|
|
542
533
|
classicalElectronRadius,
|
|
534
|
+
corr,
|
|
535
|
+
median,
|
|
536
|
+
parse,
|
|
537
|
+
polynomialRoot,
|
|
538
|
+
resolve,
|
|
539
|
+
simplifyConstant,
|
|
540
|
+
std,
|
|
541
|
+
zeta,
|
|
542
|
+
compile,
|
|
543
543
|
evaluate,
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
544
|
+
mad,
|
|
545
|
+
simplifyCore,
|
|
546
|
+
help,
|
|
547
|
+
norm,
|
|
548
|
+
rotationMatrix,
|
|
549
549
|
simplify,
|
|
550
550
|
symbolicEqual,
|
|
551
551
|
derivative,
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
552
|
+
parser,
|
|
553
|
+
rotate,
|
|
554
|
+
leafCount,
|
|
555
555
|
rationalize,
|
|
556
|
+
schur,
|
|
557
|
+
sylvester,
|
|
556
558
|
lyap,
|
|
557
559
|
config
|
|
558
560
|
});
|
|
@@ -570,6 +572,13 @@ _extends(mathWithTransform, math, {
|
|
|
570
572
|
isInteger,
|
|
571
573
|
typed
|
|
572
574
|
}),
|
|
575
|
+
or: createOrTransform({
|
|
576
|
+
DenseMatrix,
|
|
577
|
+
concat,
|
|
578
|
+
equalScalar,
|
|
579
|
+
matrix,
|
|
580
|
+
typed
|
|
581
|
+
}),
|
|
573
582
|
and: createAndTransform({
|
|
574
583
|
add,
|
|
575
584
|
concat,
|
|
@@ -584,6 +593,13 @@ _extends(mathWithTransform, math, {
|
|
|
584
593
|
typed,
|
|
585
594
|
unaryPlus
|
|
586
595
|
}),
|
|
596
|
+
max: createMaxTransform({
|
|
597
|
+
config,
|
|
598
|
+
isNaN,
|
|
599
|
+
larger,
|
|
600
|
+
numeric,
|
|
601
|
+
typed
|
|
602
|
+
}),
|
|
587
603
|
nullish: createNullishTransform({
|
|
588
604
|
deepEqual,
|
|
589
605
|
flatten,
|
|
@@ -618,13 +634,6 @@ _extends(mathWithTransform, math, {
|
|
|
618
634
|
subtract,
|
|
619
635
|
typed
|
|
620
636
|
}),
|
|
621
|
-
max: createMaxTransform({
|
|
622
|
-
config,
|
|
623
|
-
isNaN,
|
|
624
|
-
larger,
|
|
625
|
-
numeric,
|
|
626
|
-
typed
|
|
627
|
-
}),
|
|
628
637
|
min: createMinTransform({
|
|
629
638
|
config,
|
|
630
639
|
isNaN,
|
|
@@ -632,13 +641,6 @@ _extends(mathWithTransform, math, {
|
|
|
632
641
|
smaller,
|
|
633
642
|
typed
|
|
634
643
|
}),
|
|
635
|
-
or: createOrTransform({
|
|
636
|
-
DenseMatrix,
|
|
637
|
-
concat,
|
|
638
|
-
equalScalar,
|
|
639
|
-
matrix,
|
|
640
|
-
typed
|
|
641
|
-
}),
|
|
642
644
|
subset: createSubsetTransform({
|
|
643
645
|
add,
|
|
644
646
|
matrix,
|
|
@@ -658,32 +660,25 @@ _extends(mathWithTransform, math, {
|
|
|
658
660
|
numeric,
|
|
659
661
|
typed
|
|
660
662
|
}),
|
|
661
|
-
variance: createVarianceTransform({
|
|
662
|
-
add,
|
|
663
|
-
divide,
|
|
664
|
-
isNaN,
|
|
665
|
-
mapSlices,
|
|
666
|
-
multiply,
|
|
667
|
-
subtract,
|
|
668
|
-
typed
|
|
669
|
-
}),
|
|
670
663
|
index: createIndexTransform({
|
|
671
664
|
Index,
|
|
672
665
|
getMatrixDataType
|
|
673
666
|
}),
|
|
674
|
-
|
|
667
|
+
row: createRowTransform({
|
|
668
|
+
Index,
|
|
669
|
+
matrix,
|
|
670
|
+
range,
|
|
671
|
+
typed
|
|
672
|
+
}),
|
|
673
|
+
column: createColumnTransform({
|
|
674
|
+
Index,
|
|
675
|
+
matrix,
|
|
676
|
+
range,
|
|
677
|
+
typed
|
|
678
|
+
}),
|
|
679
|
+
mean: createMeanTransform({
|
|
675
680
|
add,
|
|
676
|
-
bignumber,
|
|
677
|
-
compare,
|
|
678
681
|
divide,
|
|
679
|
-
isInteger,
|
|
680
|
-
larger,
|
|
681
|
-
mapSlices,
|
|
682
|
-
multiply,
|
|
683
|
-
partitionSelect,
|
|
684
|
-
smaller,
|
|
685
|
-
smallerEq,
|
|
686
|
-
subtract,
|
|
687
682
|
typed
|
|
688
683
|
}),
|
|
689
684
|
range: createRangeTransform({
|
|
@@ -700,21 +695,28 @@ _extends(mathWithTransform, math, {
|
|
|
700
695
|
smallerEq,
|
|
701
696
|
typed
|
|
702
697
|
}),
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
Index,
|
|
711
|
-
matrix,
|
|
712
|
-
range,
|
|
698
|
+
variance: createVarianceTransform({
|
|
699
|
+
add,
|
|
700
|
+
divide,
|
|
701
|
+
isNaN,
|
|
702
|
+
mapSlices,
|
|
703
|
+
multiply,
|
|
704
|
+
subtract,
|
|
713
705
|
typed
|
|
714
706
|
}),
|
|
715
|
-
|
|
707
|
+
quantileSeq: createQuantileSeqTransform({
|
|
716
708
|
add,
|
|
709
|
+
bignumber,
|
|
710
|
+
compare,
|
|
717
711
|
divide,
|
|
712
|
+
isInteger,
|
|
713
|
+
larger,
|
|
714
|
+
mapSlices,
|
|
715
|
+
multiply,
|
|
716
|
+
partitionSelect,
|
|
717
|
+
smaller,
|
|
718
|
+
smallerEq,
|
|
719
|
+
subtract,
|
|
718
720
|
typed
|
|
719
721
|
}),
|
|
720
722
|
std: createStdTransform({
|