mathjs 7.2.0 → 7.5.1
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 +34 -0
- package/dist/math.js +3421 -2476
- package/dist/math.min.js +5 -5
- package/dist/math.min.map +1 -1
- package/docs/expressions/syntax.md +30 -4
- package/docs/reference/functions/bin.md +38 -0
- package/docs/reference/functions/ceil.md +10 -1
- package/docs/reference/functions/fix.md +10 -2
- package/docs/reference/functions/floor.md +12 -3
- package/docs/reference/functions/hex.md +38 -0
- package/docs/reference/functions/lsolve.md +2 -1
- package/docs/reference/functions/lsolveAll.md +45 -0
- package/docs/reference/functions/oct.md +38 -0
- package/docs/reference/functions/rotationMatrix.md +51 -0
- package/docs/reference/functions/round.md +6 -2
- package/docs/reference/functions/usolve.md +2 -1
- package/docs/reference/functions/usolveAll.md +45 -0
- package/docs/reference/functions.md +8 -2
- package/es/entry/dependenciesAny/dependenciesBin.generated.js +10 -0
- package/es/entry/dependenciesAny/dependenciesCeil.generated.js +4 -0
- package/es/entry/dependenciesAny/dependenciesFix.generated.js +2 -0
- package/es/entry/dependenciesAny/dependenciesFloor.generated.js +4 -0
- package/es/entry/dependenciesAny/dependenciesHex.generated.js +10 -0
- package/es/entry/dependenciesAny/dependenciesLsolveAll.generated.js +22 -0
- package/es/entry/dependenciesAny/dependenciesOct.generated.js +10 -0
- package/es/entry/dependenciesAny/dependenciesRotationMatrix.generated.js +30 -0
- package/es/entry/dependenciesAny/dependenciesUsolveAll.generated.js +22 -0
- package/es/entry/dependenciesAny.generated.js +6 -0
- package/es/entry/impureFunctionsAny.generated.js +63 -57
- package/es/entry/pureFunctionsAny.generated.js +323 -277
- package/es/expression/embeddedDocs/embeddedDocs.js +12 -0
- package/es/expression/embeddedDocs/function/algebra/lsolve.js +2 -2
- package/es/expression/embeddedDocs/function/algebra/lsolveAll.js +8 -0
- package/es/expression/embeddedDocs/function/algebra/usolve.js +2 -2
- package/es/expression/embeddedDocs/function/algebra/usolveAll.js +8 -0
- package/es/expression/embeddedDocs/function/matrix/rotationMatrix.js +8 -0
- package/es/expression/embeddedDocs/function/utils/bin.js +8 -0
- package/es/expression/embeddedDocs/function/utils/hex.js +8 -0
- package/es/expression/embeddedDocs/function/utils/oct.js +8 -0
- package/es/expression/parse.js +28 -1
- package/es/factoriesAny.js +6 -0
- package/es/function/algebra/solver/lsolve.js +42 -69
- package/es/function/algebra/solver/lsolveAll.js +213 -0
- package/es/function/algebra/solver/lusolve.js +12 -27
- package/es/function/algebra/solver/usolve.js +41 -64
- package/es/function/algebra/solver/usolveAll.js +213 -0
- package/es/function/algebra/solver/utils/solveValidation.js +66 -107
- package/es/function/arithmetic/ceil.js +88 -4
- package/es/function/arithmetic/fix.js +43 -6
- package/es/function/arithmetic/floor.js +90 -6
- package/es/function/arithmetic/mod.js +10 -1
- package/es/function/arithmetic/round.js +6 -2
- package/es/function/matrix/rotationMatrix.js +175 -0
- package/es/function/matrix/sqrtm.js +4 -0
- package/es/function/probability/pickRandom.js +2 -6
- package/es/function/statistics/variance.js +4 -4
- package/es/function/string/baseUtils.js +36 -0
- package/es/function/string/bin.js +23 -0
- package/es/function/string/hex.js +23 -0
- package/es/function/string/oct.js +23 -0
- package/es/type/bignumber/BigNumber.js +4 -1
- package/es/type/number.js +10 -0
- package/es/utils/object.js +3 -1
- package/es/version.js +1 -1
- package/examples/advanced/web_server/math_worker.js +1 -1
- package/lib/entry/dependenciesAny/dependenciesBin.generated.js +20 -0
- package/lib/entry/dependenciesAny/dependenciesCeil.generated.js +6 -0
- package/lib/entry/dependenciesAny/dependenciesFix.generated.js +3 -0
- package/lib/entry/dependenciesAny/dependenciesFloor.generated.js +6 -0
- package/lib/entry/dependenciesAny/dependenciesHex.generated.js +20 -0
- package/lib/entry/dependenciesAny/dependenciesLsolveAll.generated.js +38 -0
- package/lib/entry/dependenciesAny/dependenciesOct.generated.js +20 -0
- package/lib/entry/dependenciesAny/dependenciesRotationMatrix.generated.js +50 -0
- package/lib/entry/dependenciesAny/dependenciesUsolveAll.generated.js +38 -0
- package/lib/entry/dependenciesAny.generated.js +48 -0
- package/lib/entry/impureFunctionsAny.generated.js +65 -59
- package/lib/entry/pureFunctionsAny.generated.js +373 -321
- package/lib/expression/embeddedDocs/embeddedDocs.js +18 -0
- package/lib/expression/embeddedDocs/function/algebra/lsolve.js +2 -2
- package/lib/expression/embeddedDocs/function/algebra/lsolveAll.js +15 -0
- package/lib/expression/embeddedDocs/function/algebra/usolve.js +2 -2
- package/lib/expression/embeddedDocs/function/algebra/usolveAll.js +15 -0
- package/lib/expression/embeddedDocs/function/matrix/rotationMatrix.js +15 -0
- package/lib/expression/embeddedDocs/function/utils/bin.js +15 -0
- package/lib/expression/embeddedDocs/function/utils/hex.js +15 -0
- package/lib/expression/embeddedDocs/function/utils/oct.js +15 -0
- package/lib/expression/parse.js +28 -1
- package/lib/factoriesAny.js +48 -0
- package/lib/function/algebra/solver/lsolve.js +42 -69
- package/lib/function/algebra/solver/lsolveAll.js +223 -0
- package/lib/function/algebra/solver/lusolve.js +12 -27
- package/lib/function/algebra/solver/usolve.js +41 -64
- package/lib/function/algebra/solver/usolveAll.js +223 -0
- package/lib/function/algebra/solver/utils/solveValidation.js +65 -106
- package/lib/function/arithmetic/ceil.js +91 -4
- package/lib/function/arithmetic/fix.js +44 -6
- package/lib/function/arithmetic/floor.js +93 -6
- package/lib/function/arithmetic/mod.js +10 -1
- package/lib/function/arithmetic/round.js +6 -2
- package/lib/function/matrix/rotationMatrix.js +185 -0
- package/lib/function/matrix/sqrtm.js +4 -0
- package/lib/function/probability/pickRandom.js +3 -7
- package/lib/function/statistics/variance.js +4 -4
- package/lib/function/string/baseUtils.js +45 -0
- package/lib/function/string/bin.js +31 -0
- package/lib/function/string/hex.js +31 -0
- package/lib/function/string/oct.js +31 -0
- package/lib/header.js +2 -2
- package/lib/type/bignumber/BigNumber.js +3 -1
- package/lib/type/number.js +10 -0
- package/lib/utils/object.js +3 -1
- package/lib/version.js +1 -1
- package/package.json +12 -12
- package/src/entry/dependenciesAny/dependenciesBin.generated.js +11 -0
- package/src/entry/dependenciesAny/dependenciesCeil.generated.js +4 -0
- package/src/entry/dependenciesAny/dependenciesFix.generated.js +2 -0
- package/src/entry/dependenciesAny/dependenciesFloor.generated.js +4 -0
- package/src/entry/dependenciesAny/dependenciesHex.generated.js +11 -0
- package/src/entry/dependenciesAny/dependenciesLsolveAll.generated.js +23 -0
- package/src/entry/dependenciesAny/dependenciesOct.generated.js +11 -0
- package/src/entry/dependenciesAny/dependenciesRotationMatrix.generated.js +31 -0
- package/src/entry/dependenciesAny/dependenciesUsolveAll.generated.js +23 -0
- package/src/entry/dependenciesAny.generated.js +6 -0
- package/src/entry/impureFunctionsAny.generated.js +104 -92
- package/src/entry/pureFunctionsAny.generated.js +94 -82
- package/src/expression/embeddedDocs/embeddedDocs.js +12 -0
- package/src/expression/embeddedDocs/function/algebra/lsolve.js +2 -2
- package/src/expression/embeddedDocs/function/algebra/lsolveAll.js +17 -0
- package/src/expression/embeddedDocs/function/algebra/usolve.js +2 -2
- package/src/expression/embeddedDocs/function/algebra/usolveAll.js +15 -0
- package/src/expression/embeddedDocs/function/matrix/rotationMatrix.js +19 -0
- package/src/expression/embeddedDocs/function/utils/bin.js +12 -0
- package/src/expression/embeddedDocs/function/utils/hex.js +12 -0
- package/src/expression/embeddedDocs/function/utils/oct.js +12 -0
- package/src/expression/parse.js +25 -0
- package/src/factoriesAny.js +6 -0
- package/src/function/algebra/solver/lsolve.js +52 -58
- package/src/function/algebra/solver/lsolveAll.js +197 -0
- package/src/function/algebra/solver/lusolve.js +9 -19
- package/src/function/algebra/solver/usolve.js +52 -55
- package/src/function/algebra/solver/usolveAll.js +199 -0
- package/src/function/algebra/solver/utils/solveValidation.js +78 -86
- package/src/function/arithmetic/ceil.js +63 -3
- package/src/function/arithmetic/fix.js +45 -6
- package/src/function/arithmetic/floor.js +65 -5
- package/src/function/arithmetic/mod.js +8 -1
- package/src/function/arithmetic/round.js +6 -2
- package/src/function/matrix/rotationMatrix.js +185 -0
- package/src/function/matrix/sqrtm.js +4 -0
- package/src/function/probability/pickRandom.js +2 -6
- package/src/function/statistics/variance.js +4 -4
- package/src/function/string/baseUtils.js +29 -0
- package/src/function/string/bin.js +23 -0
- package/src/function/string/hex.js +23 -0
- package/src/function/string/oct.js +24 -0
- package/src/type/bignumber/BigNumber.js +2 -1
- package/src/type/number.js +9 -1
- package/src/utils/object.js +3 -1
- package/src/version.js +1 -1
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
createParse,
|
|
27
27
|
createEvaluate,
|
|
28
28
|
createHelpClass,
|
|
29
|
-
createCompile,
|
|
30
29
|
createSimplify,
|
|
31
30
|
createRationalize,
|
|
32
|
-
|
|
31
|
+
createCompile,
|
|
33
32
|
createHelp,
|
|
34
|
-
|
|
33
|
+
createParserClass,
|
|
35
34
|
createDerivative,
|
|
35
|
+
createParser,
|
|
36
36
|
createApplyTransform,
|
|
37
37
|
createFilterTransform,
|
|
38
38
|
createMapTransform,
|
|
@@ -106,6 +106,8 @@ import {
|
|
|
106
106
|
map,
|
|
107
107
|
erf,
|
|
108
108
|
format,
|
|
109
|
+
oct,
|
|
110
|
+
print,
|
|
109
111
|
isPrime,
|
|
110
112
|
acos,
|
|
111
113
|
acot,
|
|
@@ -137,7 +139,7 @@ import {
|
|
|
137
139
|
conj,
|
|
138
140
|
getMatrixDataType,
|
|
139
141
|
mode,
|
|
140
|
-
|
|
142
|
+
bin,
|
|
141
143
|
acosh,
|
|
142
144
|
acsch,
|
|
143
145
|
asinh,
|
|
@@ -166,7 +168,7 @@ import {
|
|
|
166
168
|
size,
|
|
167
169
|
subset,
|
|
168
170
|
zeros,
|
|
169
|
-
|
|
171
|
+
hex,
|
|
170
172
|
round,
|
|
171
173
|
leftShift,
|
|
172
174
|
rightLogShift,
|
|
@@ -193,6 +195,7 @@ import {
|
|
|
193
195
|
flatten,
|
|
194
196
|
resize,
|
|
195
197
|
squeeze,
|
|
198
|
+
to,
|
|
196
199
|
pow,
|
|
197
200
|
dotPow,
|
|
198
201
|
rightArithShift,
|
|
@@ -231,31 +234,49 @@ import {
|
|
|
231
234
|
subtract,
|
|
232
235
|
cross,
|
|
233
236
|
range,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
nthRoots,
|
|
237
|
-
lsolve,
|
|
237
|
+
row,
|
|
238
|
+
prod,
|
|
238
239
|
equal,
|
|
239
240
|
max,
|
|
240
241
|
setCartesian,
|
|
241
242
|
setSymDifference,
|
|
242
|
-
|
|
243
|
-
|
|
243
|
+
fix,
|
|
244
|
+
column,
|
|
245
|
+
ctranspose,
|
|
246
|
+
deepEqual,
|
|
247
|
+
setIsSubset,
|
|
248
|
+
xor,
|
|
249
|
+
divideScalar,
|
|
250
|
+
nthRoots,
|
|
251
|
+
lsolve,
|
|
252
|
+
lsolveAll,
|
|
253
|
+
Spa,
|
|
254
|
+
setUnion,
|
|
255
|
+
lup,
|
|
256
|
+
slu,
|
|
257
|
+
det,
|
|
244
258
|
distance,
|
|
245
259
|
stirlingS2,
|
|
246
260
|
catalan,
|
|
247
|
-
|
|
248
|
-
column,
|
|
249
|
-
row,
|
|
261
|
+
diff,
|
|
250
262
|
log,
|
|
251
263
|
dotDivide,
|
|
252
|
-
|
|
264
|
+
usolveAll,
|
|
265
|
+
hypot,
|
|
266
|
+
qr,
|
|
267
|
+
inv,
|
|
268
|
+
expm,
|
|
269
|
+
divide,
|
|
270
|
+
mean,
|
|
271
|
+
variance,
|
|
272
|
+
kldivergence,
|
|
273
|
+
bellNumbers,
|
|
274
|
+
log1p,
|
|
253
275
|
Unit,
|
|
254
276
|
createUnit,
|
|
255
|
-
|
|
256
|
-
slu,
|
|
277
|
+
eigs,
|
|
257
278
|
intersect,
|
|
258
|
-
|
|
279
|
+
std,
|
|
259
280
|
atomicMass,
|
|
260
281
|
bohrMagneton,
|
|
261
282
|
boltzmann,
|
|
@@ -279,10 +300,11 @@ import {
|
|
|
279
300
|
secondRadiation,
|
|
280
301
|
stefanBoltzmann,
|
|
281
302
|
vacuumImpedance,
|
|
282
|
-
xor,
|
|
283
|
-
prod,
|
|
284
303
|
usolve,
|
|
285
|
-
|
|
304
|
+
norm,
|
|
305
|
+
lusolve,
|
|
306
|
+
sqrtm,
|
|
307
|
+
multinomial,
|
|
286
308
|
avogadro,
|
|
287
309
|
classicalElectronRadius,
|
|
288
310
|
electricConstant,
|
|
@@ -295,37 +317,21 @@ import {
|
|
|
295
317
|
quantumOfCirculation,
|
|
296
318
|
speedOfLight,
|
|
297
319
|
wienDisplacement,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
lup,
|
|
301
|
-
det,
|
|
320
|
+
rotationMatrix,
|
|
321
|
+
median,
|
|
302
322
|
bohrRadius,
|
|
303
323
|
elementaryCharge,
|
|
304
324
|
inverseConductanceQuantum,
|
|
305
325
|
molarVolume,
|
|
306
326
|
planckTime,
|
|
307
327
|
thomsonCrossSection,
|
|
308
|
-
|
|
309
|
-
lusolve,
|
|
310
|
-
inv,
|
|
311
|
-
expm,
|
|
312
|
-
divide,
|
|
313
|
-
median,
|
|
314
|
-
variance,
|
|
315
|
-
kldivergence,
|
|
316
|
-
gasConstant,
|
|
317
|
-
planckConstant,
|
|
318
|
-
setIsSubset,
|
|
319
|
-
sqrtm,
|
|
328
|
+
unit,
|
|
320
329
|
mad,
|
|
321
|
-
multinomial,
|
|
322
330
|
coulomb,
|
|
323
|
-
rydberg,
|
|
324
|
-
mean,
|
|
325
|
-
eigs,
|
|
326
331
|
magneticFluxQuantum,
|
|
327
|
-
|
|
328
|
-
|
|
332
|
+
rydberg,
|
|
333
|
+
planckConstant,
|
|
334
|
+
gasConstant
|
|
329
335
|
} from './pureFunctionsAny.generated'
|
|
330
336
|
|
|
331
337
|
const math = {} // NOT pure!
|
|
@@ -354,13 +360,13 @@ export const FunctionNode = createFunctionNode({ Node, SymbolNode, math })
|
|
|
354
360
|
export const parse = createParse({ AccessorNode, ArrayNode, AssignmentNode, BlockNode, ConditionalNode, ConstantNode, FunctionAssignmentNode, FunctionNode, IndexNode, ObjectNode, OperatorNode, ParenthesisNode, RangeNode, RelationalNode, SymbolNode, config, numeric, typed })
|
|
355
361
|
export const evaluate = createEvaluate({ parse, typed })
|
|
356
362
|
export const Help = createHelpClass({ parse })
|
|
357
|
-
export const compile = createCompile({ parse, typed })
|
|
358
363
|
export const simplify = createSimplify({ bignumber, fraction, ConstantNode, FunctionNode, OperatorNode, ParenthesisNode, SymbolNode, add, config, divide, equal, isZero, mathWithTransform, multiply, parse, pow, subtract, typed })
|
|
359
364
|
export const rationalize = createRationalize({ bignumber, fraction, ConstantNode, FunctionNode, OperatorNode, ParenthesisNode, SymbolNode, add, config, divide, equal, isZero, mathWithTransform, multiply, parse, pow, simplify, subtract, typed })
|
|
360
|
-
export const
|
|
365
|
+
export const compile = createCompile({ parse, typed })
|
|
361
366
|
export const help = createHelp({ Help, mathWithTransform, typed })
|
|
362
|
-
export const
|
|
367
|
+
export const Parser = createParserClass({ parse })
|
|
363
368
|
export const derivative = createDerivative({ ConstantNode, FunctionNode, OperatorNode, ParenthesisNode, SymbolNode, config, equal, isZero, numeric, parse, simplify, typed })
|
|
369
|
+
export const parser = createParser({ Parser, typed })
|
|
364
370
|
|
|
365
371
|
Object.assign(math, {
|
|
366
372
|
reviver,
|
|
@@ -413,6 +419,8 @@ Object.assign(math, {
|
|
|
413
419
|
map,
|
|
414
420
|
erf,
|
|
415
421
|
format,
|
|
422
|
+
oct,
|
|
423
|
+
print,
|
|
416
424
|
isPrime,
|
|
417
425
|
acos,
|
|
418
426
|
acot,
|
|
@@ -445,7 +453,7 @@ Object.assign(math, {
|
|
|
445
453
|
conj,
|
|
446
454
|
getMatrixDataType,
|
|
447
455
|
mode,
|
|
448
|
-
|
|
456
|
+
bin,
|
|
449
457
|
acosh,
|
|
450
458
|
acsch,
|
|
451
459
|
asinh,
|
|
@@ -473,7 +481,7 @@ Object.assign(math, {
|
|
|
473
481
|
size,
|
|
474
482
|
subset,
|
|
475
483
|
zeros,
|
|
476
|
-
|
|
484
|
+
hex,
|
|
477
485
|
round,
|
|
478
486
|
leftShift,
|
|
479
487
|
rightLogShift,
|
|
@@ -498,6 +506,7 @@ Object.assign(math, {
|
|
|
498
506
|
flatten,
|
|
499
507
|
resize,
|
|
500
508
|
squeeze,
|
|
509
|
+
to,
|
|
501
510
|
pow,
|
|
502
511
|
dotPow,
|
|
503
512
|
rightArithShift,
|
|
@@ -535,30 +544,47 @@ Object.assign(math, {
|
|
|
535
544
|
subtract,
|
|
536
545
|
cross,
|
|
537
546
|
range,
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
nthRoots,
|
|
541
|
-
lsolve,
|
|
547
|
+
row,
|
|
548
|
+
prod,
|
|
542
549
|
equal,
|
|
543
550
|
max,
|
|
544
551
|
setCartesian,
|
|
545
552
|
setSymDifference,
|
|
546
|
-
|
|
547
|
-
|
|
553
|
+
fix,
|
|
554
|
+
column,
|
|
555
|
+
ctranspose,
|
|
556
|
+
deepEqual,
|
|
557
|
+
setIsSubset,
|
|
558
|
+
xor,
|
|
559
|
+
divideScalar,
|
|
560
|
+
nthRoots,
|
|
561
|
+
lsolve,
|
|
562
|
+
lsolveAll,
|
|
563
|
+
setUnion,
|
|
564
|
+
lup,
|
|
565
|
+
slu,
|
|
566
|
+
det,
|
|
548
567
|
distance,
|
|
549
568
|
stirlingS2,
|
|
550
569
|
catalan,
|
|
551
|
-
|
|
552
|
-
column,
|
|
553
|
-
row,
|
|
570
|
+
diff,
|
|
554
571
|
log,
|
|
555
572
|
dotDivide,
|
|
556
|
-
|
|
573
|
+
usolveAll,
|
|
574
|
+
hypot,
|
|
575
|
+
qr,
|
|
576
|
+
inv,
|
|
577
|
+
expm,
|
|
578
|
+
divide,
|
|
579
|
+
mean,
|
|
580
|
+
variance,
|
|
581
|
+
kldivergence,
|
|
582
|
+
bellNumbers,
|
|
583
|
+
log1p,
|
|
557
584
|
createUnit,
|
|
558
|
-
|
|
559
|
-
slu,
|
|
585
|
+
eigs,
|
|
560
586
|
intersect,
|
|
561
|
-
|
|
587
|
+
std,
|
|
562
588
|
atomicMass,
|
|
563
589
|
bohrMagneton,
|
|
564
590
|
boltzmann,
|
|
@@ -582,10 +608,11 @@ Object.assign(math, {
|
|
|
582
608
|
secondRadiation,
|
|
583
609
|
stefanBoltzmann,
|
|
584
610
|
vacuumImpedance,
|
|
585
|
-
xor,
|
|
586
|
-
prod,
|
|
587
611
|
usolve,
|
|
588
|
-
|
|
612
|
+
norm,
|
|
613
|
+
lusolve,
|
|
614
|
+
sqrtm,
|
|
615
|
+
multinomial,
|
|
589
616
|
avogadro,
|
|
590
617
|
classicalElectronRadius,
|
|
591
618
|
electricConstant,
|
|
@@ -598,44 +625,29 @@ Object.assign(math, {
|
|
|
598
625
|
quantumOfCirculation,
|
|
599
626
|
speedOfLight,
|
|
600
627
|
wienDisplacement,
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
evaluate,
|
|
604
|
-
lup,
|
|
605
|
-
det,
|
|
628
|
+
rotationMatrix,
|
|
629
|
+
median,
|
|
606
630
|
bohrRadius,
|
|
607
631
|
elementaryCharge,
|
|
608
632
|
inverseConductanceQuantum,
|
|
609
633
|
molarVolume,
|
|
610
634
|
planckTime,
|
|
611
635
|
thomsonCrossSection,
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
variance,
|
|
620
|
-
kldivergence,
|
|
636
|
+
unit,
|
|
637
|
+
mad,
|
|
638
|
+
coulomb,
|
|
639
|
+
magneticFluxQuantum,
|
|
640
|
+
rydberg,
|
|
641
|
+
parse,
|
|
642
|
+
evaluate,
|
|
621
643
|
simplify,
|
|
622
644
|
rationalize,
|
|
623
|
-
gasConstant,
|
|
624
645
|
planckConstant,
|
|
625
|
-
|
|
646
|
+
compile,
|
|
626
647
|
help,
|
|
627
|
-
|
|
628
|
-
mad,
|
|
629
|
-
multinomial,
|
|
630
|
-
coulomb,
|
|
631
|
-
rydberg,
|
|
632
|
-
parser,
|
|
633
|
-
mean,
|
|
648
|
+
gasConstant,
|
|
634
649
|
derivative,
|
|
635
|
-
|
|
636
|
-
magneticFluxQuantum,
|
|
637
|
-
norm,
|
|
638
|
-
std,
|
|
650
|
+
parser,
|
|
639
651
|
config
|
|
640
652
|
})
|
|
641
653
|
|
|
@@ -686,10 +698,10 @@ Object.assign(classes, {
|
|
|
686
698
|
IndexNode,
|
|
687
699
|
Index,
|
|
688
700
|
AssignmentNode,
|
|
701
|
+
Spa,
|
|
689
702
|
Unit,
|
|
690
703
|
SymbolNode,
|
|
691
704
|
FunctionNode,
|
|
692
|
-
Spa,
|
|
693
705
|
Help,
|
|
694
706
|
Parser
|
|
695
707
|
})
|
|
@@ -58,6 +58,8 @@ import {
|
|
|
58
58
|
createMap,
|
|
59
59
|
createErf,
|
|
60
60
|
createFormat,
|
|
61
|
+
createOct,
|
|
62
|
+
createPrint,
|
|
61
63
|
createIsPrime,
|
|
62
64
|
createAcos,
|
|
63
65
|
createAcot,
|
|
@@ -89,7 +91,7 @@ import {
|
|
|
89
91
|
createConj,
|
|
90
92
|
createGetMatrixDataType,
|
|
91
93
|
createMode,
|
|
92
|
-
|
|
94
|
+
createBin,
|
|
93
95
|
createAcosh,
|
|
94
96
|
createAcsch,
|
|
95
97
|
createAsinh,
|
|
@@ -118,7 +120,7 @@ import {
|
|
|
118
120
|
createSize,
|
|
119
121
|
createSubset,
|
|
120
122
|
createZeros,
|
|
121
|
-
|
|
123
|
+
createHex,
|
|
122
124
|
createRound,
|
|
123
125
|
createLeftShift,
|
|
124
126
|
createRightLogShift,
|
|
@@ -145,6 +147,7 @@ import {
|
|
|
145
147
|
createFlatten,
|
|
146
148
|
createResize,
|
|
147
149
|
createSqueeze,
|
|
150
|
+
createTo,
|
|
148
151
|
createPow,
|
|
149
152
|
createDotPow,
|
|
150
153
|
createRightArithShift,
|
|
@@ -183,31 +186,49 @@ import {
|
|
|
183
186
|
createSubtract,
|
|
184
187
|
createCross,
|
|
185
188
|
createRange,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
createNthRoots,
|
|
189
|
-
createLsolve,
|
|
189
|
+
createRow,
|
|
190
|
+
createProd,
|
|
190
191
|
createEqual,
|
|
191
192
|
createMax,
|
|
192
193
|
createSetCartesian,
|
|
193
194
|
createSetSymDifference,
|
|
194
|
-
|
|
195
|
-
|
|
195
|
+
createFix,
|
|
196
|
+
createColumn,
|
|
197
|
+
createCtranspose,
|
|
198
|
+
createDeepEqual,
|
|
199
|
+
createSetIsSubset,
|
|
200
|
+
createXor,
|
|
201
|
+
createDivideScalar,
|
|
202
|
+
createNthRoots,
|
|
203
|
+
createLsolve,
|
|
204
|
+
createLsolveAll,
|
|
205
|
+
createSpaClass,
|
|
206
|
+
createSetUnion,
|
|
207
|
+
createLup,
|
|
208
|
+
createSlu,
|
|
209
|
+
createDet,
|
|
196
210
|
createDistance,
|
|
197
211
|
createStirlingS2,
|
|
198
212
|
createCatalan,
|
|
199
|
-
|
|
200
|
-
createColumn,
|
|
201
|
-
createRow,
|
|
213
|
+
createDiff,
|
|
202
214
|
createLog,
|
|
203
215
|
createDotDivide,
|
|
204
|
-
|
|
216
|
+
createUsolveAll,
|
|
217
|
+
createHypot,
|
|
218
|
+
createQr,
|
|
219
|
+
createInv,
|
|
220
|
+
createExpm,
|
|
221
|
+
createDivide,
|
|
222
|
+
createMean,
|
|
223
|
+
createVariance,
|
|
224
|
+
createKldivergence,
|
|
225
|
+
createBellNumbers,
|
|
226
|
+
createLog1p,
|
|
205
227
|
createUnitClass,
|
|
206
228
|
createCreateUnit,
|
|
207
|
-
|
|
208
|
-
createSlu,
|
|
229
|
+
createEigs,
|
|
209
230
|
createIntersect,
|
|
210
|
-
|
|
231
|
+
createStd,
|
|
211
232
|
createAtomicMass,
|
|
212
233
|
createBohrMagneton,
|
|
213
234
|
createBoltzmann,
|
|
@@ -231,10 +252,11 @@ import {
|
|
|
231
252
|
createSecondRadiation,
|
|
232
253
|
createStefanBoltzmann,
|
|
233
254
|
createVacuumImpedance,
|
|
234
|
-
createXor,
|
|
235
|
-
createProd,
|
|
236
255
|
createUsolve,
|
|
237
|
-
|
|
256
|
+
createNorm,
|
|
257
|
+
createLusolve,
|
|
258
|
+
createSqrtm,
|
|
259
|
+
createMultinomial,
|
|
238
260
|
createAvogadro,
|
|
239
261
|
createClassicalElectronRadius,
|
|
240
262
|
createElectricConstant,
|
|
@@ -247,37 +269,21 @@ import {
|
|
|
247
269
|
createQuantumOfCirculation,
|
|
248
270
|
createSpeedOfLight,
|
|
249
271
|
createWienDisplacement,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
createLup,
|
|
253
|
-
createDet,
|
|
272
|
+
createRotationMatrix,
|
|
273
|
+
createMedian,
|
|
254
274
|
createBohrRadius,
|
|
255
275
|
createElementaryCharge,
|
|
256
276
|
createInverseConductanceQuantum,
|
|
257
277
|
createMolarVolume,
|
|
258
278
|
createPlanckTime,
|
|
259
279
|
createThomsonCrossSection,
|
|
260
|
-
|
|
261
|
-
createLusolve,
|
|
262
|
-
createInv,
|
|
263
|
-
createExpm,
|
|
264
|
-
createDivide,
|
|
265
|
-
createMedian,
|
|
266
|
-
createVariance,
|
|
267
|
-
createKldivergence,
|
|
268
|
-
createGasConstant,
|
|
269
|
-
createPlanckConstant,
|
|
270
|
-
createSetIsSubset,
|
|
271
|
-
createSqrtm,
|
|
280
|
+
createUnitFunction,
|
|
272
281
|
createMad,
|
|
273
|
-
createMultinomial,
|
|
274
282
|
createCoulomb,
|
|
275
|
-
createRydberg,
|
|
276
|
-
createMean,
|
|
277
|
-
createEigs,
|
|
278
283
|
createMagneticFluxQuantum,
|
|
279
|
-
|
|
280
|
-
|
|
284
|
+
createRydberg,
|
|
285
|
+
createPlanckConstant,
|
|
286
|
+
createGasConstant
|
|
281
287
|
} from '../factoriesAny'
|
|
282
288
|
|
|
283
289
|
export const ResultSet = /* #__PURE__ */ createResultSet({})
|
|
@@ -334,6 +340,8 @@ export const forEach = /* #__PURE__ */ createForEach({ typed })
|
|
|
334
340
|
export const map = /* #__PURE__ */ createMap({ typed })
|
|
335
341
|
export const erf = /* #__PURE__ */ createErf({ typed })
|
|
336
342
|
export const format = /* #__PURE__ */ createFormat({ typed })
|
|
343
|
+
export const oct = /* #__PURE__ */ createOct({ typed })
|
|
344
|
+
export const print = /* #__PURE__ */ createPrint({ typed })
|
|
337
345
|
export const isPrime = /* #__PURE__ */ createIsPrime({ typed })
|
|
338
346
|
export const acos = /* #__PURE__ */ createAcos({ Complex, config, typed })
|
|
339
347
|
export const acot = /* #__PURE__ */ createAcot({ BigNumber, typed })
|
|
@@ -365,7 +373,7 @@ export const sqrt = /* #__PURE__ */ createSqrt({ Complex, config, typed })
|
|
|
365
373
|
export const conj = /* #__PURE__ */ createConj({ typed })
|
|
366
374
|
export const getMatrixDataType = /* #__PURE__ */ createGetMatrixDataType({ typed })
|
|
367
375
|
export const mode = /* #__PURE__ */ createMode({ isNaN, isNumeric, typed })
|
|
368
|
-
export const
|
|
376
|
+
export const bin = /* #__PURE__ */ createBin({ typed })
|
|
369
377
|
export const acosh = /* #__PURE__ */ createAcosh({ Complex, config, typed })
|
|
370
378
|
export const acsch = /* #__PURE__ */ createAcsch({ BigNumber, typed })
|
|
371
379
|
export const asinh = /* #__PURE__ */ createAsinh({ typed })
|
|
@@ -394,7 +402,7 @@ export const reshape = /* #__PURE__ */ createReshape({ isInteger, matrix, typed
|
|
|
394
402
|
export const size = /* #__PURE__ */ createSize({ matrix, config, typed })
|
|
395
403
|
export const subset = /* #__PURE__ */ createSubset({ matrix, typed })
|
|
396
404
|
export const zeros = /* #__PURE__ */ createZeros({ BigNumber, config, matrix, typed })
|
|
397
|
-
export const
|
|
405
|
+
export const hex = /* #__PURE__ */ createHex({ typed })
|
|
398
406
|
export const round = /* #__PURE__ */ createRound({ BigNumber, DenseMatrix, equalScalar, matrix, typed, zeros })
|
|
399
407
|
export const leftShift = /* #__PURE__ */ createLeftShift({ DenseMatrix, equalScalar, matrix, typed, zeros })
|
|
400
408
|
export const rightLogShift = /* #__PURE__ */ createRightLogShift({ DenseMatrix, equalScalar, matrix, typed, zeros })
|
|
@@ -414,13 +422,14 @@ export const dot = /* #__PURE__ */ createDot({ addScalar, conj, multiplyScalar,
|
|
|
414
422
|
export const composition = /* #__PURE__ */ createComposition({ addScalar, combinations, isInteger, isNegative, isPositive, larger, typed })
|
|
415
423
|
export const isZero = /* #__PURE__ */ createIsZero({ typed })
|
|
416
424
|
export const abs = /* #__PURE__ */ createAbs({ typed })
|
|
417
|
-
export const floor = /* #__PURE__ */ createFloor({ config, round, typed })
|
|
425
|
+
export const floor = /* #__PURE__ */ createFloor({ config, equalScalar, matrix, round, typed })
|
|
418
426
|
export const multiply = /* #__PURE__ */ createMultiply({ addScalar, dot, equalScalar, matrix, multiplyScalar, typed })
|
|
419
427
|
export const dotMultiply = /* #__PURE__ */ createDotMultiply({ equalScalar, matrix, multiplyScalar, typed })
|
|
420
428
|
export const re = /* #__PURE__ */ createRe({ typed })
|
|
421
429
|
export const flatten = /* #__PURE__ */ createFlatten({ matrix, typed })
|
|
422
430
|
export const resize = /* #__PURE__ */ createResize({ config, matrix })
|
|
423
431
|
export const squeeze = /* #__PURE__ */ createSqueeze({ matrix, typed })
|
|
432
|
+
export const to = /* #__PURE__ */ createTo({ matrix, typed })
|
|
424
433
|
export const pow = /* #__PURE__ */ createPow({ Complex, config, fraction, identity, matrix, multiply, number, typed })
|
|
425
434
|
export const dotPow = /* #__PURE__ */ createDotPow({ DenseMatrix, equalScalar, matrix, pow, typed })
|
|
426
435
|
export const rightArithShift = /* #__PURE__ */ createRightArithShift({ DenseMatrix, equalScalar, matrix, typed, zeros })
|
|
@@ -455,35 +464,53 @@ export const index = /* #__PURE__ */ createIndex({ Index, typed })
|
|
|
455
464
|
export const sum = /* #__PURE__ */ createSum({ add, config, numeric, typed })
|
|
456
465
|
export const factorial = /* #__PURE__ */ createFactorial({ gamma, typed })
|
|
457
466
|
export const permutations = /* #__PURE__ */ createPermutations({ factorial, typed })
|
|
458
|
-
export const ceil = /* #__PURE__ */ createCeil({ config, round, typed })
|
|
467
|
+
export const ceil = /* #__PURE__ */ createCeil({ config, equalScalar, matrix, round, typed })
|
|
459
468
|
export const subtract = /* #__PURE__ */ createSubtract({ DenseMatrix, addScalar, equalScalar, matrix, typed, unaryMinus })
|
|
460
469
|
export const cross = /* #__PURE__ */ createCross({ matrix, multiply, subtract, typed })
|
|
461
470
|
export const range = /* #__PURE__ */ createRange({ bignumber, matrix, config, larger, largerEq, smaller, smallerEq, typed })
|
|
462
|
-
export const
|
|
463
|
-
export const
|
|
464
|
-
export const nthRoots = /* #__PURE__ */ createNthRoots({ Complex, config, divideScalar, typed })
|
|
465
|
-
export const lsolve = /* #__PURE__ */ createLsolve({ DenseMatrix, divideScalar, equalScalar, matrix, multiplyScalar, subtract, typed })
|
|
471
|
+
export const row = /* #__PURE__ */ createRow({ Index, matrix, range, typed })
|
|
472
|
+
export const prod = /* #__PURE__ */ createProd({ config, multiplyScalar, numeric, typed })
|
|
466
473
|
export const equal = /* #__PURE__ */ createEqual({ DenseMatrix, equalScalar, matrix, typed })
|
|
467
474
|
export const max = /* #__PURE__ */ createMax({ config, larger, numeric, typed })
|
|
468
475
|
export const setCartesian = /* #__PURE__ */ createSetCartesian({ DenseMatrix, Index, compareNatural, size, subset, typed })
|
|
469
476
|
export const setSymDifference = /* #__PURE__ */ createSetSymDifference({ Index, concat, setDifference, size, subset, typed })
|
|
470
|
-
export const
|
|
471
|
-
export const
|
|
477
|
+
export const fix = /* #__PURE__ */ createFix({ Complex, ceil, floor, matrix, typed })
|
|
478
|
+
export const column = /* #__PURE__ */ createColumn({ Index, matrix, range, typed })
|
|
479
|
+
export const ctranspose = /* #__PURE__ */ createCtranspose({ conj, transpose, typed })
|
|
480
|
+
export const deepEqual = /* #__PURE__ */ createDeepEqual({ equal, typed })
|
|
481
|
+
export const setIsSubset = /* #__PURE__ */ createSetIsSubset({ Index, compareNatural, size, subset, typed })
|
|
482
|
+
export const xor = /* #__PURE__ */ createXor({ DenseMatrix, matrix, typed })
|
|
483
|
+
export const divideScalar = /* #__PURE__ */ createDivideScalar({ numeric, typed })
|
|
484
|
+
export const nthRoots = /* #__PURE__ */ createNthRoots({ Complex, config, divideScalar, typed })
|
|
485
|
+
export const lsolve = /* #__PURE__ */ createLsolve({ DenseMatrix, divideScalar, equalScalar, matrix, multiplyScalar, subtract, typed })
|
|
486
|
+
export const lsolveAll = /* #__PURE__ */ createLsolveAll({ DenseMatrix, divideScalar, equalScalar, matrix, multiplyScalar, subtract, typed })
|
|
487
|
+
export const Spa = /* #__PURE__ */ createSpaClass({ FibonacciHeap, addScalar, equalScalar })
|
|
488
|
+
export const setUnion = /* #__PURE__ */ createSetUnion({ Index, concat, setIntersect, setSymDifference, size, subset, typed })
|
|
489
|
+
export const lup = /* #__PURE__ */ createLup({ DenseMatrix, Spa, SparseMatrix, abs, addScalar, divideScalar, equalScalar, larger, matrix, multiplyScalar, subtract, typed, unaryMinus })
|
|
490
|
+
export const slu = /* #__PURE__ */ createSlu({ SparseMatrix, abs, add, divideScalar, larger, largerEq, multiply, subtract, transpose, typed })
|
|
491
|
+
export const det = /* #__PURE__ */ createDet({ lup, matrix, multiply, subtract, typed, unaryMinus })
|
|
472
492
|
export const distance = /* #__PURE__ */ createDistance({ abs, addScalar, divideScalar, multiplyScalar, sqrt, subtract, typed, unaryMinus })
|
|
473
493
|
export const stirlingS2 = /* #__PURE__ */ createStirlingS2({ addScalar, combinations, divideScalar, factorial, isInteger, isNegative, larger, multiplyScalar, pow, subtract, typed })
|
|
474
494
|
export const catalan = /* #__PURE__ */ createCatalan({ addScalar, combinations, divideScalar, isInteger, isNegative, multiplyScalar, typed })
|
|
475
|
-
export const
|
|
476
|
-
export const column = /* #__PURE__ */ createColumn({ Index, matrix, range, typed })
|
|
477
|
-
export const row = /* #__PURE__ */ createRow({ Index, matrix, range, typed })
|
|
495
|
+
export const diff = /* #__PURE__ */ createDiff({ matrix, number, subtract, typed })
|
|
478
496
|
export const log = /* #__PURE__ */ createLog({ Complex, config, divideScalar, typed })
|
|
479
497
|
export const dotDivide = /* #__PURE__ */ createDotDivide({ DenseMatrix, divideScalar, equalScalar, matrix, typed })
|
|
480
|
-
export const
|
|
498
|
+
export const usolveAll = /* #__PURE__ */ createUsolveAll({ DenseMatrix, divideScalar, equalScalar, matrix, multiplyScalar, subtract, typed })
|
|
499
|
+
export const hypot = /* #__PURE__ */ createHypot({ abs, addScalar, divideScalar, isPositive, multiplyScalar, smaller, sqrt, typed })
|
|
500
|
+
export const qr = /* #__PURE__ */ createQr({ addScalar, complex, conj, divideScalar, equal, identity, isZero, matrix, multiplyScalar, sign, sqrt, subtract, typed, unaryMinus, zeros })
|
|
501
|
+
export const inv = /* #__PURE__ */ createInv({ abs, addScalar, det, divideScalar, identity, matrix, multiply, typed, unaryMinus })
|
|
502
|
+
export const expm = /* #__PURE__ */ createExpm({ abs, add, identity, inv, multiply, typed })
|
|
503
|
+
export const divide = /* #__PURE__ */ createDivide({ divideScalar, equalScalar, inv, matrix, multiply, typed })
|
|
504
|
+
export const mean = /* #__PURE__ */ createMean({ add, divide, typed })
|
|
505
|
+
export const variance = /* #__PURE__ */ createVariance({ add, apply, divide, isNaN, multiply, subtract, typed })
|
|
506
|
+
export const kldivergence = /* #__PURE__ */ createKldivergence({ divide, dotDivide, isNumeric, log, matrix, multiply, sum, typed })
|
|
507
|
+
export const bellNumbers = /* #__PURE__ */ createBellNumbers({ addScalar, isInteger, isNegative, stirlingS2, typed })
|
|
508
|
+
export const log1p = /* #__PURE__ */ createLog1p({ Complex, config, divideScalar, log, typed })
|
|
481
509
|
export const Unit = /* #__PURE__ */ createUnitClass({ BigNumber, Complex, Fraction, abs, addScalar, config, divideScalar, equal, fix, format, isNumeric, multiplyScalar, number, pow, round, subtract })
|
|
482
510
|
export const createUnit = /* #__PURE__ */ createCreateUnit({ Unit, typed })
|
|
483
|
-
export const
|
|
484
|
-
export const slu = /* #__PURE__ */ createSlu({ SparseMatrix, abs, add, divideScalar, larger, largerEq, multiply, subtract, transpose, typed })
|
|
511
|
+
export const eigs = /* #__PURE__ */ createEigs({ abs, add, addScalar, atan, bignumber, config, cos, equal, inv, matrix, multiply, multiplyScalar, sin, subtract, typed })
|
|
485
512
|
export const intersect = /* #__PURE__ */ createIntersect({ abs, add, addScalar, config, divideScalar, equalScalar, matrix, multiply, multiplyScalar, smaller, subtract, typed })
|
|
486
|
-
export const
|
|
513
|
+
export const std = /* #__PURE__ */ createStd({ sqrt, typed, variance })
|
|
487
514
|
export const atomicMass = /* #__PURE__ */ createAtomicMass({ BigNumber, Unit, config })
|
|
488
515
|
export const bohrMagneton = /* #__PURE__ */ createBohrMagneton({ BigNumber, Unit, config })
|
|
489
516
|
export const boltzmann = /* #__PURE__ */ createBoltzmann({ BigNumber, Unit, config })
|
|
@@ -507,10 +534,11 @@ export const reducedPlanckConstant = /* #__PURE__ */ createReducedPlanckConstant
|
|
|
507
534
|
export const secondRadiation = /* #__PURE__ */ createSecondRadiation({ BigNumber, Unit, config })
|
|
508
535
|
export const stefanBoltzmann = /* #__PURE__ */ createStefanBoltzmann({ BigNumber, Unit, config })
|
|
509
536
|
export const vacuumImpedance = /* #__PURE__ */ createVacuumImpedance({ BigNumber, Unit, config })
|
|
510
|
-
export const xor = /* #__PURE__ */ createXor({ DenseMatrix, matrix, typed })
|
|
511
|
-
export const prod = /* #__PURE__ */ createProd({ config, multiplyScalar, numeric, typed })
|
|
512
537
|
export const usolve = /* #__PURE__ */ createUsolve({ DenseMatrix, divideScalar, equalScalar, matrix, multiplyScalar, subtract, typed })
|
|
513
|
-
export const
|
|
538
|
+
export const norm = /* #__PURE__ */ createNorm({ abs, add, conj, ctranspose, eigs, equalScalar, larger, matrix, multiply, pow, smaller, sqrt, typed })
|
|
539
|
+
export const lusolve = /* #__PURE__ */ createLusolve({ DenseMatrix, lsolve, lup, matrix, slu, typed, usolve })
|
|
540
|
+
export const sqrtm = /* #__PURE__ */ createSqrtm({ abs, add, identity, inv, max, multiply, size, sqrt, subtract, typed })
|
|
541
|
+
export const multinomial = /* #__PURE__ */ createMultinomial({ add, divide, factorial, isInteger, isPositive, multiply, typed })
|
|
514
542
|
export const avogadro = /* #__PURE__ */ createAvogadro({ BigNumber, Unit, config })
|
|
515
543
|
export const classicalElectronRadius = /* #__PURE__ */ createClassicalElectronRadius({ BigNumber, Unit, config })
|
|
516
544
|
export const electricConstant = /* #__PURE__ */ createElectricConstant({ BigNumber, Unit, config })
|
|
@@ -523,34 +551,18 @@ export const planckMass = /* #__PURE__ */ createPlanckMass({ BigNumber, Unit, co
|
|
|
523
551
|
export const quantumOfCirculation = /* #__PURE__ */ createQuantumOfCirculation({ BigNumber, Unit, config })
|
|
524
552
|
export const speedOfLight = /* #__PURE__ */ createSpeedOfLight({ BigNumber, Unit, config })
|
|
525
553
|
export const wienDisplacement = /* #__PURE__ */ createWienDisplacement({ BigNumber, Unit, config })
|
|
526
|
-
export const
|
|
527
|
-
export const
|
|
528
|
-
export const lup = /* #__PURE__ */ createLup({ DenseMatrix, Spa, SparseMatrix, abs, addScalar, divideScalar, equalScalar, larger, matrix, multiplyScalar, subtract, typed, unaryMinus })
|
|
529
|
-
export const det = /* #__PURE__ */ createDet({ lup, matrix, multiply, subtract, typed, unaryMinus })
|
|
554
|
+
export const rotationMatrix = /* #__PURE__ */ createRotationMatrix({ BigNumber, DenseMatrix, SparseMatrix, addScalar, config, cos, matrix, multiplyScalar, norm, sin, typed, unaryMinus })
|
|
555
|
+
export const median = /* #__PURE__ */ createMedian({ add, compare, divide, partitionSelect, typed })
|
|
530
556
|
export const bohrRadius = /* #__PURE__ */ createBohrRadius({ BigNumber, Unit, config })
|
|
531
557
|
export const elementaryCharge = /* #__PURE__ */ createElementaryCharge({ BigNumber, Unit, config })
|
|
532
558
|
export const inverseConductanceQuantum = /* #__PURE__ */ createInverseConductanceQuantum({ BigNumber, Unit, config })
|
|
533
559
|
export const molarVolume = /* #__PURE__ */ createMolarVolume({ BigNumber, Unit, config })
|
|
534
560
|
export const planckTime = /* #__PURE__ */ createPlanckTime({ BigNumber, Unit, config })
|
|
535
561
|
export const thomsonCrossSection = /* #__PURE__ */ createThomsonCrossSection({ BigNumber, Unit, config })
|
|
536
|
-
export const
|
|
537
|
-
export const lusolve = /* #__PURE__ */ createLusolve({ DenseMatrix, lsolve, lup, matrix, slu, typed, usolve })
|
|
538
|
-
export const inv = /* #__PURE__ */ createInv({ abs, addScalar, det, divideScalar, identity, matrix, multiply, typed, unaryMinus })
|
|
539
|
-
export const expm = /* #__PURE__ */ createExpm({ abs, add, identity, inv, multiply, typed })
|
|
540
|
-
export const divide = /* #__PURE__ */ createDivide({ divideScalar, equalScalar, inv, matrix, multiply, typed })
|
|
541
|
-
export const median = /* #__PURE__ */ createMedian({ add, compare, divide, partitionSelect, typed })
|
|
542
|
-
export const variance = /* #__PURE__ */ createVariance({ add, apply, divide, isNaN, multiply, subtract, typed })
|
|
543
|
-
export const kldivergence = /* #__PURE__ */ createKldivergence({ divide, dotDivide, isNumeric, log, matrix, multiply, sum, typed })
|
|
544
|
-
export const gasConstant = /* #__PURE__ */ createGasConstant({ BigNumber, Unit, config })
|
|
545
|
-
export const planckConstant = /* #__PURE__ */ createPlanckConstant({ BigNumber, Unit, config })
|
|
546
|
-
export const setIsSubset = /* #__PURE__ */ createSetIsSubset({ Index, compareNatural, size, subset, typed })
|
|
547
|
-
export const sqrtm = /* #__PURE__ */ createSqrtm({ abs, add, identity, inv, max, multiply, size, sqrt, subtract, typed })
|
|
562
|
+
export const unit = /* #__PURE__ */ createUnitFunction({ Unit, typed })
|
|
548
563
|
export const mad = /* #__PURE__ */ createMad({ abs, map, median, subtract, typed })
|
|
549
|
-
export const multinomial = /* #__PURE__ */ createMultinomial({ add, divide, factorial, isInteger, isPositive, multiply, typed })
|
|
550
564
|
export const coulomb = /* #__PURE__ */ createCoulomb({ BigNumber, Unit, config })
|
|
551
|
-
export const rydberg = /* #__PURE__ */ createRydberg({ BigNumber, Unit, config })
|
|
552
|
-
export const mean = /* #__PURE__ */ createMean({ add, divide, typed })
|
|
553
|
-
export const eigs = /* #__PURE__ */ createEigs({ abs, add, addScalar, atan, bignumber, config, cos, equal, inv, matrix, multiply, multiplyScalar, sin, subtract, typed })
|
|
554
565
|
export const magneticFluxQuantum = /* #__PURE__ */ createMagneticFluxQuantum({ BigNumber, Unit, config })
|
|
555
|
-
export const
|
|
556
|
-
export const
|
|
566
|
+
export const rydberg = /* #__PURE__ */ createRydberg({ BigNumber, Unit, config })
|
|
567
|
+
export const planckConstant = /* #__PURE__ */ createPlanckConstant({ BigNumber, Unit, config })
|
|
568
|
+
export const gasConstant = /* #__PURE__ */ createGasConstant({ BigNumber, Unit, config })
|