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
package/lib/cjs/core/create.js
CHANGED
@@ -35,7 +35,7 @@ var _config2 = require("./config.js");
|
|
35
35
|
|
36
36
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
37
37
|
|
38
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return {
|
38
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
39
39
|
|
40
40
|
/**
|
41
41
|
* Create a mathjs instance from given factory functions and optionally config
|
@@ -77,7 +77,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
77
77
|
* - `on`, `off`, `once`, `emit` for events
|
78
78
|
*/
|
79
79
|
function create(factories, config) {
|
80
|
-
var configInternal = (0, _extends2
|
80
|
+
var configInternal = (0, _extends2.default)({}, _config2.DEFAULT_CONFIG, config); // simple test for ES5 support
|
81
81
|
|
82
82
|
if (typeof Object.create !== 'function') {
|
83
83
|
throw new Error('ES5 not supported by this JavaScript engine. ' + 'Please load the es5-shim and es5-sham library for compatibility.');
|
@@ -194,7 +194,7 @@ function create(factories, config) {
|
|
194
194
|
}
|
195
195
|
|
196
196
|
var internalImport = (0, _import.importFactory)(lazyTyped, load, math, importedFactories);
|
197
|
-
math
|
197
|
+
math.import = internalImport; // listen for changes in config, import all functions again when changed
|
198
198
|
// TODO: move this listener into the import function?
|
199
199
|
|
200
200
|
math.on('config', function () {
|
@@ -215,7 +215,7 @@ function create(factories, config) {
|
|
215
215
|
math.factory = _factory.factory; // import the factory functions like createAdd as an array instead of object,
|
216
216
|
// else they will get a different naming (`createAdd` instead of `add`).
|
217
217
|
|
218
|
-
math
|
218
|
+
math.import((0, _object.values)((0, _object.deepFlatten)(factories)));
|
219
219
|
math.ArgumentsError = _ArgumentsError.ArgumentsError;
|
220
220
|
math.DimensionError = _DimensionError.DimensionError;
|
221
221
|
math.IndexError = _IndexError.IndexError;
|
@@ -93,7 +93,7 @@ function importFactory(typed, load, math, importedFactories) {
|
|
93
93
|
value.forEach(function (item) {
|
94
94
|
return flattenImports(flatValues, item);
|
95
95
|
});
|
96
|
-
} else if ((0, _typeof2
|
96
|
+
} else if ((0, _typeof2.default)(value) === 'object') {
|
97
97
|
for (var _name in value) {
|
98
98
|
if ((0, _object.hasOwnProperty)(value, _name)) {
|
99
99
|
flattenImports(flatValues, value[_name], _name);
|
@@ -156,7 +156,7 @@ function importFactory(typed, load, math, importedFactories) {
|
|
156
156
|
|
157
157
|
|
158
158
|
if (hasTypedFunctionSignature(value)) {
|
159
|
-
value = typed(name, (0, _defineProperty2
|
159
|
+
value = typed(name, (0, _defineProperty2.default)({}, value.signature, value));
|
160
160
|
}
|
161
161
|
|
162
162
|
if (isTypedFunction(math[name]) && isTypedFunction(value)) {
|
@@ -361,7 +361,7 @@ function importFactory(typed, load, math, importedFactories) {
|
|
361
361
|
|
362
362
|
|
363
363
|
function isTypedFunction(fn) {
|
364
|
-
return typeof fn === 'function' && (0, _typeof2
|
364
|
+
return typeof fn === 'function' && (0, _typeof2.default)(fn.signatures) === 'object';
|
365
365
|
}
|
366
366
|
|
367
367
|
function hasTypedFunctionSignature(fn) {
|
@@ -58,8 +58,8 @@ var _map = require("../../utils/map.js");
|
|
58
58
|
var _createTyped2 = function _createTyped() {
|
59
59
|
// initially, return the original instance of typed-function
|
60
60
|
// consecutively, return a new instance from typed.create.
|
61
|
-
_createTyped2 = _typedFunction
|
62
|
-
return _typedFunction
|
61
|
+
_createTyped2 = _typedFunction.default.create;
|
62
|
+
return _typedFunction.default;
|
63
63
|
};
|
64
64
|
|
65
65
|
var dependencies = ['?BigNumber', '?Complex', '?DenseMatrix', '?Fraction'];
|
@@ -5,7 +5,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
6
6
|
value: true
|
7
7
|
});
|
8
|
-
exports
|
8
|
+
exports.default = void 0;
|
9
9
|
|
10
10
|
var all = _interopRequireWildcard(require("./factoriesAny.js"));
|
11
11
|
|
@@ -13,8 +13,8 @@ var _create = require("./core/create.js");
|
|
13
13
|
|
14
14
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
15
15
|
|
16
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return {
|
16
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
17
17
|
|
18
18
|
var _default = (0, _create.create)(all);
|
19
19
|
|
20
|
-
exports
|
20
|
+
exports.default = _default;
|
@@ -11,7 +11,7 @@ var allFactories = _interopRequireWildcard(require("../factoriesAny.js"));
|
|
11
11
|
|
12
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
13
13
|
|
14
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return {
|
14
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
15
15
|
|
16
16
|
// creating all factories here in a separate file is needed to get tree-shaking working
|
17
17
|
var all = allFactories;
|
@@ -11,7 +11,7 @@ var allFactories = _interopRequireWildcard(require("../factoriesNumber.js"));
|
|
11
11
|
|
12
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
13
13
|
|
14
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return {
|
14
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
15
15
|
|
16
16
|
// creating all factories here in a separate file is needed to get tree-shaking working
|
17
17
|
var all = allFactories;
|
@@ -23,7 +23,7 @@ var config = /* #__PURE__ */function config(options) {
|
|
23
23
|
};
|
24
24
|
|
25
25
|
exports.config = config;
|
26
|
-
(0, _extends2
|
26
|
+
(0, _extends2.default)(config, _config.DEFAULT_CONFIG, {
|
27
27
|
MATRIX_OPTIONS: _config2.MATRIX_OPTIONS,
|
28
28
|
NUMBER_OPTIONS: _config2.NUMBER_OPTIONS
|
29
29
|
});
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.leafCountDependencies = void 0;
|
7
|
+
|
8
|
+
var _dependenciesParseGenerated = require("./dependenciesParse.generated.js");
|
9
|
+
|
10
|
+
var _dependenciesTypedGenerated = require("./dependenciesTyped.generated.js");
|
11
|
+
|
12
|
+
var _factoriesAny = require("../../factoriesAny.js");
|
13
|
+
|
14
|
+
/**
|
15
|
+
* THIS FILE IS AUTO-GENERATED
|
16
|
+
* DON'T MAKE CHANGES HERE
|
17
|
+
*/
|
18
|
+
var leafCountDependencies = {
|
19
|
+
parseDependencies: _dependenciesParseGenerated.parseDependencies,
|
20
|
+
typedDependencies: _dependenciesTypedGenerated.typedDependencies,
|
21
|
+
createLeafCount: _factoriesAny.createLeafCount
|
22
|
+
};
|
23
|
+
exports.leafCountDependencies = leafCountDependencies;
|
@@ -45,6 +45,8 @@ var _dependenciesPowGenerated = require("./dependenciesPow.generated.js");
|
|
45
45
|
|
46
46
|
var _dependenciesSimplifyGenerated = require("./dependenciesSimplify.generated.js");
|
47
47
|
|
48
|
+
var _dependenciesSimplifyCoreGenerated = require("./dependenciesSimplifyCore.generated.js");
|
49
|
+
|
48
50
|
var _dependenciesSubtractGenerated = require("./dependenciesSubtract.generated.js");
|
49
51
|
|
50
52
|
var _dependenciesTypedGenerated = require("./dependenciesTyped.generated.js");
|
@@ -76,6 +78,7 @@ var rationalizeDependencies = {
|
|
76
78
|
parseDependencies: _dependenciesParseGenerated.parseDependencies,
|
77
79
|
powDependencies: _dependenciesPowGenerated.powDependencies,
|
78
80
|
simplifyDependencies: _dependenciesSimplifyGenerated.simplifyDependencies,
|
81
|
+
simplifyCoreDependencies: _dependenciesSimplifyCoreGenerated.simplifyCoreDependencies,
|
79
82
|
subtractDependencies: _dependenciesSubtractGenerated.subtractDependencies,
|
80
83
|
typedDependencies: _dependenciesTypedGenerated.typedDependencies,
|
81
84
|
createRationalize: _factoriesAny.createRationalize
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.resolveDependencies = void 0;
|
7
|
+
|
8
|
+
var _dependenciesConstantNodeGenerated = require("./dependenciesConstantNode.generated.js");
|
9
|
+
|
10
|
+
var _dependenciesFunctionNodeGenerated = require("./dependenciesFunctionNode.generated.js");
|
11
|
+
|
12
|
+
var _dependenciesOperatorNodeGenerated = require("./dependenciesOperatorNode.generated.js");
|
13
|
+
|
14
|
+
var _dependenciesParenthesisNodeGenerated = require("./dependenciesParenthesisNode.generated.js");
|
15
|
+
|
16
|
+
var _dependenciesParseGenerated = require("./dependenciesParse.generated.js");
|
17
|
+
|
18
|
+
var _factoriesAny = require("../../factoriesAny.js");
|
19
|
+
|
20
|
+
/**
|
21
|
+
* THIS FILE IS AUTO-GENERATED
|
22
|
+
* DON'T MAKE CHANGES HERE
|
23
|
+
*/
|
24
|
+
var resolveDependencies = {
|
25
|
+
ConstantNodeDependencies: _dependenciesConstantNodeGenerated.ConstantNodeDependencies,
|
26
|
+
FunctionNodeDependencies: _dependenciesFunctionNodeGenerated.FunctionNodeDependencies,
|
27
|
+
OperatorNodeDependencies: _dependenciesOperatorNodeGenerated.OperatorNodeDependencies,
|
28
|
+
ParenthesisNodeDependencies: _dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,
|
29
|
+
parseDependencies: _dependenciesParseGenerated.parseDependencies,
|
30
|
+
createResolve: _factoriesAny.createResolve
|
31
|
+
};
|
32
|
+
exports.resolveDependencies = resolveDependencies;
|
@@ -43,6 +43,10 @@ var _dependenciesParseGenerated = require("./dependenciesParse.generated.js");
|
|
43
43
|
|
44
44
|
var _dependenciesPowGenerated = require("./dependenciesPow.generated.js");
|
45
45
|
|
46
|
+
var _dependenciesResolveGenerated = require("./dependenciesResolve.generated.js");
|
47
|
+
|
48
|
+
var _dependenciesSimplifyCoreGenerated = require("./dependenciesSimplifyCore.generated.js");
|
49
|
+
|
46
50
|
var _dependenciesSubtractGenerated = require("./dependenciesSubtract.generated.js");
|
47
51
|
|
48
52
|
var _dependenciesTypedGenerated = require("./dependenciesTyped.generated.js");
|
@@ -73,6 +77,8 @@ var simplifyDependencies = {
|
|
73
77
|
multiplyDependencies: _dependenciesMultiplyGenerated.multiplyDependencies,
|
74
78
|
parseDependencies: _dependenciesParseGenerated.parseDependencies,
|
75
79
|
powDependencies: _dependenciesPowGenerated.powDependencies,
|
80
|
+
resolveDependencies: _dependenciesResolveGenerated.resolveDependencies,
|
81
|
+
simplifyCoreDependencies: _dependenciesSimplifyCoreGenerated.simplifyCoreDependencies,
|
76
82
|
subtractDependencies: _dependenciesSubtractGenerated.subtractDependencies,
|
77
83
|
typedDependencies: _dependenciesTypedGenerated.typedDependencies,
|
78
84
|
createSimplify: _factoriesAny.createSimplify
|
@@ -0,0 +1,65 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.simplifyCoreDependencies = void 0;
|
7
|
+
|
8
|
+
var _dependenciesAccessorNodeGenerated = require("./dependenciesAccessorNode.generated.js");
|
9
|
+
|
10
|
+
var _dependenciesArrayNodeGenerated = require("./dependenciesArrayNode.generated.js");
|
11
|
+
|
12
|
+
var _dependenciesConstantNodeGenerated = require("./dependenciesConstantNode.generated.js");
|
13
|
+
|
14
|
+
var _dependenciesFunctionNodeGenerated = require("./dependenciesFunctionNode.generated.js");
|
15
|
+
|
16
|
+
var _dependenciesIndexNodeGenerated = require("./dependenciesIndexNode.generated.js");
|
17
|
+
|
18
|
+
var _dependenciesObjectNodeGenerated = require("./dependenciesObjectNode.generated.js");
|
19
|
+
|
20
|
+
var _dependenciesOperatorNodeGenerated = require("./dependenciesOperatorNode.generated.js");
|
21
|
+
|
22
|
+
var _dependenciesParenthesisNodeGenerated = require("./dependenciesParenthesisNode.generated.js");
|
23
|
+
|
24
|
+
var _dependenciesSymbolNodeGenerated = require("./dependenciesSymbolNode.generated.js");
|
25
|
+
|
26
|
+
var _dependenciesAddGenerated = require("./dependenciesAdd.generated.js");
|
27
|
+
|
28
|
+
var _dependenciesDivideGenerated = require("./dependenciesDivide.generated.js");
|
29
|
+
|
30
|
+
var _dependenciesEqualGenerated = require("./dependenciesEqual.generated.js");
|
31
|
+
|
32
|
+
var _dependenciesIsZeroGenerated = require("./dependenciesIsZero.generated.js");
|
33
|
+
|
34
|
+
var _dependenciesMultiplyGenerated = require("./dependenciesMultiply.generated.js");
|
35
|
+
|
36
|
+
var _dependenciesPowGenerated = require("./dependenciesPow.generated.js");
|
37
|
+
|
38
|
+
var _dependenciesSubtractGenerated = require("./dependenciesSubtract.generated.js");
|
39
|
+
|
40
|
+
var _factoriesAny = require("../../factoriesAny.js");
|
41
|
+
|
42
|
+
/**
|
43
|
+
* THIS FILE IS AUTO-GENERATED
|
44
|
+
* DON'T MAKE CHANGES HERE
|
45
|
+
*/
|
46
|
+
var simplifyCoreDependencies = {
|
47
|
+
AccessorNodeDependencies: _dependenciesAccessorNodeGenerated.AccessorNodeDependencies,
|
48
|
+
ArrayNodeDependencies: _dependenciesArrayNodeGenerated.ArrayNodeDependencies,
|
49
|
+
ConstantNodeDependencies: _dependenciesConstantNodeGenerated.ConstantNodeDependencies,
|
50
|
+
FunctionNodeDependencies: _dependenciesFunctionNodeGenerated.FunctionNodeDependencies,
|
51
|
+
IndexNodeDependencies: _dependenciesIndexNodeGenerated.IndexNodeDependencies,
|
52
|
+
ObjectNodeDependencies: _dependenciesObjectNodeGenerated.ObjectNodeDependencies,
|
53
|
+
OperatorNodeDependencies: _dependenciesOperatorNodeGenerated.OperatorNodeDependencies,
|
54
|
+
ParenthesisNodeDependencies: _dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,
|
55
|
+
SymbolNodeDependencies: _dependenciesSymbolNodeGenerated.SymbolNodeDependencies,
|
56
|
+
addDependencies: _dependenciesAddGenerated.addDependencies,
|
57
|
+
divideDependencies: _dependenciesDivideGenerated.divideDependencies,
|
58
|
+
equalDependencies: _dependenciesEqualGenerated.equalDependencies,
|
59
|
+
isZeroDependencies: _dependenciesIsZeroGenerated.isZeroDependencies,
|
60
|
+
multiplyDependencies: _dependenciesMultiplyGenerated.multiplyDependencies,
|
61
|
+
powDependencies: _dependenciesPowGenerated.powDependencies,
|
62
|
+
subtractDependencies: _dependenciesSubtractGenerated.subtractDependencies,
|
63
|
+
createSimplifyCore: _factoriesAny.createSimplifyCore
|
64
|
+
};
|
65
|
+
exports.simplifyCoreDependencies = simplifyCoreDependencies;
|
@@ -1107,6 +1107,12 @@ Object.defineProperty(exports, "lcmDependencies", {
|
|
1107
1107
|
return _dependenciesLcmGenerated.lcmDependencies;
|
1108
1108
|
}
|
1109
1109
|
});
|
1110
|
+
Object.defineProperty(exports, "leafCountDependencies", {
|
1111
|
+
enumerable: true,
|
1112
|
+
get: function get() {
|
1113
|
+
return _dependenciesLeafCountGenerated.leafCountDependencies;
|
1114
|
+
}
|
1115
|
+
});
|
1110
1116
|
Object.defineProperty(exports, "leftShiftDependencies", {
|
1111
1117
|
enumerable: true,
|
1112
1118
|
get: function get() {
|
@@ -1569,6 +1575,12 @@ Object.defineProperty(exports, "resizeDependencies", {
|
|
1569
1575
|
return _dependenciesResizeGenerated.resizeDependencies;
|
1570
1576
|
}
|
1571
1577
|
});
|
1578
|
+
Object.defineProperty(exports, "resolveDependencies", {
|
1579
|
+
enumerable: true,
|
1580
|
+
get: function get() {
|
1581
|
+
return _dependenciesResolveGenerated.resolveDependencies;
|
1582
|
+
}
|
1583
|
+
});
|
1572
1584
|
Object.defineProperty(exports, "reviverDependencies", {
|
1573
1585
|
enumerable: true,
|
1574
1586
|
get: function get() {
|
@@ -1713,6 +1725,12 @@ Object.defineProperty(exports, "signDependencies", {
|
|
1713
1725
|
return _dependenciesSignGenerated.signDependencies;
|
1714
1726
|
}
|
1715
1727
|
});
|
1728
|
+
Object.defineProperty(exports, "simplifyCoreDependencies", {
|
1729
|
+
enumerable: true,
|
1730
|
+
get: function get() {
|
1731
|
+
return _dependenciesSimplifyCoreGenerated.simplifyCoreDependencies;
|
1732
|
+
}
|
1733
|
+
});
|
1716
1734
|
Object.defineProperty(exports, "simplifyDependencies", {
|
1717
1735
|
enumerable: true,
|
1718
1736
|
get: function get() {
|
@@ -2342,6 +2360,8 @@ var _dependenciesLargerEqGenerated = require("./dependenciesAny/dependenciesLarg
|
|
2342
2360
|
|
2343
2361
|
var _dependenciesLcmGenerated = require("./dependenciesAny/dependenciesLcm.generated.js");
|
2344
2362
|
|
2363
|
+
var _dependenciesLeafCountGenerated = require("./dependenciesAny/dependenciesLeafCount.generated.js");
|
2364
|
+
|
2345
2365
|
var _dependenciesLeftShiftGenerated = require("./dependenciesAny/dependenciesLeftShift.generated.js");
|
2346
2366
|
|
2347
2367
|
var _dependenciesLogGenerated = require("./dependenciesAny/dependenciesLog.generated.js");
|
@@ -2516,6 +2536,8 @@ var _dependenciesReshapeGenerated = require("./dependenciesAny/dependenciesResha
|
|
2516
2536
|
|
2517
2537
|
var _dependenciesResizeGenerated = require("./dependenciesAny/dependenciesResize.generated.js");
|
2518
2538
|
|
2539
|
+
var _dependenciesResolveGenerated = require("./dependenciesAny/dependenciesResolve.generated.js");
|
2540
|
+
|
2519
2541
|
var _dependenciesResultSetGenerated = require("./dependenciesAny/dependenciesResultSet.generated.js");
|
2520
2542
|
|
2521
2543
|
var _dependenciesReviverGenerated = require("./dependenciesAny/dependenciesReviver.generated.js");
|
@@ -2572,6 +2594,8 @@ var _dependenciesSignGenerated = require("./dependenciesAny/dependenciesSign.gen
|
|
2572
2594
|
|
2573
2595
|
var _dependenciesSimplifyGenerated = require("./dependenciesAny/dependenciesSimplify.generated.js");
|
2574
2596
|
|
2597
|
+
var _dependenciesSimplifyCoreGenerated = require("./dependenciesAny/dependenciesSimplifyCore.generated.js");
|
2598
|
+
|
2575
2599
|
var _dependenciesSinGenerated = require("./dependenciesAny/dependenciesSin.generated.js");
|
2576
2600
|
|
2577
2601
|
var _dependenciesSinhGenerated = require("./dependenciesAny/dependenciesSinh.generated.js");
|
@@ -41,6 +41,8 @@ var _dependenciesPowGenerated = require("./dependenciesPow.generated.js");
|
|
41
41
|
|
42
42
|
var _dependenciesSimplifyGenerated = require("./dependenciesSimplify.generated.js");
|
43
43
|
|
44
|
+
var _dependenciesSimplifyCoreGenerated = require("./dependenciesSimplifyCore.generated.js");
|
45
|
+
|
44
46
|
var _dependenciesSubtractGenerated = require("./dependenciesSubtract.generated.js");
|
45
47
|
|
46
48
|
var _dependenciesTypedGenerated = require("./dependenciesTyped.generated.js");
|
@@ -70,6 +72,7 @@ var rationalizeDependencies = {
|
|
70
72
|
parseDependencies: _dependenciesParseGenerated.parseDependencies,
|
71
73
|
powDependencies: _dependenciesPowGenerated.powDependencies,
|
72
74
|
simplifyDependencies: _dependenciesSimplifyGenerated.simplifyDependencies,
|
75
|
+
simplifyCoreDependencies: _dependenciesSimplifyCoreGenerated.simplifyCoreDependencies,
|
73
76
|
subtractDependencies: _dependenciesSubtractGenerated.subtractDependencies,
|
74
77
|
typedDependencies: _dependenciesTypedGenerated.typedDependencies,
|
75
78
|
createRationalize: _factoriesNumber.createRationalize
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.resolveDependencies = void 0;
|
7
|
+
|
8
|
+
var _dependenciesConstantNodeGenerated = require("./dependenciesConstantNode.generated.js");
|
9
|
+
|
10
|
+
var _dependenciesFunctionNodeGenerated = require("./dependenciesFunctionNode.generated.js");
|
11
|
+
|
12
|
+
var _dependenciesOperatorNodeGenerated = require("./dependenciesOperatorNode.generated.js");
|
13
|
+
|
14
|
+
var _dependenciesParenthesisNodeGenerated = require("./dependenciesParenthesisNode.generated.js");
|
15
|
+
|
16
|
+
var _dependenciesParseGenerated = require("./dependenciesParse.generated.js");
|
17
|
+
|
18
|
+
var _factoriesNumber = require("../../factoriesNumber.js");
|
19
|
+
|
20
|
+
/**
|
21
|
+
* THIS FILE IS AUTO-GENERATED
|
22
|
+
* DON'T MAKE CHANGES HERE
|
23
|
+
*/
|
24
|
+
var resolveDependencies = {
|
25
|
+
ConstantNodeDependencies: _dependenciesConstantNodeGenerated.ConstantNodeDependencies,
|
26
|
+
FunctionNodeDependencies: _dependenciesFunctionNodeGenerated.FunctionNodeDependencies,
|
27
|
+
OperatorNodeDependencies: _dependenciesOperatorNodeGenerated.OperatorNodeDependencies,
|
28
|
+
ParenthesisNodeDependencies: _dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,
|
29
|
+
parseDependencies: _dependenciesParseGenerated.parseDependencies,
|
30
|
+
createResolve: _factoriesNumber.createResolve
|
31
|
+
};
|
32
|
+
exports.resolveDependencies = resolveDependencies;
|
@@ -39,6 +39,10 @@ var _dependenciesParseGenerated = require("./dependenciesParse.generated.js");
|
|
39
39
|
|
40
40
|
var _dependenciesPowGenerated = require("./dependenciesPow.generated.js");
|
41
41
|
|
42
|
+
var _dependenciesResolveGenerated = require("./dependenciesResolve.generated.js");
|
43
|
+
|
44
|
+
var _dependenciesSimplifyCoreGenerated = require("./dependenciesSimplifyCore.generated.js");
|
45
|
+
|
42
46
|
var _dependenciesSubtractGenerated = require("./dependenciesSubtract.generated.js");
|
43
47
|
|
44
48
|
var _dependenciesTypedGenerated = require("./dependenciesTyped.generated.js");
|
@@ -67,6 +71,8 @@ var simplifyDependencies = {
|
|
67
71
|
multiplyDependencies: _dependenciesMultiplyGenerated.multiplyDependencies,
|
68
72
|
parseDependencies: _dependenciesParseGenerated.parseDependencies,
|
69
73
|
powDependencies: _dependenciesPowGenerated.powDependencies,
|
74
|
+
resolveDependencies: _dependenciesResolveGenerated.resolveDependencies,
|
75
|
+
simplifyCoreDependencies: _dependenciesSimplifyCoreGenerated.simplifyCoreDependencies,
|
70
76
|
subtractDependencies: _dependenciesSubtractGenerated.subtractDependencies,
|
71
77
|
typedDependencies: _dependenciesTypedGenerated.typedDependencies,
|
72
78
|
createSimplify: _factoriesNumber.createSimplify
|
@@ -0,0 +1,65 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.simplifyCoreDependencies = void 0;
|
7
|
+
|
8
|
+
var _dependenciesAccessorNodeGenerated = require("./dependenciesAccessorNode.generated.js");
|
9
|
+
|
10
|
+
var _dependenciesArrayNodeGenerated = require("./dependenciesArrayNode.generated.js");
|
11
|
+
|
12
|
+
var _dependenciesConstantNodeGenerated = require("./dependenciesConstantNode.generated.js");
|
13
|
+
|
14
|
+
var _dependenciesFunctionNodeGenerated = require("./dependenciesFunctionNode.generated.js");
|
15
|
+
|
16
|
+
var _dependenciesIndexNodeGenerated = require("./dependenciesIndexNode.generated.js");
|
17
|
+
|
18
|
+
var _dependenciesObjectNodeGenerated = require("./dependenciesObjectNode.generated.js");
|
19
|
+
|
20
|
+
var _dependenciesOperatorNodeGenerated = require("./dependenciesOperatorNode.generated.js");
|
21
|
+
|
22
|
+
var _dependenciesParenthesisNodeGenerated = require("./dependenciesParenthesisNode.generated.js");
|
23
|
+
|
24
|
+
var _dependenciesSymbolNodeGenerated = require("./dependenciesSymbolNode.generated.js");
|
25
|
+
|
26
|
+
var _dependenciesAddGenerated = require("./dependenciesAdd.generated.js");
|
27
|
+
|
28
|
+
var _dependenciesDivideGenerated = require("./dependenciesDivide.generated.js");
|
29
|
+
|
30
|
+
var _dependenciesEqualGenerated = require("./dependenciesEqual.generated.js");
|
31
|
+
|
32
|
+
var _dependenciesIsZeroGenerated = require("./dependenciesIsZero.generated.js");
|
33
|
+
|
34
|
+
var _dependenciesMultiplyGenerated = require("./dependenciesMultiply.generated.js");
|
35
|
+
|
36
|
+
var _dependenciesPowGenerated = require("./dependenciesPow.generated.js");
|
37
|
+
|
38
|
+
var _dependenciesSubtractGenerated = require("./dependenciesSubtract.generated.js");
|
39
|
+
|
40
|
+
var _factoriesNumber = require("../../factoriesNumber.js");
|
41
|
+
|
42
|
+
/**
|
43
|
+
* THIS FILE IS AUTO-GENERATED
|
44
|
+
* DON'T MAKE CHANGES HERE
|
45
|
+
*/
|
46
|
+
var simplifyCoreDependencies = {
|
47
|
+
AccessorNodeDependencies: _dependenciesAccessorNodeGenerated.AccessorNodeDependencies,
|
48
|
+
ArrayNodeDependencies: _dependenciesArrayNodeGenerated.ArrayNodeDependencies,
|
49
|
+
ConstantNodeDependencies: _dependenciesConstantNodeGenerated.ConstantNodeDependencies,
|
50
|
+
FunctionNodeDependencies: _dependenciesFunctionNodeGenerated.FunctionNodeDependencies,
|
51
|
+
IndexNodeDependencies: _dependenciesIndexNodeGenerated.IndexNodeDependencies,
|
52
|
+
ObjectNodeDependencies: _dependenciesObjectNodeGenerated.ObjectNodeDependencies,
|
53
|
+
OperatorNodeDependencies: _dependenciesOperatorNodeGenerated.OperatorNodeDependencies,
|
54
|
+
ParenthesisNodeDependencies: _dependenciesParenthesisNodeGenerated.ParenthesisNodeDependencies,
|
55
|
+
SymbolNodeDependencies: _dependenciesSymbolNodeGenerated.SymbolNodeDependencies,
|
56
|
+
addDependencies: _dependenciesAddGenerated.addDependencies,
|
57
|
+
divideDependencies: _dependenciesDivideGenerated.divideDependencies,
|
58
|
+
equalDependencies: _dependenciesEqualGenerated.equalDependencies,
|
59
|
+
isZeroDependencies: _dependenciesIsZeroGenerated.isZeroDependencies,
|
60
|
+
multiplyDependencies: _dependenciesMultiplyGenerated.multiplyDependencies,
|
61
|
+
powDependencies: _dependenciesPowGenerated.powDependencies,
|
62
|
+
subtractDependencies: _dependenciesSubtractGenerated.subtractDependencies,
|
63
|
+
createSimplifyCore: _factoriesNumber.createSimplifyCore
|
64
|
+
};
|
65
|
+
exports.simplifyCoreDependencies = simplifyCoreDependencies;
|
@@ -951,6 +951,12 @@ Object.defineProperty(exports, "replacerDependencies", {
|
|
951
951
|
return _dependenciesReplacerGenerated.replacerDependencies;
|
952
952
|
}
|
953
953
|
});
|
954
|
+
Object.defineProperty(exports, "resolveDependencies", {
|
955
|
+
enumerable: true,
|
956
|
+
get: function get() {
|
957
|
+
return _dependenciesResolveGenerated.resolveDependencies;
|
958
|
+
}
|
959
|
+
});
|
954
960
|
Object.defineProperty(exports, "reviverDependencies", {
|
955
961
|
enumerable: true,
|
956
962
|
get: function get() {
|
@@ -993,6 +999,12 @@ Object.defineProperty(exports, "signDependencies", {
|
|
993
999
|
return _dependenciesSignGenerated.signDependencies;
|
994
1000
|
}
|
995
1001
|
});
|
1002
|
+
Object.defineProperty(exports, "simplifyCoreDependencies", {
|
1003
|
+
enumerable: true,
|
1004
|
+
get: function get() {
|
1005
|
+
return _dependenciesSimplifyCoreGenerated.simplifyCoreDependencies;
|
1006
|
+
}
|
1007
|
+
});
|
996
1008
|
Object.defineProperty(exports, "simplifyDependencies", {
|
997
1009
|
enumerable: true,
|
998
1010
|
get: function get() {
|
@@ -1482,6 +1494,8 @@ var _dependenciesRelationalNodeGenerated = require("./dependenciesNumber/depende
|
|
1482
1494
|
|
1483
1495
|
var _dependenciesReplacerGenerated = require("./dependenciesNumber/dependenciesReplacer.generated.js");
|
1484
1496
|
|
1497
|
+
var _dependenciesResolveGenerated = require("./dependenciesNumber/dependenciesResolve.generated.js");
|
1498
|
+
|
1485
1499
|
var _dependenciesResultSetGenerated = require("./dependenciesNumber/dependenciesResultSet.generated.js");
|
1486
1500
|
|
1487
1501
|
var _dependenciesReviverGenerated = require("./dependenciesNumber/dependenciesReviver.generated.js");
|
@@ -1504,6 +1518,8 @@ var _dependenciesSignGenerated = require("./dependenciesNumber/dependenciesSign.
|
|
1504
1518
|
|
1505
1519
|
var _dependenciesSimplifyGenerated = require("./dependenciesNumber/dependenciesSimplify.generated.js");
|
1506
1520
|
|
1521
|
+
var _dependenciesSimplifyCoreGenerated = require("./dependenciesNumber/dependenciesSimplifyCore.generated.js");
|
1522
|
+
|
1507
1523
|
var _dependenciesSinGenerated = require("./dependenciesNumber/dependenciesSin.generated.js");
|
1508
1524
|
|
1509
1525
|
var _dependenciesSinhGenerated = require("./dependenciesNumber/dependenciesSinh.generated.js");
|