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,13 +5,14 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
+
exports.derivative = exports.compile = exports.chain = exports.SymbolNode = exports.RelationalNode = exports.RangeNode = exports.Parser = exports.ParenthesisNode = exports.OperatorNode = exports.ObjectNode = exports.Node = exports.IndexNode = exports.Help = exports.FunctionNode = exports.FunctionAssignmentNode = exports.ConstantNode = exports.ConditionalNode = exports.Chain = exports.BlockNode = exports.AssignmentNode = exports.ArrayNode = exports.AccessorNode = void 0;
|
8
9
|
Object.defineProperty(exports, "docs", {
|
9
10
|
enumerable: true,
|
10
11
|
get: function get() {
|
11
12
|
return _embeddedDocs.embeddedDocs;
|
12
13
|
}
|
13
14
|
});
|
14
|
-
exports.
|
15
|
+
exports.simplify = exports.reviver = exports.rationalize = exports.parser = exports.parse = exports.help = exports.evaluate = void 0;
|
15
16
|
|
16
17
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
17
18
|
|
@@ -37,6 +38,10 @@ var Chain = (0, _factoriesNumber.createChainClass)({
|
|
37
38
|
math: math
|
38
39
|
});
|
39
40
|
exports.Chain = Chain;
|
41
|
+
var reviver = (0, _factoriesNumber.createReviver)({
|
42
|
+
classes: classes
|
43
|
+
});
|
44
|
+
exports.reviver = reviver;
|
40
45
|
var chain = (0, _factoriesNumber.createChain)({
|
41
46
|
Chain: Chain,
|
42
47
|
typed: _pureFunctionsNumberGenerated.typed
|
@@ -46,44 +51,18 @@ var Node = (0, _factoriesNumber.createNode)({
|
|
46
51
|
mathWithTransform: mathWithTransform
|
47
52
|
});
|
48
53
|
exports.Node = Node;
|
49
|
-
var ArrayNode = (0, _factoriesNumber.createArrayNode)({
|
50
|
-
Node: Node
|
51
|
-
});
|
52
|
-
exports.ArrayNode = ArrayNode;
|
53
|
-
var ConditionalNode = (0, _factoriesNumber.createConditionalNode)({
|
54
|
-
Node: Node
|
55
|
-
});
|
56
|
-
exports.ConditionalNode = ConditionalNode;
|
57
|
-
var FunctionAssignmentNode = (0, _factoriesNumber.createFunctionAssignmentNode)({
|
58
|
-
Node: Node,
|
59
|
-
typed: _pureFunctionsNumberGenerated.typed
|
60
|
-
});
|
61
|
-
exports.FunctionAssignmentNode = FunctionAssignmentNode;
|
62
54
|
var ObjectNode = (0, _factoriesNumber.createObjectNode)({
|
63
55
|
Node: Node
|
64
56
|
});
|
65
57
|
exports.ObjectNode = ObjectNode;
|
66
|
-
var
|
58
|
+
var RangeNode = (0, _factoriesNumber.createRangeNode)({
|
67
59
|
Node: Node
|
68
60
|
});
|
69
|
-
exports.
|
61
|
+
exports.RangeNode = RangeNode;
|
70
62
|
var RelationalNode = (0, _factoriesNumber.createRelationalNode)({
|
71
63
|
Node: Node
|
72
64
|
});
|
73
65
|
exports.RelationalNode = RelationalNode;
|
74
|
-
var reviver = (0, _factoriesNumber.createReviver)({
|
75
|
-
classes: classes
|
76
|
-
});
|
77
|
-
exports.reviver = reviver;
|
78
|
-
var BlockNode = (0, _factoriesNumber.createBlockNode)({
|
79
|
-
Node: Node,
|
80
|
-
ResultSet: _pureFunctionsNumberGenerated.ResultSet
|
81
|
-
});
|
82
|
-
exports.BlockNode = BlockNode;
|
83
|
-
var OperatorNode = (0, _factoriesNumber.createOperatorNode)({
|
84
|
-
Node: Node
|
85
|
-
});
|
86
|
-
exports.OperatorNode = OperatorNode;
|
87
66
|
var SymbolNode = (0, _factoriesNumber.createSymbolNode)({
|
88
67
|
Node: Node,
|
89
68
|
math: math
|
@@ -94,20 +73,16 @@ var AccessorNode = (0, _factoriesNumber.createAccessorNode)({
|
|
94
73
|
subset: _pureFunctionsNumberGenerated.subset
|
95
74
|
});
|
96
75
|
exports.AccessorNode = AccessorNode;
|
97
|
-
var ConstantNode = (0, _factoriesNumber.createConstantNode)({
|
98
|
-
Node: Node
|
99
|
-
});
|
100
|
-
exports.ConstantNode = ConstantNode;
|
101
|
-
var RangeNode = (0, _factoriesNumber.createRangeNode)({
|
102
|
-
Node: Node
|
103
|
-
});
|
104
|
-
exports.RangeNode = RangeNode;
|
105
76
|
var AssignmentNode = (0, _factoriesNumber.createAssignmentNode)({
|
106
77
|
matrix: _pureFunctionsNumberGenerated.matrix,
|
107
78
|
Node: Node,
|
108
79
|
subset: _pureFunctionsNumberGenerated.subset
|
109
80
|
});
|
110
81
|
exports.AssignmentNode = AssignmentNode;
|
82
|
+
var ConditionalNode = (0, _factoriesNumber.createConditionalNode)({
|
83
|
+
Node: Node
|
84
|
+
});
|
85
|
+
exports.ConditionalNode = ConditionalNode;
|
111
86
|
var FunctionNode = (0, _factoriesNumber.createFunctionNode)({
|
112
87
|
Node: Node,
|
113
88
|
SymbolNode: SymbolNode,
|
@@ -120,6 +95,32 @@ var IndexNode = (0, _factoriesNumber.createIndexNode)({
|
|
120
95
|
size: _pureFunctionsNumberGenerated.size
|
121
96
|
});
|
122
97
|
exports.IndexNode = IndexNode;
|
98
|
+
var OperatorNode = (0, _factoriesNumber.createOperatorNode)({
|
99
|
+
Node: Node
|
100
|
+
});
|
101
|
+
exports.OperatorNode = OperatorNode;
|
102
|
+
var ConstantNode = (0, _factoriesNumber.createConstantNode)({
|
103
|
+
Node: Node
|
104
|
+
});
|
105
|
+
exports.ConstantNode = ConstantNode;
|
106
|
+
var FunctionAssignmentNode = (0, _factoriesNumber.createFunctionAssignmentNode)({
|
107
|
+
Node: Node,
|
108
|
+
typed: _pureFunctionsNumberGenerated.typed
|
109
|
+
});
|
110
|
+
exports.FunctionAssignmentNode = FunctionAssignmentNode;
|
111
|
+
var ParenthesisNode = (0, _factoriesNumber.createParenthesisNode)({
|
112
|
+
Node: Node
|
113
|
+
});
|
114
|
+
exports.ParenthesisNode = ParenthesisNode;
|
115
|
+
var BlockNode = (0, _factoriesNumber.createBlockNode)({
|
116
|
+
Node: Node,
|
117
|
+
ResultSet: _pureFunctionsNumberGenerated.ResultSet
|
118
|
+
});
|
119
|
+
exports.BlockNode = BlockNode;
|
120
|
+
var ArrayNode = (0, _factoriesNumber.createArrayNode)({
|
121
|
+
Node: Node
|
122
|
+
});
|
123
|
+
exports.ArrayNode = ArrayNode;
|
123
124
|
var parse = (0, _factoriesNumber.createParse)({
|
124
125
|
AccessorNode: AccessorNode,
|
125
126
|
ArrayNode: ArrayNode,
|
@@ -141,6 +142,30 @@ var parse = (0, _factoriesNumber.createParse)({
|
|
141
142
|
typed: _pureFunctionsNumberGenerated.typed
|
142
143
|
});
|
143
144
|
exports.parse = parse;
|
145
|
+
var simplify = (0, _factoriesNumber.createSimplify)({
|
146
|
+
ConstantNode: ConstantNode,
|
147
|
+
FunctionNode: FunctionNode,
|
148
|
+
OperatorNode: OperatorNode,
|
149
|
+
ParenthesisNode: ParenthesisNode,
|
150
|
+
SymbolNode: SymbolNode,
|
151
|
+
add: _pureFunctionsNumberGenerated.add,
|
152
|
+
config: _configReadonly.config,
|
153
|
+
divide: _pureFunctionsNumberGenerated.divide,
|
154
|
+
equal: _pureFunctionsNumberGenerated.equal,
|
155
|
+
isZero: _pureFunctionsNumberGenerated.isZero,
|
156
|
+
mathWithTransform: mathWithTransform,
|
157
|
+
multiply: _pureFunctionsNumberGenerated.multiply,
|
158
|
+
parse: parse,
|
159
|
+
pow: _pureFunctionsNumberGenerated.pow,
|
160
|
+
subtract: _pureFunctionsNumberGenerated.subtract,
|
161
|
+
typed: _pureFunctionsNumberGenerated.typed
|
162
|
+
});
|
163
|
+
exports.simplify = simplify;
|
164
|
+
var compile = (0, _factoriesNumber.createCompile)({
|
165
|
+
parse: parse,
|
166
|
+
typed: _pureFunctionsNumberGenerated.typed
|
167
|
+
});
|
168
|
+
exports.compile = compile;
|
144
169
|
var evaluate = (0, _factoriesNumber.createEvaluate)({
|
145
170
|
parse: parse,
|
146
171
|
typed: _pureFunctionsNumberGenerated.typed
|
@@ -150,25 +175,25 @@ var Help = (0, _factoriesNumber.createHelpClass)({
|
|
150
175
|
parse: parse
|
151
176
|
});
|
152
177
|
exports.Help = Help;
|
153
|
-
var
|
178
|
+
var Parser = (0, _factoriesNumber.createParserClass)({
|
179
|
+
evaluate: evaluate
|
180
|
+
});
|
181
|
+
exports.Parser = Parser;
|
182
|
+
var derivative = (0, _factoriesNumber.createDerivative)({
|
154
183
|
ConstantNode: ConstantNode,
|
155
184
|
FunctionNode: FunctionNode,
|
156
185
|
OperatorNode: OperatorNode,
|
157
186
|
ParenthesisNode: ParenthesisNode,
|
158
187
|
SymbolNode: SymbolNode,
|
159
|
-
add: _pureFunctionsNumberGenerated.add,
|
160
188
|
config: _configReadonly.config,
|
161
|
-
divide: _pureFunctionsNumberGenerated.divide,
|
162
189
|
equal: _pureFunctionsNumberGenerated.equal,
|
163
190
|
isZero: _pureFunctionsNumberGenerated.isZero,
|
164
|
-
|
165
|
-
multiply: _pureFunctionsNumberGenerated.multiply,
|
191
|
+
numeric: _pureFunctionsNumberGenerated.numeric,
|
166
192
|
parse: parse,
|
167
|
-
|
168
|
-
subtract: _pureFunctionsNumberGenerated.subtract,
|
193
|
+
simplify: simplify,
|
169
194
|
typed: _pureFunctionsNumberGenerated.typed
|
170
195
|
});
|
171
|
-
exports.
|
196
|
+
exports.derivative = derivative;
|
172
197
|
var rationalize = (0, _factoriesNumber.createRationalize)({
|
173
198
|
ConstantNode: ConstantNode,
|
174
199
|
FunctionNode: FunctionNode,
|
@@ -189,219 +214,211 @@ var rationalize = (0, _factoriesNumber.createRationalize)({
|
|
189
214
|
typed: _pureFunctionsNumberGenerated.typed
|
190
215
|
});
|
191
216
|
exports.rationalize = rationalize;
|
192
|
-
var compile = (0, _factoriesNumber.createCompile)({
|
193
|
-
parse: parse,
|
194
|
-
typed: _pureFunctionsNumberGenerated.typed
|
195
|
-
});
|
196
|
-
exports.compile = compile;
|
197
217
|
var help = (0, _factoriesNumber.createHelp)({
|
198
218
|
Help: Help,
|
199
219
|
mathWithTransform: mathWithTransform,
|
200
220
|
typed: _pureFunctionsNumberGenerated.typed
|
201
221
|
});
|
202
222
|
exports.help = help;
|
203
|
-
var Parser = (0, _factoriesNumber.createParserClass)({
|
204
|
-
evaluate: evaluate
|
205
|
-
});
|
206
|
-
exports.Parser = Parser;
|
207
|
-
var derivative = (0, _factoriesNumber.createDerivative)({
|
208
|
-
ConstantNode: ConstantNode,
|
209
|
-
FunctionNode: FunctionNode,
|
210
|
-
OperatorNode: OperatorNode,
|
211
|
-
ParenthesisNode: ParenthesisNode,
|
212
|
-
SymbolNode: SymbolNode,
|
213
|
-
config: _configReadonly.config,
|
214
|
-
equal: _pureFunctionsNumberGenerated.equal,
|
215
|
-
isZero: _pureFunctionsNumberGenerated.isZero,
|
216
|
-
numeric: _pureFunctionsNumberGenerated.numeric,
|
217
|
-
parse: parse,
|
218
|
-
simplify: simplify,
|
219
|
-
typed: _pureFunctionsNumberGenerated.typed
|
220
|
-
});
|
221
|
-
exports.derivative = derivative;
|
222
223
|
var parser = (0, _factoriesNumber.createParser)({
|
223
224
|
Parser: Parser,
|
224
225
|
typed: _pureFunctionsNumberGenerated.typed
|
225
226
|
});
|
226
227
|
exports.parser = parser;
|
227
228
|
(0, _extends2["default"])(math, {
|
228
|
-
typed: _pureFunctionsNumberGenerated.typed,
|
229
|
-
chain: chain,
|
230
|
-
nthRoot: _pureFunctionsNumberGenerated.nthRoot,
|
231
229
|
e: _pureFunctionsNumberGenerated.e,
|
232
230
|
"false": _pureFunctionsNumberGenerated._false,
|
231
|
+
index: _pureFunctionsNumberGenerated.index,
|
232
|
+
Infinity: _pureFunctionsNumberGenerated._Infinity,
|
233
233
|
LN10: _pureFunctionsNumberGenerated.LN10,
|
234
234
|
LOG10E: _pureFunctionsNumberGenerated.LOG10E,
|
235
|
+
matrix: _pureFunctionsNumberGenerated.matrix,
|
235
236
|
NaN: _pureFunctionsNumberGenerated._NaN,
|
237
|
+
"null": _pureFunctionsNumberGenerated._null,
|
236
238
|
phi: _pureFunctionsNumberGenerated.phi,
|
239
|
+
replacer: _pureFunctionsNumberGenerated.replacer,
|
240
|
+
reviver: reviver,
|
237
241
|
SQRT1_2: _pureFunctionsNumberGenerated.SQRT1_2,
|
242
|
+
subset: _pureFunctionsNumberGenerated.subset,
|
238
243
|
tau: _pureFunctionsNumberGenerated.tau,
|
244
|
+
typed: _pureFunctionsNumberGenerated.typed,
|
245
|
+
unaryPlus: _pureFunctionsNumberGenerated.unaryPlus,
|
246
|
+
'E': _pureFunctionsNumberGenerated.e,
|
239
247
|
version: _pureFunctionsNumberGenerated.version,
|
240
|
-
string: _pureFunctionsNumberGenerated.string,
|
241
|
-
filter: _pureFunctionsNumberGenerated.filter,
|
242
|
-
map: _pureFunctionsNumberGenerated.map,
|
243
|
-
combinationsWithRep: _pureFunctionsNumberGenerated.combinationsWithRep,
|
244
|
-
pickRandom: _pureFunctionsNumberGenerated.pickRandom,
|
245
|
-
randomInt: _pureFunctionsNumberGenerated.randomInt,
|
246
|
-
compare: _pureFunctionsNumberGenerated.compare,
|
247
|
-
compareText: _pureFunctionsNumberGenerated.compareText,
|
248
|
-
smaller: _pureFunctionsNumberGenerated.smaller,
|
249
|
-
larger: _pureFunctionsNumberGenerated.larger,
|
250
|
-
erf: _pureFunctionsNumberGenerated.erf,
|
251
|
-
format: _pureFunctionsNumberGenerated.format,
|
252
|
-
clone: _pureFunctionsNumberGenerated.clone,
|
253
|
-
typeOf: _pureFunctionsNumberGenerated.typeOf,
|
254
|
-
reviver: reviver,
|
255
|
-
unaryMinus: _pureFunctionsNumberGenerated.unaryMinus,
|
256
|
-
abs: _pureFunctionsNumberGenerated.abs,
|
257
|
-
cbrt: _pureFunctionsNumberGenerated.cbrt,
|
258
|
-
cube: _pureFunctionsNumberGenerated.cube,
|
259
|
-
expm1: _pureFunctionsNumberGenerated.expm1,
|
260
|
-
floor: _pureFunctionsNumberGenerated.floor,
|
261
|
-
lcm: _pureFunctionsNumberGenerated.lcm,
|
262
|
-
log2: _pureFunctionsNumberGenerated.log2,
|
263
|
-
multiplyScalar: _pureFunctionsNumberGenerated.multiplyScalar,
|
264
|
-
sign: _pureFunctionsNumberGenerated.sign,
|
265
|
-
square: _pureFunctionsNumberGenerated.square,
|
266
|
-
xgcd: _pureFunctionsNumberGenerated.xgcd,
|
267
|
-
pow: _pureFunctionsNumberGenerated.pow,
|
268
|
-
log1p: _pureFunctionsNumberGenerated.log1p,
|
269
|
-
norm: _pureFunctionsNumberGenerated.norm,
|
270
|
-
bitAnd: _pureFunctionsNumberGenerated.bitAnd,
|
271
|
-
bitOr: _pureFunctionsNumberGenerated.bitOr,
|
272
|
-
leftShift: _pureFunctionsNumberGenerated.leftShift,
|
273
|
-
rightLogShift: _pureFunctionsNumberGenerated.rightLogShift,
|
274
|
-
not: _pureFunctionsNumberGenerated.not,
|
275
248
|
xor: _pureFunctionsNumberGenerated.xor,
|
276
|
-
|
277
|
-
combinations: _pureFunctionsNumberGenerated.combinations,
|
249
|
+
abs: _pureFunctionsNumberGenerated.abs,
|
278
250
|
acos: _pureFunctionsNumberGenerated.acos,
|
279
251
|
acot: _pureFunctionsNumberGenerated.acot,
|
280
252
|
acsc: _pureFunctionsNumberGenerated.acsc,
|
253
|
+
add: _pureFunctionsNumberGenerated.add,
|
254
|
+
and: _pureFunctionsNumberGenerated.and,
|
281
255
|
asec: _pureFunctionsNumberGenerated.asec,
|
282
256
|
asin: _pureFunctionsNumberGenerated.asin,
|
283
257
|
atan: _pureFunctionsNumberGenerated.atan,
|
284
258
|
atanh: _pureFunctionsNumberGenerated.atanh,
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
259
|
+
bitAnd: _pureFunctionsNumberGenerated.bitAnd,
|
260
|
+
bitOr: _pureFunctionsNumberGenerated.bitOr,
|
261
|
+
"boolean": _pureFunctionsNumberGenerated["boolean"],
|
262
|
+
cbrt: _pureFunctionsNumberGenerated.cbrt,
|
263
|
+
chain: chain,
|
264
|
+
combinations: _pureFunctionsNumberGenerated.combinations,
|
265
|
+
compare: _pureFunctionsNumberGenerated.compare,
|
266
|
+
compareText: _pureFunctionsNumberGenerated.compareText,
|
267
|
+
cos: _pureFunctionsNumberGenerated.cos,
|
268
|
+
cot: _pureFunctionsNumberGenerated.cot,
|
269
|
+
csc: _pureFunctionsNumberGenerated.csc,
|
270
|
+
cube: _pureFunctionsNumberGenerated.cube,
|
271
|
+
divide: _pureFunctionsNumberGenerated.divide,
|
272
|
+
equalScalar: _pureFunctionsNumberGenerated.equalScalar,
|
273
|
+
erf: _pureFunctionsNumberGenerated.erf,
|
274
|
+
exp: _pureFunctionsNumberGenerated.exp,
|
275
|
+
filter: _pureFunctionsNumberGenerated.filter,
|
276
|
+
fix: _pureFunctionsNumberGenerated.fix,
|
277
|
+
forEach: _pureFunctionsNumberGenerated.forEach,
|
278
|
+
format: _pureFunctionsNumberGenerated.format,
|
279
|
+
gamma: _pureFunctionsNumberGenerated.gamma,
|
291
280
|
isInteger: _pureFunctionsNumberGenerated.isInteger,
|
281
|
+
isNegative: _pureFunctionsNumberGenerated.isNegative,
|
292
282
|
isPositive: _pureFunctionsNumberGenerated.isPositive,
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
283
|
+
isZero: _pureFunctionsNumberGenerated.isZero,
|
284
|
+
LOG2E: _pureFunctionsNumberGenerated.LOG2E,
|
285
|
+
largerEq: _pureFunctionsNumberGenerated.largerEq,
|
286
|
+
leftShift: _pureFunctionsNumberGenerated.leftShift,
|
287
|
+
log10: _pureFunctionsNumberGenerated.log10,
|
288
|
+
log2: _pureFunctionsNumberGenerated.log2,
|
289
|
+
map: _pureFunctionsNumberGenerated.map,
|
290
|
+
mean: _pureFunctionsNumberGenerated.mean,
|
291
|
+
mod: _pureFunctionsNumberGenerated.mod,
|
292
|
+
multiply: _pureFunctionsNumberGenerated.multiply,
|
293
|
+
not: _pureFunctionsNumberGenerated.not,
|
299
294
|
number: _pureFunctionsNumberGenerated.number,
|
300
|
-
|
301
|
-
|
295
|
+
or: _pureFunctionsNumberGenerated.or,
|
296
|
+
pi: _pureFunctionsNumberGenerated.pi,
|
297
|
+
pow: _pureFunctionsNumberGenerated.pow,
|
302
298
|
random: _pureFunctionsNumberGenerated.random,
|
303
|
-
|
299
|
+
rightArithShift: _pureFunctionsNumberGenerated.rightArithShift,
|
300
|
+
round: _pureFunctionsNumberGenerated.round,
|
301
|
+
sec: _pureFunctionsNumberGenerated.sec,
|
302
|
+
sign: _pureFunctionsNumberGenerated.sign,
|
303
|
+
sin: _pureFunctionsNumberGenerated.sin,
|
304
|
+
size: _pureFunctionsNumberGenerated.size,
|
304
305
|
smallerEq: _pureFunctionsNumberGenerated.smallerEq,
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
306
|
+
square: _pureFunctionsNumberGenerated.square,
|
307
|
+
string: _pureFunctionsNumberGenerated.string,
|
308
|
+
subtract: _pureFunctionsNumberGenerated.subtract,
|
309
|
+
tanh: _pureFunctionsNumberGenerated.tanh,
|
310
|
+
typeOf: _pureFunctionsNumberGenerated.typeOf,
|
311
|
+
unequal: _pureFunctionsNumberGenerated.unequal,
|
312
|
+
xgcd: _pureFunctionsNumberGenerated.xgcd,
|
313
|
+
acoth: _pureFunctionsNumberGenerated.acoth,
|
309
314
|
addScalar: _pureFunctionsNumberGenerated.addScalar,
|
310
|
-
|
311
|
-
gcd: _pureFunctionsNumberGenerated.gcd,
|
312
|
-
mod: _pureFunctionsNumberGenerated.mod,
|
313
|
-
sqrt: _pureFunctionsNumberGenerated.sqrt,
|
314
|
-
divideScalar: _pureFunctionsNumberGenerated.divideScalar,
|
315
|
-
add: _pureFunctionsNumberGenerated.add,
|
315
|
+
asech: _pureFunctionsNumberGenerated.asech,
|
316
316
|
bitNot: _pureFunctionsNumberGenerated.bitNot,
|
317
|
-
|
318
|
-
|
319
|
-
|
317
|
+
ceil: _pureFunctionsNumberGenerated.ceil,
|
318
|
+
combinationsWithRep: _pureFunctionsNumberGenerated.combinationsWithRep,
|
319
|
+
cosh: _pureFunctionsNumberGenerated.cosh,
|
320
|
+
csch: _pureFunctionsNumberGenerated.csch,
|
321
|
+
divideScalar: _pureFunctionsNumberGenerated.divideScalar,
|
322
|
+
equalText: _pureFunctionsNumberGenerated.equalText,
|
323
|
+
expm1: _pureFunctionsNumberGenerated.expm1,
|
324
|
+
isNumeric: _pureFunctionsNumberGenerated.isNumeric,
|
325
|
+
LN2: _pureFunctionsNumberGenerated.LN2,
|
326
|
+
lcm: _pureFunctionsNumberGenerated.lcm,
|
327
|
+
log1p: _pureFunctionsNumberGenerated.log1p,
|
328
|
+
multiplyScalar: _pureFunctionsNumberGenerated.multiplyScalar,
|
329
|
+
nthRoot: _pureFunctionsNumberGenerated.nthRoot,
|
330
|
+
pickRandom: _pureFunctionsNumberGenerated.pickRandom,
|
331
|
+
randomInt: _pureFunctionsNumberGenerated.randomInt,
|
332
|
+
SQRT2: _pureFunctionsNumberGenerated.SQRT2,
|
333
|
+
sinh: _pureFunctionsNumberGenerated.sinh,
|
334
|
+
sqrt: _pureFunctionsNumberGenerated.sqrt,
|
335
|
+
tan: _pureFunctionsNumberGenerated.tan,
|
336
|
+
unaryMinus: _pureFunctionsNumberGenerated.unaryMinus,
|
320
337
|
acosh: _pureFunctionsNumberGenerated.acosh,
|
321
|
-
|
338
|
+
apply: _pureFunctionsNumberGenerated.apply,
|
322
339
|
asinh: _pureFunctionsNumberGenerated.asinh,
|
323
|
-
cos: _pureFunctionsNumberGenerated.cos,
|
324
|
-
csc: _pureFunctionsNumberGenerated.csc,
|
325
|
-
sin: _pureFunctionsNumberGenerated.sin,
|
326
|
-
isZero: _pureFunctionsNumberGenerated.isZero,
|
327
|
-
hypot: _pureFunctionsNumberGenerated.hypot,
|
328
|
-
Infinity: _pureFunctionsNumberGenerated._Infinity,
|
329
|
-
pi: _pureFunctionsNumberGenerated.pi,
|
330
|
-
"true": _pureFunctionsNumberGenerated._true,
|
331
|
-
forEach: _pureFunctionsNumberGenerated.forEach,
|
332
|
-
partitionSelect: _pureFunctionsNumberGenerated.partitionSelect,
|
333
|
-
equalScalar: _pureFunctionsNumberGenerated.equalScalar,
|
334
|
-
equalText: _pureFunctionsNumberGenerated.equalText,
|
335
|
-
unequal: _pureFunctionsNumberGenerated.unequal,
|
336
|
-
hasNumericValue: _pureFunctionsNumberGenerated.hasNumericValue,
|
337
|
-
unaryPlus: _pureFunctionsNumberGenerated.unaryPlus,
|
338
|
-
fix: _pureFunctionsNumberGenerated.fix,
|
339
|
-
multiply: _pureFunctionsNumberGenerated.multiply,
|
340
|
-
log: _pureFunctionsNumberGenerated.log,
|
341
340
|
bitXor: _pureFunctionsNumberGenerated.bitXor,
|
342
|
-
index: _pureFunctionsNumberGenerated.index,
|
343
|
-
acoth: _pureFunctionsNumberGenerated.acoth,
|
344
|
-
atan2: _pureFunctionsNumberGenerated.atan2,
|
345
|
-
sec: _pureFunctionsNumberGenerated.sec,
|
346
|
-
isNegative: _pureFunctionsNumberGenerated.isNegative,
|
347
341
|
catalan: _pureFunctionsNumberGenerated.catalan,
|
348
|
-
|
349
|
-
"boolean": _pureFunctionsNumberGenerated["boolean"],
|
342
|
+
compareNatural: _pureFunctionsNumberGenerated.compareNatural,
|
350
343
|
equal: _pureFunctionsNumberGenerated.equal,
|
351
|
-
deepEqual: _pureFunctionsNumberGenerated.deepEqual,
|
352
|
-
quantileSeq: _pureFunctionsNumberGenerated.quantileSeq,
|
353
|
-
numeric: _pureFunctionsNumberGenerated.numeric,
|
354
|
-
log10: _pureFunctionsNumberGenerated.log10,
|
355
|
-
divide: _pureFunctionsNumberGenerated.divide,
|
356
|
-
gamma: _pureFunctionsNumberGenerated.gamma,
|
357
|
-
cot: _pureFunctionsNumberGenerated.cot,
|
358
|
-
composition: _pureFunctionsNumberGenerated.composition,
|
359
344
|
factorial: _pureFunctionsNumberGenerated.factorial,
|
360
|
-
|
345
|
+
hasNumericValue: _pureFunctionsNumberGenerated.hasNumericValue,
|
346
|
+
isNaN: _pureFunctionsNumberGenerated.isNaN,
|
347
|
+
larger: _pureFunctionsNumberGenerated.larger,
|
361
348
|
mode: _pureFunctionsNumberGenerated.mode,
|
362
|
-
|
363
|
-
|
349
|
+
norm: _pureFunctionsNumberGenerated.norm,
|
350
|
+
partitionSelect: _pureFunctionsNumberGenerated.partitionSelect,
|
351
|
+
print: _pureFunctionsNumberGenerated.print,
|
352
|
+
quantileSeq: _pureFunctionsNumberGenerated.quantileSeq,
|
353
|
+
rightLogShift: _pureFunctionsNumberGenerated.rightLogShift,
|
354
|
+
smaller: _pureFunctionsNumberGenerated.smaller,
|
355
|
+
stirlingS2: _pureFunctionsNumberGenerated.stirlingS2,
|
356
|
+
"true": _pureFunctionsNumberGenerated._true,
|
357
|
+
variance: _pureFunctionsNumberGenerated.variance,
|
358
|
+
acsch: _pureFunctionsNumberGenerated.acsch,
|
359
|
+
atan2: _pureFunctionsNumberGenerated.atan2,
|
360
|
+
composition: _pureFunctionsNumberGenerated.composition,
|
361
|
+
deepEqual: _pureFunctionsNumberGenerated.deepEqual,
|
362
|
+
floor: _pureFunctionsNumberGenerated.floor,
|
363
|
+
hypot: _pureFunctionsNumberGenerated.hypot,
|
364
|
+
log: _pureFunctionsNumberGenerated.log,
|
364
365
|
median: _pureFunctionsNumberGenerated.median,
|
365
|
-
ceil: _pureFunctionsNumberGenerated.ceil,
|
366
|
-
and: _pureFunctionsNumberGenerated.and,
|
367
|
-
tan: _pureFunctionsNumberGenerated.tan,
|
368
|
-
'PI': _pureFunctionsNumberGenerated.pi,
|
369
|
-
parse: parse,
|
370
|
-
evaluate: evaluate,
|
371
366
|
multinomial: _pureFunctionsNumberGenerated.multinomial,
|
367
|
+
permutations: _pureFunctionsNumberGenerated.permutations,
|
368
|
+
range: _pureFunctionsNumberGenerated.range,
|
369
|
+
sech: _pureFunctionsNumberGenerated.sech,
|
370
|
+
std: _pureFunctionsNumberGenerated.std,
|
371
|
+
'PI': _pureFunctionsNumberGenerated.pi,
|
372
|
+
clone: _pureFunctionsNumberGenerated.clone,
|
373
|
+
coth: _pureFunctionsNumberGenerated.coth,
|
374
|
+
gcd: _pureFunctionsNumberGenerated.gcd,
|
375
|
+
isPrime: _pureFunctionsNumberGenerated.isPrime,
|
376
|
+
numeric: _pureFunctionsNumberGenerated.numeric,
|
372
377
|
prod: _pureFunctionsNumberGenerated.prod,
|
373
|
-
|
374
|
-
|
378
|
+
bellNumbers: _pureFunctionsNumberGenerated.bellNumbers,
|
379
|
+
mad: _pureFunctionsNumberGenerated.mad,
|
380
|
+
sum: _pureFunctionsNumberGenerated.sum,
|
381
|
+
max: _pureFunctionsNumberGenerated.max,
|
382
|
+
parse: parse,
|
375
383
|
simplify: simplify,
|
376
|
-
rationalize: rationalize,
|
377
384
|
compile: compile,
|
378
|
-
|
379
|
-
mad: _pureFunctionsNumberGenerated.mad,
|
380
|
-
help: help,
|
381
|
-
stirlingS2: _pureFunctionsNumberGenerated.stirlingS2,
|
382
|
-
min: _pureFunctionsNumberGenerated.min,
|
383
|
-
asech: _pureFunctionsNumberGenerated.asech,
|
385
|
+
evaluate: evaluate,
|
384
386
|
derivative: derivative,
|
387
|
+
min: _pureFunctionsNumberGenerated.min,
|
388
|
+
rationalize: rationalize,
|
389
|
+
help: help,
|
385
390
|
parser: parser,
|
386
|
-
variance: _pureFunctionsNumberGenerated.variance,
|
387
|
-
bellNumbers: _pureFunctionsNumberGenerated.bellNumbers,
|
388
|
-
std: _pureFunctionsNumberGenerated.std,
|
389
|
-
range: _pureFunctionsNumberGenerated.range,
|
390
391
|
config: _configReadonly.config
|
391
392
|
});
|
392
393
|
(0, _extends2["default"])(mathWithTransform, math, {
|
394
|
+
apply: (0, _factoriesNumber.createApplyTransform)({
|
395
|
+
isInteger: _pureFunctionsNumberGenerated.isInteger,
|
396
|
+
typed: _pureFunctionsNumberGenerated.typed
|
397
|
+
}),
|
393
398
|
filter: (0, _factoriesNumber.createFilterTransform)({
|
394
399
|
typed: _pureFunctionsNumberGenerated.typed
|
395
400
|
}),
|
401
|
+
forEach: (0, _factoriesNumber.createForEachTransform)({
|
402
|
+
typed: _pureFunctionsNumberGenerated.typed
|
403
|
+
}),
|
396
404
|
map: (0, _factoriesNumber.createMapTransform)({
|
397
405
|
typed: _pureFunctionsNumberGenerated.typed
|
398
406
|
}),
|
399
|
-
|
407
|
+
mean: (0, _factoriesNumber.createMeanTransform)({
|
408
|
+
add: _pureFunctionsNumberGenerated.add,
|
409
|
+
divide: _pureFunctionsNumberGenerated.divide,
|
400
410
|
typed: _pureFunctionsNumberGenerated.typed
|
401
411
|
}),
|
402
412
|
subset: (0, _factoriesNumber.createSubsetTransform)({}),
|
403
|
-
|
404
|
-
|
413
|
+
std: (0, _factoriesNumber.createStdTransform)({
|
414
|
+
sqrt: _pureFunctionsNumberGenerated.sqrt,
|
415
|
+
typed: _pureFunctionsNumberGenerated.typed,
|
416
|
+
variance: _pureFunctionsNumberGenerated.variance
|
417
|
+
}),
|
418
|
+
sum: (0, _factoriesNumber.createSumTransform)({
|
419
|
+
add: _pureFunctionsNumberGenerated.add,
|
420
|
+
config: _configReadonly.config,
|
421
|
+
numeric: _pureFunctionsNumberGenerated.numeric,
|
405
422
|
typed: _pureFunctionsNumberGenerated.typed
|
406
423
|
}),
|
407
424
|
max: (0, _factoriesNumber.createMaxTransform)({
|
@@ -416,17 +433,6 @@ exports.parser = parser;
|
|
416
433
|
smaller: _pureFunctionsNumberGenerated.smaller,
|
417
434
|
typed: _pureFunctionsNumberGenerated.typed
|
418
435
|
}),
|
419
|
-
sum: (0, _factoriesNumber.createSumTransform)({
|
420
|
-
add: _pureFunctionsNumberGenerated.add,
|
421
|
-
config: _configReadonly.config,
|
422
|
-
numeric: _pureFunctionsNumberGenerated.numeric,
|
423
|
-
typed: _pureFunctionsNumberGenerated.typed
|
424
|
-
}),
|
425
|
-
mean: (0, _factoriesNumber.createMeanTransform)({
|
426
|
-
add: _pureFunctionsNumberGenerated.add,
|
427
|
-
divide: _pureFunctionsNumberGenerated.divide,
|
428
|
-
typed: _pureFunctionsNumberGenerated.typed
|
429
|
-
}),
|
430
436
|
range: (0, _factoriesNumber.createRangeTransform)({
|
431
437
|
matrix: _pureFunctionsNumberGenerated.matrix,
|
432
438
|
config: _configReadonly.config,
|
@@ -444,33 +450,28 @@ exports.parser = parser;
|
|
444
450
|
multiply: _pureFunctionsNumberGenerated.multiply,
|
445
451
|
subtract: _pureFunctionsNumberGenerated.subtract,
|
446
452
|
typed: _pureFunctionsNumberGenerated.typed
|
447
|
-
}),
|
448
|
-
std: (0, _factoriesNumber.createStdTransform)({
|
449
|
-
sqrt: _pureFunctionsNumberGenerated.sqrt,
|
450
|
-
typed: _pureFunctionsNumberGenerated.typed,
|
451
|
-
variance: _pureFunctionsNumberGenerated.variance
|
452
453
|
})
|
453
454
|
});
|
454
455
|
(0, _extends2["default"])(classes, {
|
455
|
-
Range: _pureFunctionsNumberGenerated.Range,
|
456
456
|
Chain: Chain,
|
457
|
+
Range: _pureFunctionsNumberGenerated.Range,
|
457
458
|
Node: Node,
|
458
|
-
ArrayNode: ArrayNode,
|
459
|
-
ConditionalNode: ConditionalNode,
|
460
|
-
FunctionAssignmentNode: FunctionAssignmentNode,
|
461
459
|
ObjectNode: ObjectNode,
|
462
|
-
|
460
|
+
RangeNode: RangeNode,
|
463
461
|
RelationalNode: RelationalNode,
|
464
|
-
ResultSet: _pureFunctionsNumberGenerated.ResultSet,
|
465
|
-
BlockNode: BlockNode,
|
466
|
-
OperatorNode: OperatorNode,
|
467
462
|
SymbolNode: SymbolNode,
|
468
463
|
AccessorNode: AccessorNode,
|
469
|
-
ConstantNode: ConstantNode,
|
470
|
-
RangeNode: RangeNode,
|
471
464
|
AssignmentNode: AssignmentNode,
|
465
|
+
ConditionalNode: ConditionalNode,
|
472
466
|
FunctionNode: FunctionNode,
|
473
467
|
IndexNode: IndexNode,
|
468
|
+
OperatorNode: OperatorNode,
|
469
|
+
ResultSet: _pureFunctionsNumberGenerated.ResultSet,
|
470
|
+
ConstantNode: ConstantNode,
|
471
|
+
FunctionAssignmentNode: FunctionAssignmentNode,
|
472
|
+
ParenthesisNode: ParenthesisNode,
|
473
|
+
BlockNode: BlockNode,
|
474
|
+
ArrayNode: ArrayNode,
|
474
475
|
Help: Help,
|
475
476
|
Parser: Parser
|
476
477
|
});
|
package/lib/cjs/entry/mainAny.js
CHANGED
@@ -11,28 +11,28 @@ var _exportNames = {
|
|
11
11
|
create: true,
|
12
12
|
factory: true
|
13
13
|
};
|
14
|
-
Object.defineProperty(exports, "
|
14
|
+
Object.defineProperty(exports, "ArgumentsError", {
|
15
15
|
enumerable: true,
|
16
16
|
get: function get() {
|
17
|
-
return
|
17
|
+
return _ArgumentsError.ArgumentsError;
|
18
18
|
}
|
19
19
|
});
|
20
|
-
Object.defineProperty(exports, "
|
20
|
+
Object.defineProperty(exports, "DimensionError", {
|
21
21
|
enumerable: true,
|
22
22
|
get: function get() {
|
23
|
-
return
|
23
|
+
return _DimensionError.DimensionError;
|
24
24
|
}
|
25
25
|
});
|
26
|
-
Object.defineProperty(exports, "
|
26
|
+
Object.defineProperty(exports, "IndexError", {
|
27
27
|
enumerable: true,
|
28
28
|
get: function get() {
|
29
|
-
return
|
29
|
+
return _IndexError.IndexError;
|
30
30
|
}
|
31
31
|
});
|
32
|
-
Object.defineProperty(exports, "
|
32
|
+
Object.defineProperty(exports, "config", {
|
33
33
|
enumerable: true,
|
34
34
|
get: function get() {
|
35
|
-
return
|
35
|
+
return _configReadonly.config;
|
36
36
|
}
|
37
37
|
});
|
38
38
|
Object.defineProperty(exports, "create", {
|