mathjs 15.0.0 → 15.1.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 -6
- package/README.md +1 -1
- 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/entry/dependenciesAny/dependenciesBernoulli.generated.js +25 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesConstantNode.generated.js +2 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesEqual.generated.js +0 -2
- package/lib/cjs/entry/dependenciesAny/dependenciesIsBounded.generated.js +17 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIsFinite.generated.js +21 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesIsInteger.generated.js +2 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyConstant.generated.js +2 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesUnitClass.generated.js +0 -2
- package/lib/cjs/entry/dependenciesAny/dependenciesZeta.generated.js +2 -0
- package/lib/cjs/entry/dependenciesAny.generated.js +21 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesBernoulli.generated.js +21 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesConstantNode.generated.js +2 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsBounded.generated.js +17 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesIsFinite.generated.js +21 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyConstant.generated.js +2 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesZeta.generated.js +2 -0
- package/lib/cjs/entry/dependenciesNumber.generated.js +21 -0
- package/lib/cjs/entry/impureFunctionsAny.generated.js +217 -212
- package/lib/cjs/entry/impureFunctionsNumber.generated.js +82 -77
- package/lib/cjs/entry/pureFunctionsAny.generated.js +668 -652
- package/lib/cjs/entry/pureFunctionsNumber.generated.js +155 -140
- package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +6 -0
- package/lib/cjs/expression/embeddedDocs/function/combinatorics/stirlingS2.js +2 -2
- package/lib/cjs/expression/embeddedDocs/function/probability/bernoulli.js +14 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/isBounded.js +14 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/isFinite.js +14 -0
- package/lib/cjs/expression/embeddedDocs/function/utils/isNaN.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/utils/isNumeric.js +1 -1
- package/lib/cjs/expression/node/AccessorNode.js +36 -7
- package/lib/cjs/expression/node/ConstantNode.js +4 -4
- package/lib/cjs/expression/node/FunctionNode.js +20 -5
- package/lib/cjs/expression/parse.js +36 -12
- package/lib/cjs/factoriesAny.js +21 -0
- package/lib/cjs/factoriesNumber.js +23 -2
- package/lib/cjs/function/algebra/simplifyConstant.js +3 -2
- package/lib/cjs/function/arithmetic/nthRoots.js +5 -1
- package/lib/cjs/function/probability/bernoulli.js +108 -0
- package/lib/cjs/function/relational/equal.js +2 -3
- package/lib/cjs/function/special/zeta.js +3 -2
- package/lib/cjs/function/utils/isBounded.js +54 -0
- package/lib/cjs/function/utils/isFinite.js +50 -0
- package/lib/cjs/function/utils/isInteger.js +7 -15
- package/lib/cjs/function/utils/isNaN.js +1 -1
- package/lib/cjs/function/utils/isNumeric.js +1 -1
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/json/replacer.js +1 -1
- package/lib/cjs/plain/number/probability.js +2 -2
- package/lib/cjs/plain/number/trigonometry.js +1 -1
- package/lib/cjs/type/fraction/function/fraction.js +1 -1
- package/lib/cjs/type/matrix/SparseMatrix.js +24 -4
- package/lib/cjs/type/unit/Unit.js +12 -8
- package/lib/cjs/utils/number.js +7 -7
- package/lib/cjs/utils/optimizeCallback.js +13 -1
- package/lib/cjs/version.js +1 -1
- package/lib/esm/entry/dependenciesAny/dependenciesBernoulli.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesConstantNode.generated.js +2 -0
- package/lib/esm/entry/dependenciesAny/dependenciesEqual.generated.js +0 -2
- package/lib/esm/entry/dependenciesAny/dependenciesIsBounded.generated.js +10 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIsFinite.generated.js +14 -0
- package/lib/esm/entry/dependenciesAny/dependenciesIsInteger.generated.js +2 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSimplifyConstant.generated.js +2 -0
- package/lib/esm/entry/dependenciesAny/dependenciesUnitClass.generated.js +0 -2
- package/lib/esm/entry/dependenciesAny/dependenciesZeta.generated.js +2 -0
- package/lib/esm/entry/dependenciesAny.generated.js +3 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesBernoulli.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesConstantNode.generated.js +2 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesIsBounded.generated.js +10 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesIsFinite.generated.js +14 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSimplifyConstant.generated.js +2 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesZeta.generated.js +2 -0
- package/lib/esm/entry/dependenciesNumber.generated.js +3 -0
- package/lib/esm/entry/impureFunctionsAny.generated.js +219 -214
- package/lib/esm/entry/impureFunctionsNumber.generated.js +84 -79
- package/lib/esm/entry/pureFunctionsAny.generated.js +665 -649
- package/lib/esm/entry/pureFunctionsNumber.generated.js +154 -139
- package/lib/esm/expression/embeddedDocs/embeddedDocs.js +6 -0
- package/lib/esm/expression/embeddedDocs/function/combinatorics/stirlingS2.js +2 -2
- package/lib/esm/expression/embeddedDocs/function/probability/bernoulli.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/isBounded.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/isFinite.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/utils/isNaN.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/utils/isNumeric.js +1 -1
- package/lib/esm/expression/node/AccessorNode.js +36 -7
- package/lib/esm/expression/node/ConstantNode.js +4 -4
- package/lib/esm/expression/node/FunctionNode.js +20 -5
- package/lib/esm/expression/parse.js +36 -12
- package/lib/esm/factoriesAny.js +3 -0
- package/lib/esm/factoriesNumber.js +3 -0
- package/lib/esm/function/algebra/simplifyConstant.js +3 -2
- package/lib/esm/function/arithmetic/nthRoots.js +5 -1
- package/lib/esm/function/probability/bernoulli.js +102 -0
- package/lib/esm/function/relational/equal.js +2 -3
- package/lib/esm/function/special/zeta.js +3 -2
- package/lib/esm/function/utils/isBounded.js +48 -0
- package/lib/esm/function/utils/isFinite.js +44 -0
- package/lib/esm/function/utils/isInteger.js +7 -15
- package/lib/esm/function/utils/isNaN.js +1 -1
- package/lib/esm/function/utils/isNumeric.js +1 -1
- package/lib/esm/json/replacer.js +1 -1
- package/lib/esm/plain/number/probability.js +2 -2
- package/lib/esm/plain/number/trigonometry.js +1 -1
- package/lib/esm/type/fraction/function/fraction.js +1 -1
- package/lib/esm/type/matrix/SparseMatrix.js +24 -4
- package/lib/esm/type/unit/Unit.js +12 -8
- package/lib/esm/utils/number.js +7 -7
- package/lib/esm/utils/optimizeCallback.js +13 -1
- package/lib/esm/version.js +1 -1
- package/package.json +8 -8
- package/types/index.d.ts +535 -223
|
@@ -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,
|
|
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, createLeafCount, createSimplifyCore, createEvaluate, createHelpClass, createParserClass, createParser, createSimplify, createSymbolicEqual, createDerivative, createHelp, createRationalize, createMapTransform, createFilterTransform, createForEachTransform, createMapSlicesTransform, createAndTransform, createCumSumTransform, createNullishTransform, createPrintTransform, createBitAndTransform, createConcatTransform, createDiffTransform, createMaxTransform, createMinTransform, createOrTransform, createSubsetTransform, createBitOrTransform, createSumTransform, createVarianceTransform, createIndexTransform, createQuantileSeqTransform, createRangeTransform, createColumnTransform, createRowTransform, createMeanTransform, 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,
|
|
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, numeric, prod, reshape, round, unaryMinus, bernoulli, cbrt, concat, count, deepEqual, divideScalar, dotMultiply, floor, gcd, isPositive, larger, lcm, leftShift, lsolve, max, mod, nthRoot, nullish, or, qr, rightArithShift, smaller, subtract, to, unaryPlus, usolve, xor, add, atan2, bitAnd, bitOr, bitXor, catalan, compare, compareText, composition, cross, det, diff, distance, dotDivide, equalText, FibonacciHeap, hypot, ImmutableDenseMatrix, Index, intersect, invmod, largerEq, log, lsolveAll, matrixFromRows, min, nthRoots, partitionSelect, rightLogShift, slu, Spa, subset, sum, trace, usolveAll, zpk2tf, ceil, compareNatural, cumsum, fix, index, inv, log1p, lup, pinv, pow, setCartesian, setDistinct, setIsSubset, setPowerset, smallerEq, sort, sqrtm, unequal, and, divide, expm, fft, freqz, gamma, ifft, kldivergence, lusolve, mean, median, polynomialRoot, quantileSeq, range, row, setDifference, setMultiplicity, setSymDifference, solveODE, Unit, vacuumImpedance, atomicMass, bohrMagneton, boltzmann, column, conductanceQuantum, coulomb, createUnit, deuteronMass, eigs, electronMass, factorial, fermiCoupling, gasConstant, gravity, klitzing, loschmidt, mad, magneticFluxQuantum, molarMass, molarPlanckConstant, multinomial, norm, permutations, planckConstant, planckMass, planckTime, reducedPlanckConstant, rotationMatrix, rydberg, secondRadiation, setSize, speedOfLight, stefanBoltzmann, thomsonCrossSection, variance, zeta, avogadro, bohrRadius, corr, dotPow, elementaryCharge, faraday, hartreeEnergy, inverseConductanceQuantum, magneticConstant, molarMassC12, neutronMass, planckCharge, planckTemperature, quantumOfCirculation, setIntersect, std, stirlingS2, unit, bellNumbers, electricConstant, firstRadiation, nuclearMagneton, planckLength, rotate, setUnion, wienDisplacement, classicalElectronRadius, molarVolume, schur, coulombConstant, gravitationConstant, protonMass, sylvester, lyap } from './pureFunctionsAny.generated.js';
|
|
11
11
|
var math = {}; // NOT pure!
|
|
12
12
|
var mathWithTransform = {}; // NOT pure!
|
|
13
13
|
var classes = {}; // NOT pure!
|
|
@@ -37,9 +37,6 @@ export var BlockNode = createBlockNode({
|
|
|
37
37
|
export var ConditionalNode = createConditionalNode({
|
|
38
38
|
Node
|
|
39
39
|
});
|
|
40
|
-
export var ConstantNode = createConstantNode({
|
|
41
|
-
Node
|
|
42
|
-
});
|
|
43
40
|
export var RangeNode = createRangeNode({
|
|
44
41
|
Node
|
|
45
42
|
});
|
|
@@ -58,6 +55,10 @@ export var chain = createChain({
|
|
|
58
55
|
Chain,
|
|
59
56
|
typed
|
|
60
57
|
});
|
|
58
|
+
export var ConstantNode = createConstantNode({
|
|
59
|
+
Node,
|
|
60
|
+
isBounded
|
|
61
|
+
});
|
|
61
62
|
export var IndexNode = createIndexNode({
|
|
62
63
|
Node,
|
|
63
64
|
size
|
|
@@ -121,6 +122,7 @@ export var simplifyConstant = createSimplifyConstant({
|
|
|
121
122
|
OperatorNode,
|
|
122
123
|
SymbolNode,
|
|
123
124
|
config,
|
|
125
|
+
isBounded,
|
|
124
126
|
mathWithTransform,
|
|
125
127
|
matrix,
|
|
126
128
|
typed
|
|
@@ -129,6 +131,10 @@ export var compile = createCompile({
|
|
|
129
131
|
parse,
|
|
130
132
|
typed
|
|
131
133
|
});
|
|
134
|
+
export var leafCount = createLeafCount({
|
|
135
|
+
parse,
|
|
136
|
+
typed
|
|
137
|
+
});
|
|
132
138
|
export var simplifyCore = createSimplifyCore({
|
|
133
139
|
AccessorNode,
|
|
134
140
|
ArrayNode,
|
|
@@ -160,6 +166,10 @@ export var Parser = createParserClass({
|
|
|
160
166
|
evaluate,
|
|
161
167
|
parse
|
|
162
168
|
});
|
|
169
|
+
export var parser = createParser({
|
|
170
|
+
Parser,
|
|
171
|
+
typed
|
|
172
|
+
});
|
|
163
173
|
export var simplify = createSimplify({
|
|
164
174
|
AccessorNode,
|
|
165
175
|
ArrayNode,
|
|
@@ -184,12 +194,23 @@ export var symbolicEqual = createSymbolicEqual({
|
|
|
184
194
|
simplify,
|
|
185
195
|
typed
|
|
186
196
|
});
|
|
187
|
-
export var
|
|
197
|
+
export var derivative = createDerivative({
|
|
198
|
+
ConstantNode,
|
|
199
|
+
FunctionNode,
|
|
200
|
+
OperatorNode,
|
|
201
|
+
ParenthesisNode,
|
|
202
|
+
SymbolNode,
|
|
203
|
+
config,
|
|
204
|
+
equal,
|
|
205
|
+
isZero,
|
|
206
|
+
numeric,
|
|
188
207
|
parse,
|
|
208
|
+
simplify,
|
|
189
209
|
typed
|
|
190
210
|
});
|
|
191
|
-
export var
|
|
192
|
-
|
|
211
|
+
export var help = createHelp({
|
|
212
|
+
Help,
|
|
213
|
+
mathWithTransform,
|
|
193
214
|
typed
|
|
194
215
|
});
|
|
195
216
|
export var rationalize = createRationalize({
|
|
@@ -220,25 +241,6 @@ export var rationalize = createRationalize({
|
|
|
220
241
|
subtract,
|
|
221
242
|
typed
|
|
222
243
|
});
|
|
223
|
-
export var derivative = createDerivative({
|
|
224
|
-
ConstantNode,
|
|
225
|
-
FunctionNode,
|
|
226
|
-
OperatorNode,
|
|
227
|
-
ParenthesisNode,
|
|
228
|
-
SymbolNode,
|
|
229
|
-
config,
|
|
230
|
-
equal,
|
|
231
|
-
isZero,
|
|
232
|
-
numeric,
|
|
233
|
-
parse,
|
|
234
|
-
simplify,
|
|
235
|
-
typed
|
|
236
|
-
});
|
|
237
|
-
export var help = createHelp({
|
|
238
|
-
Help,
|
|
239
|
-
mathWithTransform,
|
|
240
|
-
typed
|
|
241
|
-
});
|
|
242
244
|
_extends(math, {
|
|
243
245
|
e,
|
|
244
246
|
false: _false,
|
|
@@ -297,15 +299,16 @@ _extends(math, {
|
|
|
297
299
|
getMatrixDataType,
|
|
298
300
|
hex,
|
|
299
301
|
im,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
isBounded,
|
|
303
|
+
isNaN,
|
|
304
|
+
isNumeric,
|
|
305
|
+
isPrime,
|
|
304
306
|
LOG2E,
|
|
305
307
|
lgamma,
|
|
306
308
|
log10,
|
|
307
309
|
log2,
|
|
308
310
|
map,
|
|
311
|
+
mode,
|
|
309
312
|
multiplyScalar,
|
|
310
313
|
not,
|
|
311
314
|
number,
|
|
@@ -334,15 +337,16 @@ _extends(math, {
|
|
|
334
337
|
cosh,
|
|
335
338
|
csch,
|
|
336
339
|
dot,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
+
hasNumericValue,
|
|
341
|
+
isFinite,
|
|
342
|
+
isNegative,
|
|
343
|
+
isZero,
|
|
340
344
|
matrix,
|
|
341
345
|
matrixFromFunction,
|
|
342
346
|
multiply,
|
|
343
347
|
ones,
|
|
344
348
|
randomInt,
|
|
345
|
-
|
|
349
|
+
resize,
|
|
346
350
|
sech,
|
|
347
351
|
sinh,
|
|
348
352
|
sparse,
|
|
@@ -355,205 +359,205 @@ _extends(math, {
|
|
|
355
359
|
acoth,
|
|
356
360
|
asin,
|
|
357
361
|
bin,
|
|
358
|
-
concat,
|
|
359
362
|
coth,
|
|
360
363
|
ctranspose,
|
|
361
364
|
diag,
|
|
362
|
-
dotMultiply,
|
|
363
365
|
equal,
|
|
364
366
|
fraction,
|
|
365
367
|
identity,
|
|
366
|
-
|
|
368
|
+
isInteger,
|
|
367
369
|
kron,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
matrixFromRows,
|
|
371
|
-
mode,
|
|
372
|
-
nthRoot,
|
|
370
|
+
mapSlices,
|
|
371
|
+
matrixFromColumns,
|
|
373
372
|
numeric,
|
|
374
373
|
prod,
|
|
375
|
-
|
|
376
|
-
rightArithShift,
|
|
374
|
+
reshape,
|
|
377
375
|
round,
|
|
378
|
-
smaller,
|
|
379
|
-
to,
|
|
380
376
|
unaryMinus,
|
|
381
|
-
|
|
382
|
-
xor,
|
|
383
|
-
add,
|
|
384
|
-
atan2,
|
|
385
|
-
bitAnd,
|
|
386
|
-
bitOr,
|
|
387
|
-
bitXor,
|
|
377
|
+
bernoulli,
|
|
388
378
|
cbrt,
|
|
389
|
-
|
|
390
|
-
compareText,
|
|
379
|
+
concat,
|
|
391
380
|
count,
|
|
392
381
|
deepEqual,
|
|
393
382
|
divideScalar,
|
|
394
|
-
|
|
383
|
+
dotMultiply,
|
|
395
384
|
floor,
|
|
396
385
|
gcd,
|
|
397
|
-
|
|
398
|
-
hypot,
|
|
386
|
+
isPositive,
|
|
399
387
|
larger,
|
|
400
|
-
|
|
388
|
+
lcm,
|
|
389
|
+
leftShift,
|
|
401
390
|
lsolve,
|
|
402
|
-
|
|
403
|
-
min,
|
|
391
|
+
max,
|
|
404
392
|
mod,
|
|
405
|
-
|
|
393
|
+
nthRoot,
|
|
406
394
|
nullish,
|
|
407
395
|
or,
|
|
408
|
-
partitionSelect,
|
|
409
396
|
qr,
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
subset,
|
|
397
|
+
rightArithShift,
|
|
398
|
+
smaller,
|
|
413
399
|
subtract,
|
|
414
|
-
|
|
400
|
+
to,
|
|
401
|
+
unaryPlus,
|
|
415
402
|
usolve,
|
|
416
|
-
|
|
403
|
+
xor,
|
|
404
|
+
add,
|
|
405
|
+
atan2,
|
|
406
|
+
bitAnd,
|
|
407
|
+
bitOr,
|
|
408
|
+
bitXor,
|
|
417
409
|
catalan,
|
|
418
|
-
|
|
410
|
+
compare,
|
|
411
|
+
compareText,
|
|
419
412
|
composition,
|
|
420
413
|
cross,
|
|
421
414
|
det,
|
|
422
415
|
diff,
|
|
423
416
|
distance,
|
|
424
417
|
dotDivide,
|
|
425
|
-
|
|
418
|
+
equalText,
|
|
419
|
+
hypot,
|
|
426
420
|
intersect,
|
|
427
421
|
invmod,
|
|
428
|
-
|
|
429
|
-
|
|
422
|
+
largerEq,
|
|
423
|
+
log,
|
|
430
424
|
lsolveAll,
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
setIsSubset,
|
|
437
|
-
setPowerset,
|
|
425
|
+
matrixFromRows,
|
|
426
|
+
min,
|
|
427
|
+
nthRoots,
|
|
428
|
+
partitionSelect,
|
|
429
|
+
rightLogShift,
|
|
438
430
|
slu,
|
|
439
|
-
|
|
440
|
-
|
|
431
|
+
subset,
|
|
432
|
+
sum,
|
|
433
|
+
trace,
|
|
441
434
|
usolveAll,
|
|
442
|
-
|
|
435
|
+
zpk2tf,
|
|
443
436
|
ceil,
|
|
444
|
-
|
|
437
|
+
compareNatural,
|
|
445
438
|
cumsum,
|
|
446
439
|
fix,
|
|
447
|
-
|
|
448
|
-
setMultiplicity,
|
|
449
|
-
setSymDifference,
|
|
450
|
-
sum,
|
|
440
|
+
index,
|
|
451
441
|
inv,
|
|
442
|
+
log1p,
|
|
452
443
|
lup,
|
|
453
444
|
pinv,
|
|
454
445
|
pow,
|
|
455
|
-
|
|
456
|
-
|
|
446
|
+
setCartesian,
|
|
447
|
+
setDistinct,
|
|
448
|
+
setIsSubset,
|
|
449
|
+
setPowerset,
|
|
450
|
+
smallerEq,
|
|
451
|
+
sort,
|
|
457
452
|
sqrtm,
|
|
453
|
+
unequal,
|
|
454
|
+
and,
|
|
455
|
+
divide,
|
|
456
|
+
expm,
|
|
457
|
+
fft,
|
|
458
|
+
freqz,
|
|
459
|
+
gamma,
|
|
460
|
+
ifft,
|
|
461
|
+
kldivergence,
|
|
462
|
+
lusolve,
|
|
463
|
+
mean,
|
|
464
|
+
median,
|
|
465
|
+
polynomialRoot,
|
|
466
|
+
quantileSeq,
|
|
467
|
+
range,
|
|
468
|
+
row,
|
|
469
|
+
setDifference,
|
|
470
|
+
setMultiplicity,
|
|
471
|
+
setSymDifference,
|
|
472
|
+
solveODE,
|
|
458
473
|
vacuumImpedance,
|
|
459
|
-
wienDisplacement,
|
|
460
474
|
atomicMass,
|
|
461
475
|
bohrMagneton,
|
|
462
476
|
boltzmann,
|
|
477
|
+
column,
|
|
463
478
|
conductanceQuantum,
|
|
464
479
|
coulomb,
|
|
465
480
|
createUnit,
|
|
466
481
|
deuteronMass,
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
gamma,
|
|
474
|
-
gravitationConstant,
|
|
475
|
-
hartreeEnergy,
|
|
476
|
-
ifft,
|
|
482
|
+
eigs,
|
|
483
|
+
electronMass,
|
|
484
|
+
factorial,
|
|
485
|
+
fermiCoupling,
|
|
486
|
+
gasConstant,
|
|
487
|
+
gravity,
|
|
477
488
|
klitzing,
|
|
478
489
|
loschmidt,
|
|
479
|
-
|
|
490
|
+
mad,
|
|
491
|
+
magneticFluxQuantum,
|
|
480
492
|
molarMass,
|
|
481
493
|
molarPlanckConstant,
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
quantumOfCirculation,
|
|
494
|
+
multinomial,
|
|
495
|
+
norm,
|
|
496
|
+
permutations,
|
|
497
|
+
planckConstant,
|
|
498
|
+
planckMass,
|
|
499
|
+
planckTime,
|
|
489
500
|
reducedPlanckConstant,
|
|
501
|
+
rotationMatrix,
|
|
490
502
|
rydberg,
|
|
491
503
|
secondRadiation,
|
|
504
|
+
setSize,
|
|
492
505
|
speedOfLight,
|
|
493
506
|
stefanBoltzmann,
|
|
494
507
|
thomsonCrossSection,
|
|
508
|
+
variance,
|
|
509
|
+
zeta,
|
|
495
510
|
avogadro,
|
|
496
511
|
bohrRadius,
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
gravity,
|
|
512
|
+
corr,
|
|
513
|
+
dotPow,
|
|
514
|
+
elementaryCharge,
|
|
515
|
+
faraday,
|
|
516
|
+
hartreeEnergy,
|
|
503
517
|
inverseConductanceQuantum,
|
|
504
|
-
|
|
505
|
-
magneticFluxQuantum,
|
|
518
|
+
magneticConstant,
|
|
506
519
|
molarMassC12,
|
|
507
|
-
|
|
520
|
+
neutronMass,
|
|
508
521
|
parse,
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
522
|
+
planckCharge,
|
|
523
|
+
planckTemperature,
|
|
524
|
+
quantumOfCirculation,
|
|
512
525
|
resolve,
|
|
513
|
-
|
|
526
|
+
setIntersect,
|
|
514
527
|
simplifyConstant,
|
|
515
|
-
|
|
528
|
+
std,
|
|
516
529
|
stirlingS2,
|
|
517
530
|
unit,
|
|
518
531
|
bellNumbers,
|
|
519
532
|
compile,
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
quantileSeq,
|
|
533
|
+
electricConstant,
|
|
534
|
+
firstRadiation,
|
|
535
|
+
leafCount,
|
|
536
|
+
nuclearMagneton,
|
|
537
|
+
planckLength,
|
|
538
|
+
rotate,
|
|
539
|
+
setUnion,
|
|
528
540
|
simplifyCore,
|
|
529
|
-
|
|
541
|
+
wienDisplacement,
|
|
530
542
|
classicalElectronRadius,
|
|
531
543
|
evaluate,
|
|
532
|
-
|
|
544
|
+
molarVolume,
|
|
545
|
+
schur,
|
|
546
|
+
coulombConstant,
|
|
547
|
+
gravitationConstant,
|
|
548
|
+
parser,
|
|
533
549
|
simplify,
|
|
534
550
|
symbolicEqual,
|
|
535
|
-
corr,
|
|
536
|
-
freqz,
|
|
537
|
-
leafCount,
|
|
538
|
-
mad,
|
|
539
|
-
parser,
|
|
540
|
-
rationalize,
|
|
541
|
-
std,
|
|
542
|
-
zeta,
|
|
543
551
|
derivative,
|
|
544
|
-
|
|
545
|
-
rotationMatrix,
|
|
546
|
-
help,
|
|
547
|
-
planckTime,
|
|
548
|
-
schur,
|
|
549
|
-
rotate,
|
|
552
|
+
protonMass,
|
|
550
553
|
sylvester,
|
|
554
|
+
help,
|
|
555
|
+
rationalize,
|
|
551
556
|
lyap,
|
|
552
557
|
config
|
|
553
558
|
});
|
|
554
559
|
_extends(mathWithTransform, math, {
|
|
555
|
-
|
|
556
|
-
isInteger,
|
|
560
|
+
map: createMapTransform({
|
|
557
561
|
typed
|
|
558
562
|
}),
|
|
559
563
|
filter: createFilterTransform({
|
|
@@ -562,14 +566,8 @@ _extends(mathWithTransform, math, {
|
|
|
562
566
|
forEach: createForEachTransform({
|
|
563
567
|
typed
|
|
564
568
|
}),
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
}),
|
|
568
|
-
or: createOrTransform({
|
|
569
|
-
DenseMatrix,
|
|
570
|
-
concat,
|
|
571
|
-
equalScalar,
|
|
572
|
-
matrix,
|
|
569
|
+
mapSlices: createMapSlicesTransform({
|
|
570
|
+
isInteger,
|
|
573
571
|
typed
|
|
574
572
|
}),
|
|
575
573
|
and: createAndTransform({
|
|
@@ -581,16 +579,16 @@ _extends(mathWithTransform, math, {
|
|
|
581
579
|
typed,
|
|
582
580
|
zeros
|
|
583
581
|
}),
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
582
|
+
cumsum: createCumSumTransform({
|
|
583
|
+
add,
|
|
584
|
+
typed,
|
|
585
|
+
unaryPlus
|
|
588
586
|
}),
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
587
|
+
nullish: createNullishTransform({
|
|
588
|
+
deepEqual,
|
|
589
|
+
flatten,
|
|
590
|
+
matrix,
|
|
591
|
+
size,
|
|
594
592
|
typed
|
|
595
593
|
}),
|
|
596
594
|
print: createPrintTransform({
|
|
@@ -599,12 +597,6 @@ _extends(mathWithTransform, math, {
|
|
|
599
597
|
typed,
|
|
600
598
|
zeros
|
|
601
599
|
}),
|
|
602
|
-
sum: createSumTransform({
|
|
603
|
-
add,
|
|
604
|
-
config,
|
|
605
|
-
numeric,
|
|
606
|
-
typed
|
|
607
|
-
}),
|
|
608
600
|
bitAnd: createBitAndTransform({
|
|
609
601
|
add,
|
|
610
602
|
concat,
|
|
@@ -614,6 +606,25 @@ _extends(mathWithTransform, math, {
|
|
|
614
606
|
typed,
|
|
615
607
|
zeros
|
|
616
608
|
}),
|
|
609
|
+
concat: createConcatTransform({
|
|
610
|
+
isInteger,
|
|
611
|
+
matrix,
|
|
612
|
+
typed
|
|
613
|
+
}),
|
|
614
|
+
diff: createDiffTransform({
|
|
615
|
+
bignumber,
|
|
616
|
+
matrix,
|
|
617
|
+
number,
|
|
618
|
+
subtract,
|
|
619
|
+
typed
|
|
620
|
+
}),
|
|
621
|
+
max: createMaxTransform({
|
|
622
|
+
config,
|
|
623
|
+
isNaN,
|
|
624
|
+
larger,
|
|
625
|
+
numeric,
|
|
626
|
+
typed
|
|
627
|
+
}),
|
|
617
628
|
min: createMinTransform({
|
|
618
629
|
config,
|
|
619
630
|
isNaN,
|
|
@@ -621,11 +632,11 @@ _extends(mathWithTransform, math, {
|
|
|
621
632
|
smaller,
|
|
622
633
|
typed
|
|
623
634
|
}),
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
635
|
+
or: createOrTransform({
|
|
636
|
+
DenseMatrix,
|
|
637
|
+
concat,
|
|
638
|
+
equalScalar,
|
|
627
639
|
matrix,
|
|
628
|
-
size,
|
|
629
640
|
typed
|
|
630
641
|
}),
|
|
631
642
|
subset: createSubsetTransform({
|
|
@@ -641,10 +652,18 @@ _extends(mathWithTransform, math, {
|
|
|
641
652
|
matrix,
|
|
642
653
|
typed
|
|
643
654
|
}),
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
655
|
+
sum: createSumTransform({
|
|
656
|
+
add,
|
|
657
|
+
config,
|
|
658
|
+
numeric,
|
|
659
|
+
typed
|
|
660
|
+
}),
|
|
661
|
+
variance: createVarianceTransform({
|
|
662
|
+
add,
|
|
663
|
+
divide,
|
|
664
|
+
isNaN,
|
|
665
|
+
mapSlices,
|
|
666
|
+
multiply,
|
|
648
667
|
subtract,
|
|
649
668
|
typed
|
|
650
669
|
}),
|
|
@@ -652,6 +671,21 @@ _extends(mathWithTransform, math, {
|
|
|
652
671
|
Index,
|
|
653
672
|
getMatrixDataType
|
|
654
673
|
}),
|
|
674
|
+
quantileSeq: createQuantileSeqTransform({
|
|
675
|
+
add,
|
|
676
|
+
bignumber,
|
|
677
|
+
compare,
|
|
678
|
+
divide,
|
|
679
|
+
isInteger,
|
|
680
|
+
larger,
|
|
681
|
+
mapSlices,
|
|
682
|
+
multiply,
|
|
683
|
+
partitionSelect,
|
|
684
|
+
smaller,
|
|
685
|
+
smallerEq,
|
|
686
|
+
subtract,
|
|
687
|
+
typed
|
|
688
|
+
}),
|
|
655
689
|
range: createRangeTransform({
|
|
656
690
|
bignumber,
|
|
657
691
|
matrix,
|
|
@@ -666,52 +700,23 @@ _extends(mathWithTransform, math, {
|
|
|
666
700
|
smallerEq,
|
|
667
701
|
typed
|
|
668
702
|
}),
|
|
669
|
-
|
|
703
|
+
column: createColumnTransform({
|
|
670
704
|
Index,
|
|
671
705
|
matrix,
|
|
672
706
|
range,
|
|
673
707
|
typed
|
|
674
708
|
}),
|
|
675
|
-
|
|
709
|
+
row: createRowTransform({
|
|
676
710
|
Index,
|
|
677
711
|
matrix,
|
|
678
712
|
range,
|
|
679
713
|
typed
|
|
680
714
|
}),
|
|
681
|
-
cumsum: createCumSumTransform({
|
|
682
|
-
add,
|
|
683
|
-
typed,
|
|
684
|
-
unaryPlus
|
|
685
|
-
}),
|
|
686
715
|
mean: createMeanTransform({
|
|
687
716
|
add,
|
|
688
717
|
divide,
|
|
689
718
|
typed
|
|
690
719
|
}),
|
|
691
|
-
quantileSeq: createQuantileSeqTransform({
|
|
692
|
-
add,
|
|
693
|
-
bignumber,
|
|
694
|
-
compare,
|
|
695
|
-
divide,
|
|
696
|
-
isInteger,
|
|
697
|
-
larger,
|
|
698
|
-
mapSlices,
|
|
699
|
-
multiply,
|
|
700
|
-
partitionSelect,
|
|
701
|
-
smaller,
|
|
702
|
-
smallerEq,
|
|
703
|
-
subtract,
|
|
704
|
-
typed
|
|
705
|
-
}),
|
|
706
|
-
variance: createVarianceTransform({
|
|
707
|
-
add,
|
|
708
|
-
divide,
|
|
709
|
-
isNaN,
|
|
710
|
-
mapSlices,
|
|
711
|
-
multiply,
|
|
712
|
-
subtract,
|
|
713
|
-
typed
|
|
714
|
-
}),
|
|
715
720
|
std: createStdTransform({
|
|
716
721
|
map,
|
|
717
722
|
sqrt,
|
|
@@ -734,19 +739,19 @@ _extends(classes, {
|
|
|
734
739
|
ArrayNode,
|
|
735
740
|
BlockNode,
|
|
736
741
|
ConditionalNode,
|
|
737
|
-
ConstantNode,
|
|
738
742
|
DenseMatrix,
|
|
739
743
|
RangeNode,
|
|
740
744
|
Chain,
|
|
741
745
|
FunctionAssignmentNode,
|
|
742
746
|
SparseMatrix,
|
|
747
|
+
ConstantNode,
|
|
743
748
|
IndexNode,
|
|
749
|
+
FibonacciHeap,
|
|
744
750
|
ImmutableDenseMatrix,
|
|
745
751
|
Index,
|
|
752
|
+
Spa,
|
|
746
753
|
AccessorNode,
|
|
747
754
|
AssignmentNode,
|
|
748
|
-
FibonacciHeap,
|
|
749
|
-
Spa,
|
|
750
755
|
Unit,
|
|
751
756
|
SymbolNode,
|
|
752
757
|
FunctionNode,
|