mathjs 9.5.2 → 10.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/HISTORY.md +15 -1
- package/lib/browser/math.js +4 -4
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/constants.js +1 -1
- package/lib/cjs/core/function/config.js +1 -1
- package/lib/cjs/core/function/import.js +2 -1
- package/lib/cjs/entry/dependenciesAny.generated.js +999 -999
- package/lib/cjs/entry/dependenciesNumber.generated.js +581 -581
- package/lib/cjs/entry/impureFunctionsAny.generated.js +314 -313
- package/lib/cjs/entry/impureFunctionsNumber.generated.js +223 -222
- package/lib/cjs/entry/mainAny.js +8 -8
- package/lib/cjs/entry/mainNumber.js +8 -8
- package/lib/cjs/entry/pureFunctionsAny.generated.js +1100 -1100
- package/lib/cjs/entry/pureFunctionsNumber.generated.js +375 -375
- package/lib/cjs/entry/typeChecks.js +12 -12
- package/lib/cjs/expression/operators.js +1 -1
- package/lib/cjs/factoriesAny.js +660 -660
- package/lib/cjs/factoriesNumber.js +268 -237
- package/lib/cjs/header.js +1 -1
- package/lib/cjs/plain/bignumber/arithmetic.js +2 -2
- package/lib/cjs/plain/number/arithmetic.js +10 -10
- package/lib/cjs/plain/number/constants.js +1 -1
- package/lib/cjs/plain/number/logical.js +1 -1
- package/lib/cjs/plain/number/probability.js +2 -1
- package/lib/cjs/plain/number/trigonometry.js +1 -1
- package/lib/cjs/plain/number/utils.js +1 -1
- package/lib/cjs/type/unit/physicalConstants.js +1 -1
- package/lib/cjs/utils/array.js +14 -14
- package/lib/cjs/utils/bignumber/bitwise.js +1 -1
- package/lib/cjs/utils/customs.js +5 -5
- package/lib/cjs/utils/factory.js +3 -3
- package/lib/cjs/utils/function.js +1 -1
- package/lib/cjs/utils/is.js +23 -23
- package/lib/cjs/utils/latex.js +2 -1
- package/lib/cjs/utils/map.js +3 -3
- package/lib/cjs/utils/noop.js +1 -1
- package/lib/cjs/utils/number.js +10 -6
- package/lib/cjs/utils/object.js +8 -8
- package/lib/cjs/utils/snapshot.js +1 -1
- package/lib/cjs/utils/string.js +2 -2
- package/lib/cjs/version.js +1 -1
- package/lib/esm/core/function/import.js +2 -1
- package/lib/esm/entry/dependenciesAny.generated.js +270 -270
- package/lib/esm/entry/dependenciesNumber.generated.js +163 -163
- package/lib/esm/entry/impureFunctionsAny.generated.js +301 -301
- package/lib/esm/entry/impureFunctionsNumber.generated.js +211 -211
- package/lib/esm/entry/pureFunctionsAny.generated.js +816 -816
- package/lib/esm/entry/pureFunctionsNumber.generated.js +234 -234
- package/lib/esm/version.js +1 -1
- package/package.json +16 -16
- package/types/index.d.ts +250 -71
@@ -5,29 +5,25 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
5
5
|
* DON'T MAKE CHANGES HERE
|
6
6
|
*/
|
7
7
|
import { config } from './configReadonly.js';
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
tau, efimovFactor,
|
8
|
+
import { createChainClass, createNode, createObjectNode, createOperatorNode, createParenthesisNode, createRelationalNode, createArrayNode, createBlockNode, createConditionalNode, createConstantNode, createRangeNode, createReviver, createChain, createFunctionAssignmentNode, createAccessorNode, createAssignmentNode, createIndexNode, createSymbolNode, createFunctionNode, createParse, createCompile, createEvaluate, createHelpClass, createParserClass, createParser, createSimplify, createDerivative, createHelp, createRationalize, createFilterTransform, createForEachTransform, createMapTransform, createApplyTransform, createDiffTransform, createIndexTransform, createSubsetTransform, createConcatTransform, createMaxTransform, createMinTransform, createRangeTransform, createRowTransform, createSumTransform, createColumnTransform, createMeanTransform, createVarianceTransform, createStdTransform } from '../factoriesAny.js';
|
9
|
+
import { BigNumber, Complex, e, _false, fineStructure, Fraction, i, _Infinity, LN10, LOG10E, Matrix, _NaN, _null, phi, Range, ResultSet, SQRT1_2, // eslint-disable-line camelcase
|
10
|
+
sackurTetrode, tau, _true, version, DenseMatrix, efimovFactor, LN2, pi, replacer, SQRT2, typed, unaryPlus, weakMixingAngle, abs, acos, acot, acsc, addScalar, arg, asech, asinh, atan, atanh, bignumber, bitNot, boolean, clone, combinations, complex, conj, cosh, coth, csc, cube, equalScalar, erf, exp, expm1, filter, forEach, format, getMatrixDataType, hex, im, isInteger, isNegative, isPositive, isZero, LOG2E, log10, log2, map, multiplyScalar, not, number, oct, pickRandom, print, random, re, sec, sign, sin, SparseMatrix, splitUnit, square, string, tan, typeOf, acosh, acsch, apply, asec, bin, combinationsWithRep, cos, csch, isNaN, isPrime, randomInt, sech, sinh, sparse, sqrt, tanh, unaryMinus, acoth, cot, fraction, isNumeric, matrix, matrixFromFunction, mod, nthRoot, numeric, or, prod, reshape, size, smaller, squeeze, subset, subtract, to, transpose, xgcd, zeros, and, bitAnd, bitXor, cbrt, compare, compareText, concat, count, ctranspose, diag, divideScalar, dotDivide, equal, flatten, gcd, hasNumericValue, hypot, ImmutableDenseMatrix, Index, kron, largerEq, leftShift, lsolve, matrixFromColumns, min, mode, nthRoots, ones, partitionSelect, resize, rightLogShift, round, smallerEq, unequal, usolve, xor, add, atan2, bitOr, catalan, compareNatural, deepEqual, diff, dot, equalText, floor, identity, larger, log, lsolveAll, matrixFromRows, multiply, pow, qr, range, rightArithShift, row, setCartesian, setDistinct, setIsSubset, setPowerset, slu, sum, trace, usolveAll, asin, ceil, column, composition, cross, distance, dotMultiply, FibonacciHeap, fix, gamma, index, lcm, max, quantileSeq, setDifference, setMultiplicity, setSymDifference, sort, Unit, vacuumImpedance, wienDisplacement, atomicMass, bohrMagneton, boltzmann, conductanceQuantum, createUnit, deuteronMass, dotPow, electricConstant, elementaryCharge, factorial, fermiCoupling, gasConstant, gravity, intersect, inverseConductanceQuantum, klitzing, loschmidt, magneticConstant, molarMass, molarPlanckConstant, neutronMass, nuclearMagneton, permutations, planckConstant, planckMass, planckTime, quantumOfCirculation, reducedPlanckConstant, rydberg, setIntersect, setUnion, Spa, stefanBoltzmann, unit, avogadro, bohrRadius, coulomb, electronMass, faraday, hartreeEnergy, log1p, magneticFluxQuantum, molarMassC12, planckCharge, planckTemperature, secondRadiation, speedOfLight, stirlingS2, bellNumbers, firstRadiation, lup, molarVolume, protonMass, setSize, thomsonCrossSection, classicalElectronRadius, det, gravitationConstant, inv, lusolve, sqrtm, divide, expm, kldivergence, mean, median, planckLength, variance, std, eigs, multinomial, mad, norm, rotationMatrix, rotate } from './pureFunctionsAny.generated.js';
|
11
11
|
var math = {}; // NOT pure!
|
12
12
|
|
13
13
|
var mathWithTransform = {}; // NOT pure!
|
14
14
|
|
15
15
|
var classes = {}; // NOT pure!
|
16
16
|
|
17
|
+
export var Chain = createChainClass({
|
18
|
+
math
|
19
|
+
});
|
17
20
|
export var Node = createNode({
|
18
21
|
mathWithTransform
|
19
22
|
});
|
20
|
-
export var
|
21
|
-
Node
|
22
|
-
});
|
23
|
-
export var BlockNode = createBlockNode({
|
24
|
-
Node,
|
25
|
-
ResultSet
|
26
|
-
});
|
27
|
-
export var ConstantNode = createConstantNode({
|
23
|
+
export var ObjectNode = createObjectNode({
|
28
24
|
Node
|
29
25
|
});
|
30
|
-
export var
|
26
|
+
export var OperatorNode = createOperatorNode({
|
31
27
|
Node
|
32
28
|
});
|
33
29
|
export var ParenthesisNode = createParenthesisNode({
|
@@ -36,43 +32,47 @@ export var ParenthesisNode = createParenthesisNode({
|
|
36
32
|
export var RelationalNode = createRelationalNode({
|
37
33
|
Node
|
38
34
|
});
|
39
|
-
export var
|
40
|
-
|
35
|
+
export var ArrayNode = createArrayNode({
|
36
|
+
Node
|
41
37
|
});
|
42
|
-
export var
|
43
|
-
|
38
|
+
export var BlockNode = createBlockNode({
|
39
|
+
Node,
|
40
|
+
ResultSet
|
44
41
|
});
|
45
42
|
export var ConditionalNode = createConditionalNode({
|
46
43
|
Node
|
47
44
|
});
|
48
|
-
export var
|
45
|
+
export var ConstantNode = createConstantNode({
|
49
46
|
Node
|
50
47
|
});
|
51
48
|
export var RangeNode = createRangeNode({
|
52
49
|
Node
|
53
50
|
});
|
54
|
-
export var
|
55
|
-
|
56
|
-
typed
|
51
|
+
export var reviver = createReviver({
|
52
|
+
classes
|
57
53
|
});
|
58
54
|
export var chain = createChain({
|
59
55
|
Chain,
|
60
56
|
typed
|
61
57
|
});
|
62
|
-
export var
|
58
|
+
export var FunctionAssignmentNode = createFunctionAssignmentNode({
|
63
59
|
Node,
|
64
|
-
|
60
|
+
typed
|
65
61
|
});
|
66
|
-
export var
|
62
|
+
export var AccessorNode = createAccessorNode({
|
67
63
|
Node,
|
68
|
-
|
69
|
-
size
|
64
|
+
subset
|
70
65
|
});
|
71
66
|
export var AssignmentNode = createAssignmentNode({
|
72
67
|
matrix,
|
73
68
|
Node,
|
74
69
|
subset
|
75
70
|
});
|
71
|
+
export var IndexNode = createIndexNode({
|
72
|
+
Node,
|
73
|
+
Range,
|
74
|
+
size
|
75
|
+
});
|
76
76
|
export var SymbolNode = createSymbolNode({
|
77
77
|
Unit,
|
78
78
|
Node,
|
@@ -103,6 +103,10 @@ export var parse = createParse({
|
|
103
103
|
numeric,
|
104
104
|
typed
|
105
105
|
});
|
106
|
+
export var compile = createCompile({
|
107
|
+
parse,
|
108
|
+
typed
|
109
|
+
});
|
106
110
|
export var evaluate = createEvaluate({
|
107
111
|
parse,
|
108
112
|
typed
|
@@ -110,6 +114,13 @@ export var evaluate = createEvaluate({
|
|
110
114
|
export var Help = createHelpClass({
|
111
115
|
parse
|
112
116
|
});
|
117
|
+
export var Parser = createParserClass({
|
118
|
+
evaluate
|
119
|
+
});
|
120
|
+
export var parser = createParser({
|
121
|
+
Parser,
|
122
|
+
typed
|
123
|
+
});
|
113
124
|
export var simplify = createSimplify({
|
114
125
|
bignumber,
|
115
126
|
fraction,
|
@@ -130,367 +141,363 @@ export var simplify = createSimplify({
|
|
130
141
|
subtract,
|
131
142
|
typed
|
132
143
|
});
|
133
|
-
export var
|
134
|
-
bignumber,
|
135
|
-
fraction,
|
144
|
+
export var derivative = createDerivative({
|
136
145
|
ConstantNode,
|
137
146
|
FunctionNode,
|
138
147
|
OperatorNode,
|
139
148
|
ParenthesisNode,
|
140
149
|
SymbolNode,
|
141
|
-
add,
|
142
150
|
config,
|
143
|
-
divide,
|
144
151
|
equal,
|
145
152
|
isZero,
|
146
|
-
|
147
|
-
multiply,
|
153
|
+
numeric,
|
148
154
|
parse,
|
149
|
-
pow,
|
150
155
|
simplify,
|
151
|
-
subtract,
|
152
156
|
typed
|
153
157
|
});
|
154
|
-
export var Parser = createParserClass({
|
155
|
-
evaluate
|
156
|
-
});
|
157
158
|
export var help = createHelp({
|
158
159
|
Help,
|
159
160
|
mathWithTransform,
|
160
161
|
typed
|
161
162
|
});
|
162
|
-
export var
|
163
|
+
export var rationalize = createRationalize({
|
164
|
+
bignumber,
|
165
|
+
fraction,
|
163
166
|
ConstantNode,
|
164
167
|
FunctionNode,
|
165
168
|
OperatorNode,
|
166
169
|
ParenthesisNode,
|
167
170
|
SymbolNode,
|
171
|
+
add,
|
168
172
|
config,
|
173
|
+
divide,
|
169
174
|
equal,
|
170
175
|
isZero,
|
171
|
-
|
176
|
+
mathWithTransform,
|
177
|
+
multiply,
|
172
178
|
parse,
|
179
|
+
pow,
|
173
180
|
simplify,
|
174
|
-
|
175
|
-
});
|
176
|
-
export var parser = createParser({
|
177
|
-
Parser,
|
178
|
-
typed
|
179
|
-
});
|
180
|
-
export var compile = createCompile({
|
181
|
-
parse,
|
181
|
+
subtract,
|
182
182
|
typed
|
183
183
|
});
|
184
184
|
|
185
185
|
_extends(math, {
|
186
|
-
|
186
|
+
e,
|
187
187
|
false: _false,
|
188
|
-
|
189
|
-
true: _true,
|
190
|
-
replacer,
|
188
|
+
fineStructure,
|
191
189
|
i,
|
190
|
+
Infinity: _Infinity,
|
192
191
|
LN10,
|
193
192
|
LOG10E,
|
194
193
|
NaN: _NaN,
|
195
|
-
|
194
|
+
null: _null,
|
195
|
+
phi,
|
196
196
|
SQRT1_2,
|
197
|
-
tau,
|
198
|
-
efimovFactor,
|
199
|
-
fineStructure,
|
200
197
|
sackurTetrode,
|
201
|
-
|
202
|
-
|
203
|
-
Infinity: _Infinity,
|
204
|
-
LOG2E,
|
205
|
-
'PI': pi,
|
206
|
-
version,
|
198
|
+
tau,
|
199
|
+
true: _true,
|
207
200
|
'E': e,
|
208
|
-
|
201
|
+
version,
|
202
|
+
efimovFactor,
|
203
|
+
LN2,
|
204
|
+
pi,
|
205
|
+
replacer,
|
206
|
+
reviver,
|
207
|
+
SQRT2,
|
209
208
|
typed,
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
209
|
+
unaryPlus,
|
210
|
+
'PI': pi,
|
211
|
+
weakMixingAngle,
|
212
|
+
abs,
|
213
|
+
acos,
|
214
|
+
acot,
|
215
|
+
acsc,
|
216
|
+
addScalar,
|
217
|
+
arg,
|
218
|
+
asech,
|
219
|
+
asinh,
|
220
|
+
atan,
|
221
|
+
atanh,
|
222
|
+
bignumber,
|
223
|
+
bitNot,
|
216
224
|
boolean,
|
225
|
+
chain,
|
226
|
+
clone,
|
227
|
+
combinations,
|
217
228
|
complex,
|
218
|
-
|
219
|
-
|
220
|
-
|
229
|
+
conj,
|
230
|
+
cosh,
|
231
|
+
coth,
|
232
|
+
csc,
|
221
233
|
cube,
|
234
|
+
equalScalar,
|
235
|
+
erf,
|
236
|
+
exp,
|
222
237
|
expm1,
|
223
|
-
log10,
|
224
|
-
multiplyScalar,
|
225
|
-
sign,
|
226
|
-
square,
|
227
|
-
bitNot,
|
228
|
-
arg,
|
229
|
-
im,
|
230
|
-
not,
|
231
238
|
filter,
|
232
239
|
forEach,
|
233
|
-
map,
|
234
|
-
erf,
|
235
240
|
format,
|
241
|
+
getMatrixDataType,
|
242
|
+
hex,
|
243
|
+
im,
|
244
|
+
isInteger,
|
245
|
+
isNegative,
|
246
|
+
isPositive,
|
247
|
+
isZero,
|
248
|
+
LOG2E,
|
249
|
+
log10,
|
250
|
+
log2,
|
251
|
+
map,
|
252
|
+
multiplyScalar,
|
253
|
+
not,
|
254
|
+
number,
|
236
255
|
oct,
|
256
|
+
pickRandom,
|
237
257
|
print,
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
258
|
+
random,
|
259
|
+
re,
|
260
|
+
sec,
|
261
|
+
sign,
|
262
|
+
sin,
|
263
|
+
splitUnit,
|
264
|
+
square,
|
265
|
+
string,
|
266
|
+
tan,
|
267
|
+
typeOf,
|
268
|
+
acosh,
|
269
|
+
acsch,
|
270
|
+
apply,
|
242
271
|
asec,
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
cosh,
|
247
|
-
coth,
|
272
|
+
bin,
|
273
|
+
combinationsWithRep,
|
274
|
+
cos,
|
248
275
|
csch,
|
276
|
+
isNaN,
|
277
|
+
isPrime,
|
278
|
+
randomInt,
|
249
279
|
sech,
|
250
280
|
sinh,
|
281
|
+
sparse,
|
282
|
+
sqrt,
|
251
283
|
tanh,
|
252
|
-
chain,
|
253
|
-
combinations,
|
254
|
-
pickRandom,
|
255
|
-
randomInt,
|
256
|
-
LN2,
|
257
|
-
clone,
|
258
|
-
hasNumericValue,
|
259
|
-
typeOf,
|
260
|
-
string,
|
261
|
-
fraction,
|
262
284
|
unaryMinus,
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
conj,
|
268
|
-
getMatrixDataType,
|
269
|
-
mode,
|
270
|
-
bin,
|
271
|
-
acosh,
|
272
|
-
acsch,
|
273
|
-
asinh,
|
274
|
-
cos,
|
275
|
-
csc,
|
276
|
-
sin,
|
277
|
-
combinationsWithRep,
|
278
|
-
random,
|
279
|
-
SQRT2,
|
280
|
-
isNegative,
|
285
|
+
acoth,
|
286
|
+
cot,
|
287
|
+
fraction,
|
288
|
+
isNumeric,
|
281
289
|
matrix,
|
282
|
-
|
283
|
-
gcd,
|
290
|
+
matrixFromFunction,
|
284
291
|
mod,
|
285
292
|
nthRoot,
|
286
|
-
|
287
|
-
bitAnd,
|
288
|
-
bitXor,
|
293
|
+
numeric,
|
289
294
|
or,
|
290
|
-
|
291
|
-
diag,
|
292
|
-
identity,
|
293
|
-
ones,
|
295
|
+
prod,
|
294
296
|
reshape,
|
295
297
|
size,
|
298
|
+
smaller,
|
299
|
+
squeeze,
|
296
300
|
subset,
|
301
|
+
subtract,
|
302
|
+
to,
|
303
|
+
transpose,
|
304
|
+
xgcd,
|
297
305
|
zeros,
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
306
|
+
and,
|
307
|
+
bitAnd,
|
308
|
+
bitXor,
|
309
|
+
cbrt,
|
302
310
|
compare,
|
303
311
|
compareText,
|
304
|
-
|
305
|
-
|
312
|
+
concat,
|
313
|
+
count,
|
314
|
+
ctranspose,
|
315
|
+
diag,
|
316
|
+
divideScalar,
|
317
|
+
dotDivide,
|
318
|
+
equal,
|
319
|
+
flatten,
|
320
|
+
gcd,
|
321
|
+
hasNumericValue,
|
322
|
+
hypot,
|
323
|
+
kron,
|
324
|
+
largerEq,
|
325
|
+
leftShift,
|
326
|
+
lsolve,
|
327
|
+
matrixFromColumns,
|
328
|
+
min,
|
329
|
+
mode,
|
330
|
+
nthRoots,
|
331
|
+
ones,
|
332
|
+
partitionSelect,
|
333
|
+
resize,
|
334
|
+
rightLogShift,
|
335
|
+
round,
|
336
|
+
smallerEq,
|
306
337
|
unequal,
|
307
|
-
|
308
|
-
|
309
|
-
atan2,
|
310
|
-
sec,
|
338
|
+
usolve,
|
339
|
+
xor,
|
311
340
|
add,
|
341
|
+
atan2,
|
342
|
+
bitOr,
|
343
|
+
catalan,
|
344
|
+
compareNatural,
|
345
|
+
deepEqual,
|
346
|
+
diff,
|
312
347
|
dot,
|
313
|
-
|
314
|
-
isZero,
|
315
|
-
matrixFromFunction,
|
316
|
-
cbrt,
|
348
|
+
equalText,
|
317
349
|
floor,
|
350
|
+
identity,
|
351
|
+
larger,
|
352
|
+
log,
|
353
|
+
lsolveAll,
|
354
|
+
matrixFromRows,
|
318
355
|
multiply,
|
319
|
-
dotMultiply,
|
320
|
-
re,
|
321
|
-
flatten,
|
322
|
-
resize,
|
323
|
-
squeeze,
|
324
|
-
to,
|
325
356
|
pow,
|
326
|
-
|
357
|
+
qr,
|
358
|
+
range,
|
327
359
|
rightArithShift,
|
328
|
-
|
329
|
-
|
330
|
-
largerEq,
|
331
|
-
partitionSelect,
|
332
|
-
asech,
|
333
|
-
tan,
|
334
|
-
setDifference,
|
335
|
-
setIntersect,
|
336
|
-
setMultiplicity,
|
337
|
-
setSize,
|
338
|
-
trace,
|
339
|
-
quantileSeq,
|
340
|
-
gamma,
|
341
|
-
bignumber,
|
342
|
-
matrixFromColumns,
|
343
|
-
lcm,
|
344
|
-
bitOr,
|
345
|
-
kron,
|
346
|
-
transpose,
|
347
|
-
numeric,
|
348
|
-
and,
|
349
|
-
smallerEq,
|
350
|
-
sort,
|
351
|
-
min,
|
352
|
-
cot,
|
360
|
+
row,
|
361
|
+
setCartesian,
|
353
362
|
setDistinct,
|
363
|
+
setIsSubset,
|
354
364
|
setPowerset,
|
355
|
-
|
365
|
+
slu,
|
356
366
|
sum,
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
367
|
+
trace,
|
368
|
+
usolveAll,
|
369
|
+
asin,
|
370
|
+
ceil,
|
371
|
+
column,
|
372
|
+
composition,
|
361
373
|
cross,
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
374
|
+
distance,
|
375
|
+
dotMultiply,
|
376
|
+
fix,
|
377
|
+
gamma,
|
378
|
+
index,
|
379
|
+
lcm,
|
366
380
|
max,
|
367
|
-
|
381
|
+
quantileSeq,
|
382
|
+
setDifference,
|
383
|
+
setMultiplicity,
|
368
384
|
setSymDifference,
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
ctranspose,
|
373
|
-
deepEqual,
|
374
|
-
setIsSubset,
|
375
|
-
fix,
|
376
|
-
diff,
|
377
|
-
divideScalar,
|
378
|
-
nthRoots,
|
379
|
-
lsolve,
|
380
|
-
lsolveAll,
|
381
|
-
setUnion,
|
382
|
-
lup,
|
383
|
-
slu,
|
384
|
-
det,
|
385
|
-
distance,
|
386
|
-
stirlingS2,
|
387
|
-
catalan,
|
388
|
-
column,
|
389
|
-
log,
|
390
|
-
dotDivide,
|
391
|
-
usolveAll,
|
392
|
-
hypot,
|
393
|
-
qr,
|
394
|
-
inv,
|
395
|
-
expm,
|
396
|
-
divide,
|
397
|
-
mean,
|
398
|
-
variance,
|
399
|
-
kldivergence,
|
400
|
-
bellNumbers,
|
401
|
-
log1p,
|
402
|
-
createUnit,
|
403
|
-
sqrtm,
|
404
|
-
median,
|
405
|
-
std,
|
385
|
+
sort,
|
386
|
+
vacuumImpedance,
|
387
|
+
wienDisplacement,
|
406
388
|
atomicMass,
|
407
389
|
bohrMagneton,
|
408
390
|
boltzmann,
|
409
391
|
conductanceQuantum,
|
392
|
+
createUnit,
|
410
393
|
deuteronMass,
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
394
|
+
dotPow,
|
395
|
+
electricConstant,
|
396
|
+
elementaryCharge,
|
397
|
+
factorial,
|
398
|
+
fermiCoupling,
|
399
|
+
gasConstant,
|
400
|
+
gravity,
|
401
|
+
intersect,
|
402
|
+
inverseConductanceQuantum,
|
416
403
|
klitzing,
|
404
|
+
loschmidt,
|
417
405
|
magneticConstant,
|
418
406
|
molarMass,
|
419
407
|
molarPlanckConstant,
|
420
408
|
neutronMass,
|
421
|
-
planckCharge,
|
422
|
-
planckLength,
|
423
|
-
planckTemperature,
|
424
|
-
protonMass,
|
425
|
-
reducedPlanckConstant,
|
426
|
-
secondRadiation,
|
427
|
-
stefanBoltzmann,
|
428
|
-
vacuumImpedance,
|
429
|
-
usolve,
|
430
|
-
lusolve,
|
431
|
-
eigs,
|
432
|
-
mad,
|
433
|
-
avogadro,
|
434
|
-
classicalElectronRadius,
|
435
|
-
electricConstant,
|
436
|
-
fermiCoupling,
|
437
|
-
gravity,
|
438
|
-
loschmidt,
|
439
|
-
molarMassC12,
|
440
409
|
nuclearMagneton,
|
410
|
+
permutations,
|
411
|
+
planckConstant,
|
441
412
|
planckMass,
|
413
|
+
planckTime,
|
442
414
|
quantumOfCirculation,
|
443
|
-
|
444
|
-
|
415
|
+
reducedPlanckConstant,
|
416
|
+
rydberg,
|
417
|
+
setIntersect,
|
418
|
+
setUnion,
|
419
|
+
stefanBoltzmann,
|
445
420
|
unit,
|
421
|
+
avogadro,
|
422
|
+
bohrRadius,
|
423
|
+
coulomb,
|
424
|
+
electronMass,
|
425
|
+
faraday,
|
426
|
+
hartreeEnergy,
|
427
|
+
log1p,
|
428
|
+
magneticFluxQuantum,
|
429
|
+
molarMassC12,
|
446
430
|
parse,
|
431
|
+
planckCharge,
|
432
|
+
planckTemperature,
|
433
|
+
secondRadiation,
|
434
|
+
speedOfLight,
|
435
|
+
stirlingS2,
|
436
|
+
bellNumbers,
|
437
|
+
compile,
|
447
438
|
evaluate,
|
448
|
-
|
439
|
+
firstRadiation,
|
440
|
+
lup,
|
441
|
+
molarVolume,
|
442
|
+
protonMass,
|
443
|
+
setSize,
|
444
|
+
thomsonCrossSection,
|
445
|
+
classicalElectronRadius,
|
446
|
+
det,
|
447
|
+
gravitationConstant,
|
448
|
+
inv,
|
449
|
+
lusolve,
|
450
|
+
parser,
|
451
|
+
sqrtm,
|
452
|
+
divide,
|
453
|
+
expm,
|
454
|
+
kldivergence,
|
455
|
+
mean,
|
456
|
+
median,
|
457
|
+
planckLength,
|
449
458
|
simplify,
|
459
|
+
variance,
|
460
|
+
derivative,
|
461
|
+
help,
|
450
462
|
rationalize,
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
rydberg,
|
463
|
+
std,
|
464
|
+
eigs,
|
465
|
+
multinomial,
|
466
|
+
mad,
|
456
467
|
norm,
|
457
|
-
help,
|
458
|
-
derivative,
|
459
|
-
elementaryCharge,
|
460
|
-
molarVolume,
|
461
|
-
thomsonCrossSection,
|
462
468
|
rotationMatrix,
|
463
|
-
parser,
|
464
|
-
bohrRadius,
|
465
|
-
planckTime,
|
466
469
|
rotate,
|
467
|
-
multinomial,
|
468
|
-
compile,
|
469
|
-
inverseConductanceQuantum,
|
470
470
|
config
|
471
471
|
});
|
472
472
|
|
473
473
|
_extends(mathWithTransform, math, {
|
474
|
-
|
475
|
-
isInteger,
|
474
|
+
filter: createFilterTransform({
|
476
475
|
typed
|
477
476
|
}),
|
478
|
-
|
477
|
+
forEach: createForEachTransform({
|
479
478
|
typed
|
480
479
|
}),
|
481
480
|
map: createMapTransform({
|
482
481
|
typed
|
483
482
|
}),
|
484
|
-
|
483
|
+
apply: createApplyTransform({
|
484
|
+
isInteger,
|
485
485
|
typed
|
486
486
|
}),
|
487
|
-
|
487
|
+
diff: createDiffTransform({
|
488
|
+
bignumber,
|
488
489
|
matrix,
|
490
|
+
number,
|
491
|
+
subtract,
|
489
492
|
typed
|
490
493
|
}),
|
491
494
|
index: createIndexTransform({
|
492
495
|
Index
|
493
496
|
}),
|
497
|
+
subset: createSubsetTransform({
|
498
|
+
matrix,
|
499
|
+
typed
|
500
|
+
}),
|
494
501
|
concat: createConcatTransform({
|
495
502
|
isInteger,
|
496
503
|
matrix,
|
@@ -508,18 +515,6 @@ _extends(mathWithTransform, math, {
|
|
508
515
|
smaller,
|
509
516
|
typed
|
510
517
|
}),
|
511
|
-
sum: createSumTransform({
|
512
|
-
add,
|
513
|
-
config,
|
514
|
-
numeric,
|
515
|
-
typed
|
516
|
-
}),
|
517
|
-
column: createColumnTransform({
|
518
|
-
Index,
|
519
|
-
matrix,
|
520
|
-
range,
|
521
|
-
typed
|
522
|
-
}),
|
523
518
|
range: createRangeTransform({
|
524
519
|
bignumber,
|
525
520
|
matrix,
|
@@ -530,14 +525,19 @@ _extends(mathWithTransform, math, {
|
|
530
525
|
smallerEq,
|
531
526
|
typed
|
532
527
|
}),
|
533
|
-
|
534
|
-
|
528
|
+
row: createRowTransform({
|
529
|
+
Index,
|
535
530
|
matrix,
|
536
|
-
|
537
|
-
subtract,
|
531
|
+
range,
|
538
532
|
typed
|
539
533
|
}),
|
540
|
-
|
534
|
+
sum: createSumTransform({
|
535
|
+
add,
|
536
|
+
config,
|
537
|
+
numeric,
|
538
|
+
typed
|
539
|
+
}),
|
540
|
+
column: createColumnTransform({
|
541
541
|
Index,
|
542
542
|
matrix,
|
543
543
|
range,
|
@@ -565,34 +565,34 @@ _extends(mathWithTransform, math, {
|
|
565
565
|
});
|
566
566
|
|
567
567
|
_extends(classes, {
|
568
|
-
|
568
|
+
BigNumber,
|
569
|
+
Chain,
|
569
570
|
Complex,
|
570
|
-
|
571
|
+
Fraction,
|
572
|
+
Matrix,
|
571
573
|
Node,
|
572
|
-
ArrayNode,
|
573
|
-
BlockNode,
|
574
|
-
ConstantNode,
|
575
574
|
ObjectNode,
|
575
|
+
OperatorNode,
|
576
576
|
ParenthesisNode,
|
577
|
+
Range,
|
577
578
|
RelationalNode,
|
578
|
-
|
579
|
-
|
580
|
-
|
579
|
+
ResultSet,
|
580
|
+
ArrayNode,
|
581
|
+
BlockNode,
|
581
582
|
ConditionalNode,
|
582
|
-
|
583
|
-
Fraction,
|
584
|
-
RangeNode,
|
583
|
+
ConstantNode,
|
585
584
|
DenseMatrix,
|
585
|
+
RangeNode,
|
586
586
|
FunctionAssignmentNode,
|
587
587
|
SparseMatrix,
|
588
|
-
ImmutableDenseMatrix,
|
589
|
-
FibonacciHeap,
|
590
588
|
AccessorNode,
|
591
|
-
IndexNode,
|
592
|
-
Index,
|
593
589
|
AssignmentNode,
|
594
|
-
|
590
|
+
ImmutableDenseMatrix,
|
591
|
+
Index,
|
592
|
+
IndexNode,
|
593
|
+
FibonacciHeap,
|
595
594
|
Unit,
|
595
|
+
Spa,
|
596
596
|
SymbolNode,
|
597
597
|
FunctionNode,
|
598
598
|
Help,
|