mathjs 10.1.1 → 10.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/HISTORY.md +17 -0
- package/docs/expressions/algebra.md +27 -0
- package/docs/reference/functions/abs.md +6 -0
- package/docs/reference/functions/acos.md +6 -0
- package/docs/reference/functions/acosh.md +6 -0
- package/docs/reference/functions/acot.md +6 -0
- package/docs/reference/functions/acoth.md +6 -0
- package/docs/reference/functions/acsc.md +6 -0
- package/docs/reference/functions/acsch.md +6 -0
- package/docs/reference/functions/add.md +6 -0
- package/docs/reference/functions/and.md +6 -0
- package/docs/reference/functions/apply.md +6 -0
- package/docs/reference/functions/arg.md +6 -0
- package/docs/reference/functions/asec.md +6 -0
- package/docs/reference/functions/asech.md +6 -0
- package/docs/reference/functions/asin.md +6 -0
- package/docs/reference/functions/asinh.md +6 -0
- package/docs/reference/functions/atan.md +6 -0
- package/docs/reference/functions/atan2.md +6 -0
- package/docs/reference/functions/atanh.md +6 -0
- package/docs/reference/functions/bellNumbers.md +6 -0
- package/docs/reference/functions/bin.md +6 -0
- package/docs/reference/functions/bitAnd.md +6 -0
- package/docs/reference/functions/bitNot.md +6 -0
- package/docs/reference/functions/bitOr.md +6 -0
- package/docs/reference/functions/bitXor.md +6 -0
- package/docs/reference/functions/catalan.md +6 -0
- package/docs/reference/functions/cbrt.md +6 -0
- package/docs/reference/functions/ceil.md +6 -0
- package/docs/reference/functions/clone.md +6 -0
- package/docs/reference/functions/column.md +6 -0
- package/docs/reference/functions/combinations.md +6 -0
- package/docs/reference/functions/combinationsWithRep.md +6 -0
- package/docs/reference/functions/compare.md +6 -0
- package/docs/reference/functions/compareNatural.md +6 -0
- package/docs/reference/functions/compareText.md +6 -0
- package/docs/reference/functions/compile.md +6 -0
- package/docs/reference/functions/composition.md +6 -0
- package/docs/reference/functions/concat.md +6 -0
- package/docs/reference/functions/conj.md +6 -0
- package/docs/reference/functions/cos.md +6 -0
- package/docs/reference/functions/cosh.md +6 -0
- package/docs/reference/functions/cot.md +6 -0
- package/docs/reference/functions/coth.md +6 -0
- package/docs/reference/functions/count.md +6 -0
- package/docs/reference/functions/cross.md +6 -0
- package/docs/reference/functions/csc.md +6 -0
- package/docs/reference/functions/csch.md +6 -0
- package/docs/reference/functions/ctranspose.md +6 -0
- package/docs/reference/functions/cube.md +6 -0
- package/docs/reference/functions/deepEqual.md +6 -0
- package/docs/reference/functions/derivative.md +6 -0
- package/docs/reference/functions/det.md +6 -0
- package/docs/reference/functions/diag.md +6 -0
- package/docs/reference/functions/diff.md +6 -0
- package/docs/reference/functions/distance.md +6 -0
- package/docs/reference/functions/divide.md +6 -0
- package/docs/reference/functions/dot.md +6 -0
- package/docs/reference/functions/dotDivide.md +6 -0
- package/docs/reference/functions/dotMultiply.md +6 -0
- package/docs/reference/functions/dotPow.md +6 -0
- package/docs/reference/functions/eigs.md +6 -0
- package/docs/reference/functions/equal.md +6 -0
- package/docs/reference/functions/equalText.md +6 -0
- package/docs/reference/functions/erf.md +6 -0
- package/docs/reference/functions/evaluate.md +6 -0
- package/docs/reference/functions/exp.md +6 -0
- package/docs/reference/functions/expm.md +6 -0
- package/docs/reference/functions/expm1.md +6 -0
- package/docs/reference/functions/factorial.md +6 -0
- package/docs/reference/functions/filter.md +6 -0
- package/docs/reference/functions/fix.md +6 -0
- package/docs/reference/functions/flatten.md +6 -0
- package/docs/reference/functions/floor.md +6 -0
- package/docs/reference/functions/forEach.md +6 -0
- package/docs/reference/functions/format.md +6 -0
- package/docs/reference/functions/gamma.md +6 -0
- package/docs/reference/functions/gcd.md +6 -0
- package/docs/reference/functions/getMatrixDataType.md +6 -0
- package/docs/reference/functions/hasNumericValue.md +6 -0
- package/docs/reference/functions/help.md +6 -0
- package/docs/reference/functions/hex.md +6 -0
- package/docs/reference/functions/hypot.md +6 -0
- package/docs/reference/functions/identity.md +6 -0
- package/docs/reference/functions/im.md +6 -0
- package/docs/reference/functions/intersect.md +6 -0
- package/docs/reference/functions/inv.md +6 -0
- package/docs/reference/functions/invmod.md +6 -0
- package/docs/reference/functions/isInteger.md +6 -0
- package/docs/reference/functions/isNaN.md +6 -0
- package/docs/reference/functions/isNegative.md +6 -0
- package/docs/reference/functions/isNumeric.md +6 -0
- package/docs/reference/functions/isPositive.md +6 -0
- package/docs/reference/functions/isPrime.md +6 -0
- package/docs/reference/functions/isZero.md +6 -0
- package/docs/reference/functions/kldivergence.md +6 -0
- package/docs/reference/functions/kron.md +6 -0
- package/docs/reference/functions/larger.md +6 -0
- package/docs/reference/functions/largerEq.md +6 -0
- package/docs/reference/functions/lcm.md +6 -0
- package/docs/reference/functions/leafCount.md +52 -0
- package/docs/reference/functions/leftShift.md +6 -0
- package/docs/reference/functions/log.md +6 -0
- package/docs/reference/functions/log10.md +6 -0
- package/docs/reference/functions/log1p.md +6 -0
- package/docs/reference/functions/log2.md +6 -0
- package/docs/reference/functions/lsolve.md +6 -0
- package/docs/reference/functions/lsolveAll.md +6 -0
- package/docs/reference/functions/lup.md +6 -0
- package/docs/reference/functions/lusolve.md +6 -0
- package/docs/reference/functions/mad.md +6 -0
- package/docs/reference/functions/map.md +6 -0
- package/docs/reference/functions/matrixFromColumns.md +6 -0
- package/docs/reference/functions/matrixFromFunction.md +6 -0
- package/docs/reference/functions/matrixFromRows.md +6 -0
- package/docs/reference/functions/max.md +6 -0
- package/docs/reference/functions/mean.md +6 -0
- package/docs/reference/functions/median.md +6 -0
- package/docs/reference/functions/min.md +6 -0
- package/docs/reference/functions/mod.md +6 -0
- package/docs/reference/functions/mode.md +6 -0
- package/docs/reference/functions/multinomial.md +6 -0
- package/docs/reference/functions/multiply.md +6 -0
- package/docs/reference/functions/norm.md +6 -0
- package/docs/reference/functions/not.md +6 -0
- package/docs/reference/functions/nthRoot.md +6 -0
- package/docs/reference/functions/nthRoots.md +6 -0
- package/docs/reference/functions/numeric.md +6 -0
- package/docs/reference/functions/oct.md +6 -0
- package/docs/reference/functions/ones.md +6 -0
- package/docs/reference/functions/or.md +6 -0
- package/docs/reference/functions/parser.md +6 -0
- package/docs/reference/functions/partitionSelect.md +6 -0
- package/docs/reference/functions/permutations.md +6 -0
- package/docs/reference/functions/pickRandom.md +6 -0
- package/docs/reference/functions/pow.md +6 -0
- package/docs/reference/functions/print.md +6 -0
- package/docs/reference/functions/prod.md +6 -0
- package/docs/reference/functions/qr.md +6 -0
- package/docs/reference/functions/quantileSeq.md +6 -0
- package/docs/reference/functions/random.md +6 -0
- package/docs/reference/functions/randomInt.md +6 -0
- package/docs/reference/functions/range.md +6 -0
- package/docs/reference/functions/rationalize.md +7 -1
- package/docs/reference/functions/re.md +6 -0
- package/docs/reference/functions/reshape.md +7 -0
- package/docs/reference/functions/resize.md +6 -0
- package/docs/reference/functions/resolve.md +46 -0
- package/docs/reference/functions/rightArithShift.md +6 -0
- package/docs/reference/functions/rightLogShift.md +6 -0
- package/docs/reference/functions/rotate.md +6 -0
- package/docs/reference/functions/rotationMatrix.md +6 -0
- package/docs/reference/functions/round.md +6 -0
- package/docs/reference/functions/row.md +6 -0
- package/docs/reference/functions/sec.md +6 -0
- package/docs/reference/functions/sech.md +6 -0
- package/docs/reference/functions/setCartesian.md +6 -0
- package/docs/reference/functions/setDifference.md +6 -0
- package/docs/reference/functions/setDistinct.md +6 -0
- package/docs/reference/functions/setIntersect.md +6 -0
- package/docs/reference/functions/setIsSubset.md +6 -0
- package/docs/reference/functions/setMultiplicity.md +6 -0
- package/docs/reference/functions/setPowerset.md +6 -0
- package/docs/reference/functions/setSize.md +6 -0
- package/docs/reference/functions/setSymDifference.md +6 -0
- package/docs/reference/functions/setUnion.md +6 -0
- package/docs/reference/functions/sign.md +6 -0
- package/docs/reference/functions/simplify.md +43 -6
- package/docs/reference/functions/simplifyCore.md +50 -0
- package/docs/reference/functions/sin.md +6 -0
- package/docs/reference/functions/sinh.md +6 -0
- package/docs/reference/functions/size.md +6 -0
- package/docs/reference/functions/slu.md +6 -0
- package/docs/reference/functions/smaller.md +6 -0
- package/docs/reference/functions/smallerEq.md +6 -0
- package/docs/reference/functions/sort.md +6 -0
- package/docs/reference/functions/sqrt.md +6 -0
- package/docs/reference/functions/sqrtm.md +6 -0
- package/docs/reference/functions/square.md +6 -0
- package/docs/reference/functions/squeeze.md +6 -0
- package/docs/reference/functions/std.md +6 -0
- package/docs/reference/functions/stirlingS2.md +6 -0
- package/docs/reference/functions/subset.md +6 -0
- package/docs/reference/functions/subtract.md +6 -0
- package/docs/reference/functions/sum.md +6 -0
- package/docs/reference/functions/tan.md +6 -0
- package/docs/reference/functions/tanh.md +6 -0
- package/docs/reference/functions/to.md +6 -0
- package/docs/reference/functions/trace.md +6 -0
- package/docs/reference/functions/transpose.md +6 -0
- package/docs/reference/functions/typeOf.md +6 -0
- package/docs/reference/functions/unaryMinus.md +6 -0
- package/docs/reference/functions/unaryPlus.md +6 -0
- package/docs/reference/functions/unequal.md +6 -0
- package/docs/reference/functions/usolve.md +6 -0
- package/docs/reference/functions/usolveAll.md +6 -0
- package/docs/reference/functions/variance.md +6 -0
- package/docs/reference/functions/xgcd.md +6 -0
- package/docs/reference/functions/xor.md +6 -0
- package/docs/reference/functions/zeros.md +6 -0
- package/docs/reference/functions.md +3 -0
- package/lib/browser/math.js +6 -6
- package/lib/browser/math.js.map +1 -1
- package/lib/cjs/core/create.js +4 -4
- package/lib/cjs/core/function/import.js +3 -3
- package/lib/cjs/core/function/typed.js +2 -2
- package/lib/cjs/defaultInstance.js +3 -3
- package/lib/cjs/entry/allFactoriesAny.js +1 -1
- package/lib/cjs/entry/allFactoriesNumber.js +1 -1
- package/lib/cjs/entry/configReadonly.js +1 -1
- package/lib/cjs/entry/dependenciesAny/dependenciesLeafCount.generated.js +23 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesRationalize.generated.js +3 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesResolve.generated.js +32 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSimplify.generated.js +6 -0
- package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyCore.generated.js +65 -0
- package/lib/cjs/entry/dependenciesAny.generated.js +24 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesRationalize.generated.js +3 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesResolve.generated.js +32 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSimplify.generated.js +6 -0
- package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyCore.generated.js +65 -0
- package/lib/cjs/entry/dependenciesNumber.generated.js +16 -0
- package/lib/cjs/entry/impureFunctionsAny.generated.js +67 -29
- package/lib/cjs/entry/impureFunctionsNumber.generated.js +96 -64
- package/lib/cjs/entry/pureFunctionsAny.generated.js +53 -55
- package/lib/cjs/entry/pureFunctionsNumber.generated.js +46 -48
- package/lib/cjs/expression/Help.js +4 -0
- package/lib/cjs/expression/Parser.js +1 -1
- package/lib/cjs/expression/embeddedDocs/core/typed.js +1 -1
- package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +14 -5
- package/lib/cjs/expression/embeddedDocs/function/algebra/leafCount.js +15 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/resolve.js +16 -0
- package/lib/cjs/expression/embeddedDocs/function/algebra/simplify.js +1 -1
- package/lib/cjs/expression/embeddedDocs/function/algebra/simplifyCore.js +15 -0
- package/lib/cjs/expression/node/FunctionNode.js +7 -7
- package/lib/cjs/expression/node/IndexNode.js +1 -1
- package/lib/cjs/expression/node/Node.js +3 -3
- package/lib/cjs/expression/node/ObjectNode.js +1 -1
- package/lib/cjs/expression/node/utils/access.js +1 -1
- package/lib/cjs/expression/node/utils/assign.js +1 -1
- package/lib/cjs/expression/parse.js +13 -13
- package/lib/cjs/factoriesAny.js +24 -0
- package/lib/cjs/factoriesNumber.js +16 -0
- package/lib/cjs/function/algebra/decomposition/qr.js +1 -1
- package/lib/cjs/function/algebra/leafCount.js +66 -0
- package/lib/cjs/function/algebra/rationalize.js +24 -41
- package/lib/cjs/function/algebra/resolve.js +106 -0
- package/lib/cjs/function/algebra/simplify/simplifyConstant.js +5 -5
- package/lib/cjs/function/algebra/simplify/util.js +171 -33
- package/lib/cjs/function/algebra/simplify.js +554 -207
- package/lib/cjs/function/algebra/{simplify/simplifyCore.js → simplifyCore.js} +67 -43
- package/lib/cjs/function/algebra/solver/lsolveAll.js +2 -2
- package/lib/cjs/function/algebra/solver/usolveAll.js +2 -2
- package/lib/cjs/function/arithmetic/ceil.js +3 -3
- package/lib/cjs/function/arithmetic/floor.js +3 -3
- package/lib/cjs/function/arithmetic/invmod.js +1 -1
- package/lib/cjs/function/arithmetic/norm.js +1 -1
- package/lib/cjs/function/arithmetic/round.js +1 -1
- package/lib/cjs/function/matrix/eigs/complexEigs.js +5 -5
- package/lib/cjs/function/matrix/matrixFromColumns.js +1 -1
- package/lib/cjs/function/matrix/matrixFromRows.js +1 -1
- package/lib/cjs/function/probability/util/seededRNG.js +2 -2
- package/lib/cjs/function/relational/compareNatural.js +6 -6
- package/lib/cjs/header.js +2 -2
- package/lib/cjs/plain/bignumber/index.js +1 -1
- package/lib/cjs/plain/number/combinations.js +18 -6
- package/lib/cjs/type/bignumber/BigNumber.js +2 -2
- package/lib/cjs/type/bignumber/function/bignumber.js +1 -1
- package/lib/cjs/type/boolean.js +2 -2
- package/lib/cjs/type/complex/Complex.js +14 -14
- package/lib/cjs/type/complex/function/complex.js +1 -1
- package/lib/cjs/type/fraction/Fraction.js +6 -6
- package/lib/cjs/type/fraction/function/fraction.js +1 -1
- package/lib/cjs/type/matrix/DenseMatrix.js +5 -5
- package/lib/cjs/type/matrix/SparseMatrix.js +2 -2
- package/lib/cjs/type/number.js +1 -1
- package/lib/cjs/type/string.js +2 -2
- package/lib/cjs/type/unit/Unit.js +8 -8
- package/lib/cjs/utils/customs.js +2 -2
- package/lib/cjs/utils/emitter.js +1 -1
- package/lib/cjs/utils/function.js +2 -2
- package/lib/cjs/utils/is.js +6 -6
- package/lib/cjs/utils/latex.js +3 -3
- package/lib/cjs/utils/lruQueue.js +1 -1
- package/lib/cjs/utils/map.js +3 -3
- package/lib/cjs/utils/object.js +2 -2
- package/lib/cjs/utils/snapshot.js +7 -7
- package/lib/cjs/utils/string.js +2 -2
- package/lib/cjs/version.js +1 -1
- package/lib/esm/entry/dependenciesAny/dependenciesLeafCount.generated.js +12 -0
- package/lib/esm/entry/dependenciesAny/dependenciesRationalize.generated.js +2 -0
- package/lib/esm/entry/dependenciesAny/dependenciesResolve.generated.js +18 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSimplify.generated.js +4 -0
- package/lib/esm/entry/dependenciesAny/dependenciesSimplifyCore.generated.js +40 -0
- package/lib/esm/entry/dependenciesAny.generated.js +3 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesRationalize.generated.js +2 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesResolve.generated.js +18 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSimplify.generated.js +4 -0
- package/lib/esm/entry/dependenciesNumber/dependenciesSimplifyCore.generated.js +40 -0
- package/lib/esm/entry/dependenciesNumber.generated.js +2 -0
- package/lib/esm/entry/impureFunctionsAny.generated.js +57 -22
- package/lib/esm/entry/impureFunctionsNumber.generated.js +83 -53
- package/lib/esm/entry/pureFunctionsAny.generated.js +42 -42
- package/lib/esm/entry/pureFunctionsNumber.generated.js +32 -32
- package/lib/esm/expression/Help.js +4 -0
- package/lib/esm/expression/embeddedDocs/core/typed.js +1 -1
- package/lib/esm/expression/embeddedDocs/embeddedDocs.js +6 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/leafCount.js +8 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/resolve.js +9 -0
- package/lib/esm/expression/embeddedDocs/function/algebra/simplify.js +1 -1
- package/lib/esm/expression/embeddedDocs/function/algebra/simplifyCore.js +8 -0
- package/lib/esm/factoriesAny.js +3 -0
- package/lib/esm/factoriesNumber.js +2 -0
- package/lib/esm/function/algebra/leafCount.js +59 -0
- package/lib/esm/function/algebra/rationalize.js +24 -40
- package/lib/esm/function/algebra/resolve.js +95 -0
- package/lib/esm/function/algebra/simplify/simplifyConstant.js +3 -3
- package/lib/esm/function/algebra/simplify/util.js +170 -34
- package/lib/esm/function/algebra/simplify.js +549 -202
- package/lib/esm/function/algebra/{simplify/simplifyCore.js → simplifyCore.js} +60 -44
- package/lib/esm/plain/number/combinations.js +18 -6
- package/lib/esm/version.js +1 -1
- package/package.json +15 -10
- package/types/index.d.ts +44 -2
- package/lib/cjs/function/algebra/simplify/resolve.js +0 -76
- package/lib/esm/function/algebra/simplify/resolve.js +0 -67
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "docs", {
|
|
12
12
|
return _embeddedDocs.embeddedDocs;
|
13
13
|
}
|
14
14
|
});
|
15
|
-
exports.simplify = exports.reviver = exports.rationalize = exports.parser = exports.parse = exports.help = exports.evaluate = void 0;
|
15
|
+
exports.simplifyCore = exports.simplify = exports.reviver = exports.resolve = exports.rationalize = exports.parser = exports.parse = exports.leafCount = exports.help = exports.evaluate = void 0;
|
16
16
|
|
17
17
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
18
18
|
|
@@ -143,6 +143,14 @@ var parse = (0, _factoriesAny.createParse)({
|
|
143
143
|
typed: _pureFunctionsAnyGenerated.typed
|
144
144
|
});
|
145
145
|
exports.parse = parse;
|
146
|
+
var resolve = (0, _factoriesAny.createResolve)({
|
147
|
+
ConstantNode: ConstantNode,
|
148
|
+
FunctionNode: FunctionNode,
|
149
|
+
OperatorNode: OperatorNode,
|
150
|
+
ParenthesisNode: ParenthesisNode,
|
151
|
+
parse: parse
|
152
|
+
});
|
153
|
+
exports.resolve = resolve;
|
146
154
|
var compile = (0, _factoriesAny.createCompile)({
|
147
155
|
parse: parse,
|
148
156
|
typed: _pureFunctionsAnyGenerated.typed
|
@@ -157,6 +165,11 @@ var Help = (0, _factoriesAny.createHelpClass)({
|
|
157
165
|
parse: parse
|
158
166
|
});
|
159
167
|
exports.Help = Help;
|
168
|
+
var leafCount = (0, _factoriesAny.createLeafCount)({
|
169
|
+
parse: parse,
|
170
|
+
typed: _pureFunctionsAnyGenerated.typed
|
171
|
+
});
|
172
|
+
exports.leafCount = leafCount;
|
160
173
|
var Parser = (0, _factoriesAny.createParserClass)({
|
161
174
|
evaluate: evaluate
|
162
175
|
});
|
@@ -166,6 +179,25 @@ var parser = (0, _factoriesAny.createParser)({
|
|
166
179
|
typed: _pureFunctionsAnyGenerated.typed
|
167
180
|
});
|
168
181
|
exports.parser = parser;
|
182
|
+
var simplifyCore = (0, _factoriesAny.createSimplifyCore)({
|
183
|
+
AccessorNode: AccessorNode,
|
184
|
+
ArrayNode: ArrayNode,
|
185
|
+
ConstantNode: ConstantNode,
|
186
|
+
FunctionNode: FunctionNode,
|
187
|
+
IndexNode: IndexNode,
|
188
|
+
ObjectNode: ObjectNode,
|
189
|
+
OperatorNode: OperatorNode,
|
190
|
+
ParenthesisNode: ParenthesisNode,
|
191
|
+
SymbolNode: SymbolNode,
|
192
|
+
add: _pureFunctionsAnyGenerated.add,
|
193
|
+
divide: _pureFunctionsAnyGenerated.divide,
|
194
|
+
equal: _pureFunctionsAnyGenerated.equal,
|
195
|
+
isZero: _pureFunctionsAnyGenerated.isZero,
|
196
|
+
multiply: _pureFunctionsAnyGenerated.multiply,
|
197
|
+
pow: _pureFunctionsAnyGenerated.pow,
|
198
|
+
subtract: _pureFunctionsAnyGenerated.subtract
|
199
|
+
});
|
200
|
+
exports.simplifyCore = simplifyCore;
|
169
201
|
var simplify = (0, _factoriesAny.createSimplify)({
|
170
202
|
bignumber: _pureFunctionsAnyGenerated.bignumber,
|
171
203
|
fraction: _pureFunctionsAnyGenerated.fraction,
|
@@ -188,6 +220,8 @@ var simplify = (0, _factoriesAny.createSimplify)({
|
|
188
220
|
multiply: _pureFunctionsAnyGenerated.multiply,
|
189
221
|
parse: parse,
|
190
222
|
pow: _pureFunctionsAnyGenerated.pow,
|
223
|
+
resolve: resolve,
|
224
|
+
simplifyCore: simplifyCore,
|
191
225
|
subtract: _pureFunctionsAnyGenerated.subtract,
|
192
226
|
typed: _pureFunctionsAnyGenerated.typed
|
193
227
|
});
|
@@ -207,12 +241,6 @@ var derivative = (0, _factoriesAny.createDerivative)({
|
|
207
241
|
typed: _pureFunctionsAnyGenerated.typed
|
208
242
|
});
|
209
243
|
exports.derivative = derivative;
|
210
|
-
var help = (0, _factoriesAny.createHelp)({
|
211
|
-
Help: Help,
|
212
|
-
mathWithTransform: mathWithTransform,
|
213
|
-
typed: _pureFunctionsAnyGenerated.typed
|
214
|
-
});
|
215
|
-
exports.help = help;
|
216
244
|
var rationalize = (0, _factoriesAny.createRationalize)({
|
217
245
|
bignumber: _pureFunctionsAnyGenerated.bignumber,
|
218
246
|
fraction: _pureFunctionsAnyGenerated.fraction,
|
@@ -236,25 +264,32 @@ var rationalize = (0, _factoriesAny.createRationalize)({
|
|
236
264
|
parse: parse,
|
237
265
|
pow: _pureFunctionsAnyGenerated.pow,
|
238
266
|
simplify: simplify,
|
267
|
+
simplifyCore: simplifyCore,
|
239
268
|
subtract: _pureFunctionsAnyGenerated.subtract,
|
240
269
|
typed: _pureFunctionsAnyGenerated.typed
|
241
270
|
});
|
242
271
|
exports.rationalize = rationalize;
|
243
|
-
(0,
|
272
|
+
var help = (0, _factoriesAny.createHelp)({
|
273
|
+
Help: Help,
|
274
|
+
mathWithTransform: mathWithTransform,
|
275
|
+
typed: _pureFunctionsAnyGenerated.typed
|
276
|
+
});
|
277
|
+
exports.help = help;
|
278
|
+
(0, _extends2.default)(math, {
|
244
279
|
e: _pureFunctionsAnyGenerated.e,
|
245
|
-
|
280
|
+
false: _pureFunctionsAnyGenerated._false,
|
246
281
|
fineStructure: _pureFunctionsAnyGenerated.fineStructure,
|
247
282
|
i: _pureFunctionsAnyGenerated.i,
|
248
283
|
Infinity: _pureFunctionsAnyGenerated._Infinity,
|
249
284
|
LN10: _pureFunctionsAnyGenerated.LN10,
|
250
285
|
LOG10E: _pureFunctionsAnyGenerated.LOG10E,
|
251
286
|
NaN: _pureFunctionsAnyGenerated._NaN,
|
252
|
-
|
287
|
+
null: _pureFunctionsAnyGenerated._null,
|
253
288
|
phi: _pureFunctionsAnyGenerated.phi,
|
254
289
|
SQRT1_2: _pureFunctionsAnyGenerated.SQRT1_2,
|
255
290
|
sackurTetrode: _pureFunctionsAnyGenerated.sackurTetrode,
|
256
291
|
tau: _pureFunctionsAnyGenerated.tau,
|
257
|
-
|
292
|
+
true: _pureFunctionsAnyGenerated._true,
|
258
293
|
'E': _pureFunctionsAnyGenerated.e,
|
259
294
|
version: _pureFunctionsAnyGenerated.version,
|
260
295
|
efimovFactor: _pureFunctionsAnyGenerated.efimovFactor,
|
@@ -279,7 +314,7 @@ exports.rationalize = rationalize;
|
|
279
314
|
atanh: _pureFunctionsAnyGenerated.atanh,
|
280
315
|
bignumber: _pureFunctionsAnyGenerated.bignumber,
|
281
316
|
bitNot: _pureFunctionsAnyGenerated.bitNot,
|
282
|
-
|
317
|
+
boolean: _pureFunctionsAnyGenerated.boolean,
|
283
318
|
chain: chain,
|
284
319
|
clone: _pureFunctionsAnyGenerated.clone,
|
285
320
|
combinations: _pureFunctionsAnyGenerated.combinations,
|
@@ -389,7 +424,7 @@ exports.rationalize = rationalize;
|
|
389
424
|
ones: _pureFunctionsAnyGenerated.ones,
|
390
425
|
partitionSelect: _pureFunctionsAnyGenerated.partitionSelect,
|
391
426
|
resize: _pureFunctionsAnyGenerated.resize,
|
392
|
-
|
427
|
+
rightArithShift: _pureFunctionsAnyGenerated.rightArithShift,
|
393
428
|
round: _pureFunctionsAnyGenerated.round,
|
394
429
|
smallerEq: _pureFunctionsAnyGenerated.smallerEq,
|
395
430
|
unequal: _pureFunctionsAnyGenerated.unequal,
|
@@ -415,7 +450,7 @@ exports.rationalize = rationalize;
|
|
415
450
|
pow: _pureFunctionsAnyGenerated.pow,
|
416
451
|
qr: _pureFunctionsAnyGenerated.qr,
|
417
452
|
range: _pureFunctionsAnyGenerated.range,
|
418
|
-
|
453
|
+
rightLogShift: _pureFunctionsAnyGenerated.rightLogShift,
|
419
454
|
row: _pureFunctionsAnyGenerated.row,
|
420
455
|
setCartesian: _pureFunctionsAnyGenerated.setCartesian,
|
421
456
|
setDistinct: _pureFunctionsAnyGenerated.setDistinct,
|
@@ -436,6 +471,7 @@ exports.rationalize = rationalize;
|
|
436
471
|
gamma: _pureFunctionsAnyGenerated.gamma,
|
437
472
|
index: _pureFunctionsAnyGenerated.index,
|
438
473
|
lcm: _pureFunctionsAnyGenerated.lcm,
|
474
|
+
log1p: _pureFunctionsAnyGenerated.log1p,
|
439
475
|
max: _pureFunctionsAnyGenerated.max,
|
440
476
|
quantileSeq: _pureFunctionsAnyGenerated.quantileSeq,
|
441
477
|
setDifference: _pureFunctionsAnyGenerated.setDifference,
|
@@ -483,26 +519,27 @@ exports.rationalize = rationalize;
|
|
483
519
|
electronMass: _pureFunctionsAnyGenerated.electronMass,
|
484
520
|
faraday: _pureFunctionsAnyGenerated.faraday,
|
485
521
|
hartreeEnergy: _pureFunctionsAnyGenerated.hartreeEnergy,
|
486
|
-
|
522
|
+
lup: _pureFunctionsAnyGenerated.lup,
|
487
523
|
magneticFluxQuantum: _pureFunctionsAnyGenerated.magneticFluxQuantum,
|
488
524
|
molarMassC12: _pureFunctionsAnyGenerated.molarMassC12,
|
489
525
|
parse: parse,
|
490
526
|
planckCharge: _pureFunctionsAnyGenerated.planckCharge,
|
491
527
|
planckTemperature: _pureFunctionsAnyGenerated.planckTemperature,
|
528
|
+
resolve: resolve,
|
492
529
|
secondRadiation: _pureFunctionsAnyGenerated.secondRadiation,
|
493
530
|
speedOfLight: _pureFunctionsAnyGenerated.speedOfLight,
|
494
531
|
stirlingS2: _pureFunctionsAnyGenerated.stirlingS2,
|
495
532
|
bellNumbers: _pureFunctionsAnyGenerated.bellNumbers,
|
496
533
|
compile: compile,
|
534
|
+
det: _pureFunctionsAnyGenerated.det,
|
497
535
|
evaluate: evaluate,
|
498
536
|
firstRadiation: _pureFunctionsAnyGenerated.firstRadiation,
|
499
|
-
|
537
|
+
leafCount: leafCount,
|
500
538
|
molarVolume: _pureFunctionsAnyGenerated.molarVolume,
|
501
539
|
protonMass: _pureFunctionsAnyGenerated.protonMass,
|
502
540
|
setSize: _pureFunctionsAnyGenerated.setSize,
|
503
541
|
thomsonCrossSection: _pureFunctionsAnyGenerated.thomsonCrossSection,
|
504
542
|
classicalElectronRadius: _pureFunctionsAnyGenerated.classicalElectronRadius,
|
505
|
-
det: _pureFunctionsAnyGenerated.det,
|
506
543
|
gravitationConstant: _pureFunctionsAnyGenerated.gravitationConstant,
|
507
544
|
inv: _pureFunctionsAnyGenerated.inv,
|
508
545
|
lusolve: _pureFunctionsAnyGenerated.lusolve,
|
@@ -514,21 +551,22 @@ exports.rationalize = rationalize;
|
|
514
551
|
mean: _pureFunctionsAnyGenerated.mean,
|
515
552
|
median: _pureFunctionsAnyGenerated.median,
|
516
553
|
planckLength: _pureFunctionsAnyGenerated.planckLength,
|
517
|
-
|
554
|
+
simplifyCore: simplifyCore,
|
518
555
|
variance: _pureFunctionsAnyGenerated.variance,
|
556
|
+
eigs: _pureFunctionsAnyGenerated.eigs,
|
557
|
+
mad: _pureFunctionsAnyGenerated.mad,
|
558
|
+
multinomial: _pureFunctionsAnyGenerated.multinomial,
|
559
|
+
simplify: simplify,
|
519
560
|
derivative: derivative,
|
520
|
-
help: help,
|
521
561
|
rationalize: rationalize,
|
522
562
|
std: _pureFunctionsAnyGenerated.std,
|
523
|
-
|
524
|
-
multinomial: _pureFunctionsAnyGenerated.multinomial,
|
525
|
-
mad: _pureFunctionsAnyGenerated.mad,
|
563
|
+
help: help,
|
526
564
|
norm: _pureFunctionsAnyGenerated.norm,
|
527
565
|
rotationMatrix: _pureFunctionsAnyGenerated.rotationMatrix,
|
528
566
|
rotate: _pureFunctionsAnyGenerated.rotate,
|
529
567
|
config: _configReadonly.config
|
530
568
|
});
|
531
|
-
(0, _extends2
|
569
|
+
(0, _extends2.default)(mathWithTransform, math, {
|
532
570
|
filter: (0, _factoriesAny.createFilterTransform)({
|
533
571
|
typed: _pureFunctionsAnyGenerated.typed
|
534
572
|
}),
|
@@ -601,6 +639,11 @@ exports.rationalize = rationalize;
|
|
601
639
|
range: _pureFunctionsAnyGenerated.range,
|
602
640
|
typed: _pureFunctionsAnyGenerated.typed
|
603
641
|
}),
|
642
|
+
std: (0, _factoriesAny.createStdTransform)({
|
643
|
+
sqrt: _pureFunctionsAnyGenerated.sqrt,
|
644
|
+
typed: _pureFunctionsAnyGenerated.typed,
|
645
|
+
variance: _pureFunctionsAnyGenerated.variance
|
646
|
+
}),
|
604
647
|
mean: (0, _factoriesAny.createMeanTransform)({
|
605
648
|
add: _pureFunctionsAnyGenerated.add,
|
606
649
|
divide: _pureFunctionsAnyGenerated.divide,
|
@@ -614,14 +657,9 @@ exports.rationalize = rationalize;
|
|
614
657
|
multiply: _pureFunctionsAnyGenerated.multiply,
|
615
658
|
subtract: _pureFunctionsAnyGenerated.subtract,
|
616
659
|
typed: _pureFunctionsAnyGenerated.typed
|
617
|
-
}),
|
618
|
-
std: (0, _factoriesAny.createStdTransform)({
|
619
|
-
sqrt: _pureFunctionsAnyGenerated.sqrt,
|
620
|
-
typed: _pureFunctionsAnyGenerated.typed,
|
621
|
-
variance: _pureFunctionsAnyGenerated.variance
|
622
660
|
})
|
623
661
|
});
|
624
|
-
(0, _extends2
|
662
|
+
(0, _extends2.default)(classes, {
|
625
663
|
BigNumber: _pureFunctionsAnyGenerated.BigNumber,
|
626
664
|
Chain: Chain,
|
627
665
|
Complex: _pureFunctionsAnyGenerated.Complex,
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "docs", {
|
|
12
12
|
return _embeddedDocs.embeddedDocs;
|
13
13
|
}
|
14
14
|
});
|
15
|
-
exports.simplify = exports.reviver = exports.rationalize = exports.parser = exports.parse = exports.help = exports.evaluate = void 0;
|
15
|
+
exports.simplifyCore = exports.simplify = exports.reviver = exports.resolve = exports.rationalize = exports.parser = exports.parse = exports.help = exports.evaluate = void 0;
|
16
16
|
|
17
17
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
18
18
|
|
@@ -38,10 +38,6 @@ var Chain = (0, _factoriesNumber.createChainClass)({
|
|
38
38
|
math: math
|
39
39
|
});
|
40
40
|
exports.Chain = Chain;
|
41
|
-
var reviver = (0, _factoriesNumber.createReviver)({
|
42
|
-
classes: classes
|
43
|
-
});
|
44
|
-
exports.reviver = reviver;
|
45
41
|
var chain = (0, _factoriesNumber.createChain)({
|
46
42
|
Chain: Chain,
|
47
43
|
typed: _pureFunctionsNumberGenerated.typed
|
@@ -63,6 +59,10 @@ var RelationalNode = (0, _factoriesNumber.createRelationalNode)({
|
|
63
59
|
Node: Node
|
64
60
|
});
|
65
61
|
exports.RelationalNode = RelationalNode;
|
62
|
+
var reviver = (0, _factoriesNumber.createReviver)({
|
63
|
+
classes: classes
|
64
|
+
});
|
65
|
+
exports.reviver = reviver;
|
66
66
|
var SymbolNode = (0, _factoriesNumber.createSymbolNode)({
|
67
67
|
Node: Node,
|
68
68
|
math: math
|
@@ -79,6 +79,11 @@ var AssignmentNode = (0, _factoriesNumber.createAssignmentNode)({
|
|
79
79
|
subset: _pureFunctionsNumberGenerated.subset
|
80
80
|
});
|
81
81
|
exports.AssignmentNode = AssignmentNode;
|
82
|
+
var BlockNode = (0, _factoriesNumber.createBlockNode)({
|
83
|
+
Node: Node,
|
84
|
+
ResultSet: _pureFunctionsNumberGenerated.ResultSet
|
85
|
+
});
|
86
|
+
exports.BlockNode = BlockNode;
|
82
87
|
var ConditionalNode = (0, _factoriesNumber.createConditionalNode)({
|
83
88
|
Node: Node
|
84
89
|
});
|
@@ -112,15 +117,29 @@ var ParenthesisNode = (0, _factoriesNumber.createParenthesisNode)({
|
|
112
117
|
Node: Node
|
113
118
|
});
|
114
119
|
exports.ParenthesisNode = ParenthesisNode;
|
115
|
-
var BlockNode = (0, _factoriesNumber.createBlockNode)({
|
116
|
-
Node: Node,
|
117
|
-
ResultSet: _pureFunctionsNumberGenerated.ResultSet
|
118
|
-
});
|
119
|
-
exports.BlockNode = BlockNode;
|
120
120
|
var ArrayNode = (0, _factoriesNumber.createArrayNode)({
|
121
121
|
Node: Node
|
122
122
|
});
|
123
123
|
exports.ArrayNode = ArrayNode;
|
124
|
+
var simplifyCore = (0, _factoriesNumber.createSimplifyCore)({
|
125
|
+
AccessorNode: AccessorNode,
|
126
|
+
ArrayNode: ArrayNode,
|
127
|
+
ConstantNode: ConstantNode,
|
128
|
+
FunctionNode: FunctionNode,
|
129
|
+
IndexNode: IndexNode,
|
130
|
+
ObjectNode: ObjectNode,
|
131
|
+
OperatorNode: OperatorNode,
|
132
|
+
ParenthesisNode: ParenthesisNode,
|
133
|
+
SymbolNode: SymbolNode,
|
134
|
+
add: _pureFunctionsNumberGenerated.add,
|
135
|
+
divide: _pureFunctionsNumberGenerated.divide,
|
136
|
+
equal: _pureFunctionsNumberGenerated.equal,
|
137
|
+
isZero: _pureFunctionsNumberGenerated.isZero,
|
138
|
+
multiply: _pureFunctionsNumberGenerated.multiply,
|
139
|
+
pow: _pureFunctionsNumberGenerated.pow,
|
140
|
+
subtract: _pureFunctionsNumberGenerated.subtract
|
141
|
+
});
|
142
|
+
exports.simplifyCore = simplifyCore;
|
124
143
|
var parse = (0, _factoriesNumber.createParse)({
|
125
144
|
AccessorNode: AccessorNode,
|
126
145
|
ArrayNode: ArrayNode,
|
@@ -142,6 +161,32 @@ var parse = (0, _factoriesNumber.createParse)({
|
|
142
161
|
typed: _pureFunctionsNumberGenerated.typed
|
143
162
|
});
|
144
163
|
exports.parse = parse;
|
164
|
+
var resolve = (0, _factoriesNumber.createResolve)({
|
165
|
+
ConstantNode: ConstantNode,
|
166
|
+
FunctionNode: FunctionNode,
|
167
|
+
OperatorNode: OperatorNode,
|
168
|
+
ParenthesisNode: ParenthesisNode,
|
169
|
+
parse: parse
|
170
|
+
});
|
171
|
+
exports.resolve = resolve;
|
172
|
+
var compile = (0, _factoriesNumber.createCompile)({
|
173
|
+
parse: parse,
|
174
|
+
typed: _pureFunctionsNumberGenerated.typed
|
175
|
+
});
|
176
|
+
exports.compile = compile;
|
177
|
+
var evaluate = (0, _factoriesNumber.createEvaluate)({
|
178
|
+
parse: parse,
|
179
|
+
typed: _pureFunctionsNumberGenerated.typed
|
180
|
+
});
|
181
|
+
exports.evaluate = evaluate;
|
182
|
+
var Help = (0, _factoriesNumber.createHelpClass)({
|
183
|
+
parse: parse
|
184
|
+
});
|
185
|
+
exports.Help = Help;
|
186
|
+
var Parser = (0, _factoriesNumber.createParserClass)({
|
187
|
+
evaluate: evaluate
|
188
|
+
});
|
189
|
+
exports.Parser = Parser;
|
145
190
|
var simplify = (0, _factoriesNumber.createSimplify)({
|
146
191
|
AccessorNode: AccessorNode,
|
147
192
|
ArrayNode: ArrayNode,
|
@@ -162,28 +207,12 @@ var simplify = (0, _factoriesNumber.createSimplify)({
|
|
162
207
|
multiply: _pureFunctionsNumberGenerated.multiply,
|
163
208
|
parse: parse,
|
164
209
|
pow: _pureFunctionsNumberGenerated.pow,
|
210
|
+
resolve: resolve,
|
211
|
+
simplifyCore: simplifyCore,
|
165
212
|
subtract: _pureFunctionsNumberGenerated.subtract,
|
166
213
|
typed: _pureFunctionsNumberGenerated.typed
|
167
214
|
});
|
168
215
|
exports.simplify = simplify;
|
169
|
-
var compile = (0, _factoriesNumber.createCompile)({
|
170
|
-
parse: parse,
|
171
|
-
typed: _pureFunctionsNumberGenerated.typed
|
172
|
-
});
|
173
|
-
exports.compile = compile;
|
174
|
-
var evaluate = (0, _factoriesNumber.createEvaluate)({
|
175
|
-
parse: parse,
|
176
|
-
typed: _pureFunctionsNumberGenerated.typed
|
177
|
-
});
|
178
|
-
exports.evaluate = evaluate;
|
179
|
-
var Help = (0, _factoriesNumber.createHelpClass)({
|
180
|
-
parse: parse
|
181
|
-
});
|
182
|
-
exports.Help = Help;
|
183
|
-
var Parser = (0, _factoriesNumber.createParserClass)({
|
184
|
-
evaluate: evaluate
|
185
|
-
});
|
186
|
-
exports.Parser = Parser;
|
187
216
|
var derivative = (0, _factoriesNumber.createDerivative)({
|
188
217
|
ConstantNode: ConstantNode,
|
189
218
|
FunctionNode: FunctionNode,
|
@@ -220,6 +249,7 @@ var rationalize = (0, _factoriesNumber.createRationalize)({
|
|
220
249
|
parse: parse,
|
221
250
|
pow: _pureFunctionsNumberGenerated.pow,
|
222
251
|
simplify: simplify,
|
252
|
+
simplifyCore: simplifyCore,
|
223
253
|
subtract: _pureFunctionsNumberGenerated.subtract,
|
224
254
|
typed: _pureFunctionsNumberGenerated.typed
|
225
255
|
});
|
@@ -235,19 +265,18 @@ var parser = (0, _factoriesNumber.createParser)({
|
|
235
265
|
typed: _pureFunctionsNumberGenerated.typed
|
236
266
|
});
|
237
267
|
exports.parser = parser;
|
238
|
-
(0, _extends2
|
268
|
+
(0, _extends2.default)(math, {
|
239
269
|
e: _pureFunctionsNumberGenerated.e,
|
240
|
-
|
270
|
+
false: _pureFunctionsNumberGenerated._false,
|
241
271
|
index: _pureFunctionsNumberGenerated.index,
|
242
272
|
Infinity: _pureFunctionsNumberGenerated._Infinity,
|
243
273
|
LN10: _pureFunctionsNumberGenerated.LN10,
|
244
274
|
LOG10E: _pureFunctionsNumberGenerated.LOG10E,
|
245
275
|
matrix: _pureFunctionsNumberGenerated.matrix,
|
246
276
|
NaN: _pureFunctionsNumberGenerated._NaN,
|
247
|
-
|
277
|
+
null: _pureFunctionsNumberGenerated._null,
|
248
278
|
phi: _pureFunctionsNumberGenerated.phi,
|
249
279
|
replacer: _pureFunctionsNumberGenerated.replacer,
|
250
|
-
reviver: reviver,
|
251
280
|
SQRT1_2: _pureFunctionsNumberGenerated.SQRT1_2,
|
252
281
|
subset: _pureFunctionsNumberGenerated.subset,
|
253
282
|
tau: _pureFunctionsNumberGenerated.tau,
|
@@ -268,7 +297,7 @@ exports.parser = parser;
|
|
268
297
|
atanh: _pureFunctionsNumberGenerated.atanh,
|
269
298
|
bitAnd: _pureFunctionsNumberGenerated.bitAnd,
|
270
299
|
bitOr: _pureFunctionsNumberGenerated.bitOr,
|
271
|
-
|
300
|
+
boolean: _pureFunctionsNumberGenerated.boolean,
|
272
301
|
cbrt: _pureFunctionsNumberGenerated.cbrt,
|
273
302
|
chain: chain,
|
274
303
|
combinations: _pureFunctionsNumberGenerated.combinations,
|
@@ -306,10 +335,10 @@ exports.parser = parser;
|
|
306
335
|
pi: _pureFunctionsNumberGenerated.pi,
|
307
336
|
pow: _pureFunctionsNumberGenerated.pow,
|
308
337
|
random: _pureFunctionsNumberGenerated.random,
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
338
|
+
reviver: reviver,
|
339
|
+
rightLogShift: _pureFunctionsNumberGenerated.rightLogShift,
|
340
|
+
SQRT2: _pureFunctionsNumberGenerated.SQRT2,
|
341
|
+
sech: _pureFunctionsNumberGenerated.sech,
|
313
342
|
sin: _pureFunctionsNumberGenerated.sin,
|
314
343
|
size: _pureFunctionsNumberGenerated.size,
|
315
344
|
smallerEq: _pureFunctionsNumberGenerated.smallerEq,
|
@@ -339,7 +368,8 @@ exports.parser = parser;
|
|
339
368
|
nthRoot: _pureFunctionsNumberGenerated.nthRoot,
|
340
369
|
pickRandom: _pureFunctionsNumberGenerated.pickRandom,
|
341
370
|
randomInt: _pureFunctionsNumberGenerated.randomInt,
|
342
|
-
|
371
|
+
rightArithShift: _pureFunctionsNumberGenerated.rightArithShift,
|
372
|
+
sec: _pureFunctionsNumberGenerated.sec,
|
343
373
|
sinh: _pureFunctionsNumberGenerated.sinh,
|
344
374
|
sqrt: _pureFunctionsNumberGenerated.sqrt,
|
345
375
|
tan: _pureFunctionsNumberGenerated.tan,
|
@@ -348,8 +378,7 @@ exports.parser = parser;
|
|
348
378
|
apply: _pureFunctionsNumberGenerated.apply,
|
349
379
|
asinh: _pureFunctionsNumberGenerated.asinh,
|
350
380
|
bitXor: _pureFunctionsNumberGenerated.bitXor,
|
351
|
-
|
352
|
-
compareNatural: _pureFunctionsNumberGenerated.compareNatural,
|
381
|
+
clone: _pureFunctionsNumberGenerated.clone,
|
353
382
|
equal: _pureFunctionsNumberGenerated.equal,
|
354
383
|
factorial: _pureFunctionsNumberGenerated.factorial,
|
355
384
|
hasNumericValue: _pureFunctionsNumberGenerated.hasNumericValue,
|
@@ -360,13 +389,14 @@ exports.parser = parser;
|
|
360
389
|
partitionSelect: _pureFunctionsNumberGenerated.partitionSelect,
|
361
390
|
print: _pureFunctionsNumberGenerated.print,
|
362
391
|
quantileSeq: _pureFunctionsNumberGenerated.quantileSeq,
|
363
|
-
|
392
|
+
round: _pureFunctionsNumberGenerated.round,
|
364
393
|
smaller: _pureFunctionsNumberGenerated.smaller,
|
365
394
|
stirlingS2: _pureFunctionsNumberGenerated.stirlingS2,
|
366
|
-
|
395
|
+
true: _pureFunctionsNumberGenerated._true,
|
367
396
|
variance: _pureFunctionsNumberGenerated.variance,
|
368
397
|
acsch: _pureFunctionsNumberGenerated.acsch,
|
369
398
|
atan2: _pureFunctionsNumberGenerated.atan2,
|
399
|
+
catalan: _pureFunctionsNumberGenerated.catalan,
|
370
400
|
composition: _pureFunctionsNumberGenerated.composition,
|
371
401
|
deepEqual: _pureFunctionsNumberGenerated.deepEqual,
|
372
402
|
floor: _pureFunctionsNumberGenerated.floor,
|
@@ -376,23 +406,25 @@ exports.parser = parser;
|
|
376
406
|
multinomial: _pureFunctionsNumberGenerated.multinomial,
|
377
407
|
permutations: _pureFunctionsNumberGenerated.permutations,
|
378
408
|
range: _pureFunctionsNumberGenerated.range,
|
379
|
-
|
409
|
+
sign: _pureFunctionsNumberGenerated.sign,
|
380
410
|
std: _pureFunctionsNumberGenerated.std,
|
381
411
|
'PI': _pureFunctionsNumberGenerated.pi,
|
382
|
-
|
412
|
+
compareNatural: _pureFunctionsNumberGenerated.compareNatural,
|
383
413
|
coth: _pureFunctionsNumberGenerated.coth,
|
384
414
|
gcd: _pureFunctionsNumberGenerated.gcd,
|
385
415
|
isPrime: _pureFunctionsNumberGenerated.isPrime,
|
386
416
|
numeric: _pureFunctionsNumberGenerated.numeric,
|
387
417
|
prod: _pureFunctionsNumberGenerated.prod,
|
418
|
+
simplifyCore: simplifyCore,
|
419
|
+
sum: _pureFunctionsNumberGenerated.sum,
|
388
420
|
bellNumbers: _pureFunctionsNumberGenerated.bellNumbers,
|
389
421
|
mad: _pureFunctionsNumberGenerated.mad,
|
390
|
-
sum: _pureFunctionsNumberGenerated.sum,
|
391
422
|
max: _pureFunctionsNumberGenerated.max,
|
392
423
|
parse: parse,
|
393
|
-
|
424
|
+
resolve: resolve,
|
394
425
|
compile: compile,
|
395
426
|
evaluate: evaluate,
|
427
|
+
simplify: simplify,
|
396
428
|
derivative: derivative,
|
397
429
|
min: _pureFunctionsNumberGenerated.min,
|
398
430
|
rationalize: rationalize,
|
@@ -400,7 +432,7 @@ exports.parser = parser;
|
|
400
432
|
parser: parser,
|
401
433
|
config: _configReadonly.config
|
402
434
|
});
|
403
|
-
(0, _extends2
|
435
|
+
(0, _extends2.default)(mathWithTransform, math, {
|
404
436
|
apply: (0, _factoriesNumber.createApplyTransform)({
|
405
437
|
isInteger: _pureFunctionsNumberGenerated.isInteger,
|
406
438
|
typed: _pureFunctionsNumberGenerated.typed
|
@@ -420,15 +452,13 @@ exports.parser = parser;
|
|
420
452
|
typed: _pureFunctionsNumberGenerated.typed
|
421
453
|
}),
|
422
454
|
subset: (0, _factoriesNumber.createSubsetTransform)({}),
|
423
|
-
|
424
|
-
sqrt: _pureFunctionsNumberGenerated.sqrt,
|
425
|
-
typed: _pureFunctionsNumberGenerated.typed,
|
426
|
-
variance: _pureFunctionsNumberGenerated.variance
|
427
|
-
}),
|
428
|
-
sum: (0, _factoriesNumber.createSumTransform)({
|
455
|
+
variance: (0, _factoriesNumber.createVarianceTransform)({
|
429
456
|
add: _pureFunctionsNumberGenerated.add,
|
430
|
-
|
431
|
-
|
457
|
+
apply: _pureFunctionsNumberGenerated.apply,
|
458
|
+
divide: _pureFunctionsNumberGenerated.divide,
|
459
|
+
isNaN: _pureFunctionsNumberGenerated.isNaN,
|
460
|
+
multiply: _pureFunctionsNumberGenerated.multiply,
|
461
|
+
subtract: _pureFunctionsNumberGenerated.subtract,
|
432
462
|
typed: _pureFunctionsNumberGenerated.typed
|
433
463
|
}),
|
434
464
|
max: (0, _factoriesNumber.createMaxTransform)({
|
@@ -452,19 +482,22 @@ exports.parser = parser;
|
|
452
482
|
smallerEq: _pureFunctionsNumberGenerated.smallerEq,
|
453
483
|
typed: _pureFunctionsNumberGenerated.typed
|
454
484
|
}),
|
455
|
-
|
485
|
+
std: (0, _factoriesNumber.createStdTransform)({
|
486
|
+
sqrt: _pureFunctionsNumberGenerated.sqrt,
|
487
|
+
typed: _pureFunctionsNumberGenerated.typed,
|
488
|
+
variance: _pureFunctionsNumberGenerated.variance
|
489
|
+
}),
|
490
|
+
sum: (0, _factoriesNumber.createSumTransform)({
|
456
491
|
add: _pureFunctionsNumberGenerated.add,
|
457
|
-
|
458
|
-
|
459
|
-
isNaN: _pureFunctionsNumberGenerated.isNaN,
|
460
|
-
multiply: _pureFunctionsNumberGenerated.multiply,
|
461
|
-
subtract: _pureFunctionsNumberGenerated.subtract,
|
492
|
+
config: _configReadonly.config,
|
493
|
+
numeric: _pureFunctionsNumberGenerated.numeric,
|
462
494
|
typed: _pureFunctionsNumberGenerated.typed
|
463
495
|
})
|
464
496
|
});
|
465
|
-
(0, _extends2
|
497
|
+
(0, _extends2.default)(classes, {
|
466
498
|
Chain: Chain,
|
467
499
|
Range: _pureFunctionsNumberGenerated.Range,
|
500
|
+
ResultSet: _pureFunctionsNumberGenerated.ResultSet,
|
468
501
|
Node: Node,
|
469
502
|
ObjectNode: ObjectNode,
|
470
503
|
RangeNode: RangeNode,
|
@@ -472,15 +505,14 @@ exports.parser = parser;
|
|
472
505
|
SymbolNode: SymbolNode,
|
473
506
|
AccessorNode: AccessorNode,
|
474
507
|
AssignmentNode: AssignmentNode,
|
508
|
+
BlockNode: BlockNode,
|
475
509
|
ConditionalNode: ConditionalNode,
|
476
510
|
FunctionNode: FunctionNode,
|
477
511
|
IndexNode: IndexNode,
|
478
512
|
OperatorNode: OperatorNode,
|
479
|
-
ResultSet: _pureFunctionsNumberGenerated.ResultSet,
|
480
513
|
ConstantNode: ConstantNode,
|
481
514
|
FunctionAssignmentNode: FunctionAssignmentNode,
|
482
515
|
ParenthesisNode: ParenthesisNode,
|
483
|
-
BlockNode: BlockNode,
|
484
516
|
ArrayNode: ArrayNode,
|
485
517
|
Help: Help,
|
486
518
|
Parser: Parser
|