mathjs 10.4.3 → 10.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/HISTORY.md +15 -0
  2. package/docs/reference/functions/lgamma.md +46 -0
  3. package/docs/reference/functions/pinv.md +44 -0
  4. package/docs/reference/functions/pow.md +8 -2
  5. package/docs/reference/functions.md +2 -0
  6. package/lib/browser/math.js +6 -6
  7. package/lib/browser/math.js.map +1 -1
  8. package/lib/cjs/entry/dependenciesAny/dependenciesDet.generated.js +5 -2
  9. package/lib/cjs/entry/dependenciesAny/dependenciesLgamma.generated.js +23 -0
  10. package/lib/cjs/entry/dependenciesAny/dependenciesPinv.generated.js +53 -0
  11. package/lib/cjs/entry/dependenciesAny/dependenciesPow.generated.js +3 -0
  12. package/lib/cjs/entry/dependenciesAny.generated.js +16 -0
  13. package/lib/cjs/entry/dependenciesNumber/dependenciesLgamma.generated.js +20 -0
  14. package/lib/cjs/entry/dependenciesNumber.generated.js +8 -0
  15. package/lib/cjs/entry/impureFunctionsAny.generated.js +96 -94
  16. package/lib/cjs/entry/impureFunctionsNumber.generated.js +5 -4
  17. package/lib/cjs/entry/pureFunctionsAny.generated.js +215 -193
  18. package/lib/cjs/entry/pureFunctionsNumber.generated.js +14 -10
  19. package/lib/cjs/expression/embeddedDocs/embeddedDocs.js +6 -0
  20. package/lib/cjs/expression/embeddedDocs/function/arithmetic/pow.js +1 -1
  21. package/lib/cjs/expression/embeddedDocs/function/matrix/pinv.js +15 -0
  22. package/lib/cjs/expression/embeddedDocs/function/probability/lgamma.js +15 -0
  23. package/lib/cjs/factoriesAny.js +16 -0
  24. package/lib/cjs/factoriesNumber.js +3 -1
  25. package/lib/cjs/function/arithmetic/pow.js +25 -6
  26. package/lib/cjs/function/matrix/det.js +37 -31
  27. package/lib/cjs/function/matrix/pinv.js +223 -0
  28. package/lib/cjs/function/probability/lgamma.js +146 -0
  29. package/lib/cjs/header.js +2 -2
  30. package/lib/cjs/plain/number/probability.js +43 -3
  31. package/lib/cjs/utils/latex.js +6 -0
  32. package/lib/cjs/utils/number.js +17 -2
  33. package/lib/cjs/version.js +1 -1
  34. package/lib/esm/entry/dependenciesAny/dependenciesDet.generated.js +4 -2
  35. package/lib/esm/entry/dependenciesAny/dependenciesLgamma.generated.js +12 -0
  36. package/lib/esm/entry/dependenciesAny/dependenciesPinv.generated.js +32 -0
  37. package/lib/esm/entry/dependenciesAny/dependenciesPow.generated.js +2 -0
  38. package/lib/esm/entry/dependenciesAny.generated.js +2 -0
  39. package/lib/esm/entry/dependenciesNumber/dependenciesLgamma.generated.js +10 -0
  40. package/lib/esm/entry/dependenciesNumber.generated.js +1 -0
  41. package/lib/esm/entry/impureFunctionsAny.generated.js +90 -88
  42. package/lib/esm/entry/impureFunctionsNumber.generated.js +6 -5
  43. package/lib/esm/entry/pureFunctionsAny.generated.js +179 -159
  44. package/lib/esm/entry/pureFunctionsNumber.generated.js +8 -5
  45. package/lib/esm/expression/embeddedDocs/embeddedDocs.js +4 -0
  46. package/lib/esm/expression/embeddedDocs/function/arithmetic/pow.js +1 -1
  47. package/lib/esm/expression/embeddedDocs/function/matrix/pinv.js +8 -0
  48. package/lib/esm/expression/embeddedDocs/function/probability/lgamma.js +8 -0
  49. package/lib/esm/factoriesAny.js +2 -0
  50. package/lib/esm/factoriesNumber.js +2 -1
  51. package/lib/esm/function/arithmetic/pow.js +25 -6
  52. package/lib/esm/function/matrix/det.js +35 -31
  53. package/lib/esm/function/matrix/pinv.js +205 -0
  54. package/lib/esm/function/probability/lgamma.js +137 -0
  55. package/lib/esm/plain/number/probability.js +33 -1
  56. package/lib/esm/utils/latex.js +6 -0
  57. package/lib/esm/utils/number.js +13 -1
  58. package/lib/esm/version.js +1 -1
  59. package/package.json +7 -7
  60. package/types/index.d.ts +22 -1
  61. package/types/index.ts +10 -0
@@ -5,9 +5,9 @@ import _extends from "@babel/runtime/helpers/extends";
5
5
  * DON'T MAKE CHANGES HERE
6
6
  */
7
7
  import { config } from './configReadonly.js';
8
- import { createChainClass, createNode, createObjectNode, createOperatorNode, createParenthesisNode, createRelationalNode, createArrayNode, createBlockNode, createConditionalNode, createConstantNode, createRangeNode, createReviver, createChain, createFunctionAssignmentNode, createAccessorNode, createAssignmentNode, createIndexNode, createSymbolNode, createFunctionNode, createParse, createResolve, createCompile, createEvaluate, createHelpClass, createLeafCount, createParserClass, createParser, createSimplifyCore, createSimplify, createDerivative, createRationalize, createHelp, createSymbolicEqual, createFilterTransform, createForEachTransform, createMapTransform, createApplyTransform, createDiffTransform, createIndexTransform, createSubsetTransform, createConcatTransform, createMaxTransform, createMinTransform, createRangeTransform, createRowTransform, createSumTransform, createColumnTransform, createCumSumTransform, createStdTransform, createVarianceTransform, createMeanTransform } from '../factoriesAny.js';
8
+ import { createChainClass, createNode, createObjectNode, createOperatorNode, createParenthesisNode, createRelationalNode, createArrayNode, createBlockNode, createConditionalNode, createConstantNode, createRangeNode, createReviver, createChain, createFunctionAssignmentNode, createAccessorNode, createAssignmentNode, createIndexNode, createSymbolNode, createFunctionNode, createParse, createResolve, createSimplifyCore, createCompile, createHelpClass, createLeafCount, createEvaluate, createHelp, createParserClass, createSimplify, createParser, createRationalize, createDerivative, createSymbolicEqual, createFilterTransform, createForEachTransform, createMapTransform, createApplyTransform, createDiffTransform, createIndexTransform, createSubsetTransform, createConcatTransform, createMaxTransform, createMinTransform, createRangeTransform, createRowTransform, createSumTransform, createColumnTransform, createMeanTransform, createVarianceTransform, createStdTransform, createCumSumTransform } from '../factoriesAny.js';
9
9
  import { BigNumber, Complex, e, _false, fineStructure, Fraction, i, _Infinity, LN10, LOG10E, Matrix, _NaN, _null, phi, Range, ResultSet, SQRT1_2, // eslint-disable-line camelcase
10
- sackurTetrode, tau, _true, version, DenseMatrix, efimovFactor, LN2, pi, replacer, SQRT2, typed, unaryPlus, weakMixingAngle, abs, acos, acot, acsc, addScalar, arg, asech, asinh, atan, atanh, bignumber, bitNot, boolean, clone, combinations, complex, conj, cosh, coth, csc, cube, equalScalar, erf, exp, expm1, filter, forEach, format, getMatrixDataType, hex, im, isInteger, isNegative, isPositive, isZero, LOG2E, log10, log2, map, multiplyScalar, not, number, oct, pickRandom, print, random, re, sec, sign, sin, SparseMatrix, splitUnit, square, string, tan, typeOf, acosh, acsch, apply, asec, bin, combinationsWithRep, cos, csch, isNaN, isPrime, randomInt, sech, sinh, sparse, sqrt, tanh, unaryMinus, acoth, cot, fraction, isNumeric, matrix, matrixFromFunction, mod, nthRoot, numeric, or, prod, reshape, size, smaller, squeeze, subset, subtract, to, transpose, xgcd, zeros, and, bitAnd, bitXor, cbrt, compare, compareText, concat, count, ctranspose, diag, divideScalar, dotDivide, equal, flatten, gcd, hasNumericValue, hypot, ImmutableDenseMatrix, Index, kron, largerEq, leftShift, lsolve, matrixFromColumns, min, mode, nthRoots, ones, partitionSelect, resize, rightArithShift, round, smallerEq, unequal, usolve, xor, add, atan2, bitOr, catalan, compareNatural, cumsum, deepEqual, diff, dot, equalText, floor, identity, invmod, larger, log, lsolveAll, matrixFromRows, multiply, pow, qr, range, rightLogShift, row, setCartesian, setDistinct, setIsSubset, setPowerset, slu, sum, trace, usolveAll, asin, ceil, column, composition, cross, distance, dotMultiply, FibonacciHeap, fix, gamma, index, lcm, log1p, max, quantileSeq, setDifference, setMultiplicity, setSymDifference, sort, Unit, vacuumImpedance, wienDisplacement, atomicMass, bohrMagneton, boltzmann, conductanceQuantum, createUnit, deuteronMass, dotPow, electricConstant, elementaryCharge, factorial, fermiCoupling, gasConstant, gravity, intersect, inverseConductanceQuantum, klitzing, loschmidt, magneticConstant, molarMass, molarPlanckConstant, neutronMass, nuclearMagneton, permutations, planckConstant, planckMass, planckTime, quantumOfCirculation, reducedPlanckConstant, rydberg, setIntersect, setUnion, Spa, stefanBoltzmann, thomsonCrossSection, avogadro, bohrRadius, coulomb, electronMass, faraday, hartreeEnergy, lup, magneticFluxQuantum, molarMassC12, planckCharge, planckTemperature, secondRadiation, speedOfLight, stirlingS2, unit, bellNumbers, det, firstRadiation, molarVolume, protonMass, setSize, classicalElectronRadius, gravitationConstant, inv, lusolve, sqrtm, divide, expm, kldivergence, mean, median, planckLength, variance, eigs, mad, multinomial, std, norm, rotationMatrix, rotate } from './pureFunctionsAny.generated.js';
10
+ sackurTetrode, tau, _true, version, DenseMatrix, efimovFactor, LN2, pi, replacer, SQRT2, typed, unaryPlus, weakMixingAngle, abs, acos, acot, acsc, addScalar, arg, asech, asinh, atan, atanh, bignumber, bitNot, boolean, clone, combinations, complex, conj, cosh, coth, csc, cube, equalScalar, erf, exp, expm1, filter, forEach, format, getMatrixDataType, hex, im, isInteger, isNegative, isPositive, isZero, LOG2E, lgamma, log10, log2, map, multiplyScalar, not, number, oct, pickRandom, print, random, re, sec, sign, sin, SparseMatrix, splitUnit, square, string, tan, typeOf, acosh, acsch, apply, asec, bin, combinationsWithRep, cos, csch, isNaN, isPrime, randomInt, sech, sinh, sparse, sqrt, tanh, unaryMinus, acoth, cot, fraction, isNumeric, matrix, matrixFromFunction, mod, nthRoot, numeric, or, prod, reshape, size, smaller, squeeze, subset, subtract, to, transpose, xgcd, zeros, and, bitAnd, bitXor, cbrt, compare, compareText, concat, count, ctranspose, diag, divideScalar, dotDivide, equal, flatten, gcd, hasNumericValue, hypot, ImmutableDenseMatrix, Index, kron, largerEq, leftShift, lsolve, matrixFromColumns, min, mode, nthRoots, ones, partitionSelect, resize, rightArithShift, round, smallerEq, unequal, usolve, xor, add, atan2, bitOr, catalan, compareNatural, cumsum, deepEqual, diff, dot, equalText, floor, identity, invmod, larger, log, lsolveAll, matrixFromRows, multiply, qr, range, rightLogShift, row, setCartesian, setDistinct, setIsSubset, setPowerset, slu, sum, trace, usolveAll, asin, ceil, column, composition, cross, det, distance, dotMultiply, FibonacciHeap, fix, index, inv, lcm, log1p, max, pinv, pow, quantileSeq, setDifference, setMultiplicity, setSymDifference, sort, sqrtm, Unit, vacuumImpedance, wienDisplacement, atomicMass, bohrMagneton, boltzmann, conductanceQuantum, createUnit, deuteronMass, dotPow, electricConstant, elementaryCharge, expm, faraday, firstRadiation, gamma, gravitationConstant, hartreeEnergy, intersect, klitzing, loschmidt, magneticConstant, molarMass, molarPlanckConstant, neutronMass, nuclearMagneton, planckCharge, planckLength, planckTemperature, protonMass, reducedPlanckConstant, rydberg, setIntersect, setUnion, Spa, stefanBoltzmann, thomsonCrossSection, avogadro, bohrRadius, coulomb, divide, electronMass, factorial, gravity, inverseConductanceQuantum, lup, magneticFluxQuantum, molarMassC12, multinomial, permutations, planckMass, quantumOfCirculation, secondRadiation, stirlingS2, unit, bellNumbers, eigs, fermiCoupling, mean, molarVolume, planckConstant, setSize, speedOfLight, variance, classicalElectronRadius, lusolve, median, gasConstant, mad, std, norm, rotationMatrix, kldivergence, rotate, planckTime } from './pureFunctionsAny.generated.js';
11
11
  var math = {}; // NOT pure!
12
12
 
13
13
  var mathWithTransform = {}; // NOT pure!
@@ -110,28 +110,6 @@ export var resolve = createResolve({
110
110
  ParenthesisNode,
111
111
  parse
112
112
  });
113
- export var compile = createCompile({
114
- parse,
115
- typed
116
- });
117
- export var evaluate = createEvaluate({
118
- parse,
119
- typed
120
- });
121
- export var Help = createHelpClass({
122
- parse
123
- });
124
- export var leafCount = createLeafCount({
125
- parse,
126
- typed
127
- });
128
- export var Parser = createParserClass({
129
- evaluate
130
- });
131
- export var parser = createParser({
132
- Parser,
133
- typed
134
- });
135
113
  export var simplifyCore = createSimplifyCore({
136
114
  AccessorNode,
137
115
  ArrayNode,
@@ -150,6 +128,29 @@ export var simplifyCore = createSimplifyCore({
150
128
  pow,
151
129
  subtract
152
130
  });
131
+ export var compile = createCompile({
132
+ parse,
133
+ typed
134
+ });
135
+ export var Help = createHelpClass({
136
+ parse
137
+ });
138
+ export var leafCount = createLeafCount({
139
+ parse,
140
+ typed
141
+ });
142
+ export var evaluate = createEvaluate({
143
+ parse,
144
+ typed
145
+ });
146
+ export var help = createHelp({
147
+ Help,
148
+ mathWithTransform,
149
+ typed
150
+ });
151
+ export var Parser = createParserClass({
152
+ evaluate
153
+ });
153
154
  export var simplify = createSimplify({
154
155
  bignumber,
155
156
  fraction,
@@ -177,18 +178,8 @@ export var simplify = createSimplify({
177
178
  subtract,
178
179
  typed
179
180
  });
180
- export var derivative = createDerivative({
181
- ConstantNode,
182
- FunctionNode,
183
- OperatorNode,
184
- ParenthesisNode,
185
- SymbolNode,
186
- config,
187
- equal,
188
- isZero,
189
- numeric,
190
- parse,
191
- simplify,
181
+ export var parser = createParser({
182
+ Parser,
192
183
  typed
193
184
  });
194
185
  export var rationalize = createRationalize({
@@ -218,9 +209,18 @@ export var rationalize = createRationalize({
218
209
  subtract,
219
210
  typed
220
211
  });
221
- export var help = createHelp({
222
- Help,
223
- mathWithTransform,
212
+ export var derivative = createDerivative({
213
+ ConstantNode,
214
+ FunctionNode,
215
+ OperatorNode,
216
+ ParenthesisNode,
217
+ SymbolNode,
218
+ config,
219
+ equal,
220
+ isZero,
221
+ numeric,
222
+ parse,
223
+ simplify,
224
224
  typed
225
225
  });
226
226
  export var symbolicEqual = createSymbolicEqual({
@@ -294,6 +294,7 @@ _extends(math, {
294
294
  isPositive,
295
295
  isZero,
296
296
  LOG2E,
297
+ lgamma,
297
298
  log10,
298
299
  log2,
299
300
  map,
@@ -403,7 +404,6 @@ _extends(math, {
403
404
  lsolveAll,
404
405
  matrixFromRows,
405
406
  multiply,
406
- pow,
407
407
  qr,
408
408
  range,
409
409
  rightLogShift,
@@ -421,19 +421,23 @@ _extends(math, {
421
421
  column,
422
422
  composition,
423
423
  cross,
424
+ det,
424
425
  distance,
425
426
  dotMultiply,
426
427
  fix,
427
- gamma,
428
428
  index,
429
+ inv,
429
430
  lcm,
430
431
  log1p,
431
432
  max,
433
+ pinv,
434
+ pow,
432
435
  quantileSeq,
433
436
  setDifference,
434
437
  setMultiplicity,
435
438
  setSymDifference,
436
439
  sort,
440
+ sqrtm,
437
441
  vacuumImpedance,
438
442
  wienDisplacement,
439
443
  atomicMass,
@@ -445,12 +449,13 @@ _extends(math, {
445
449
  dotPow,
446
450
  electricConstant,
447
451
  elementaryCharge,
448
- factorial,
449
- fermiCoupling,
450
- gasConstant,
451
- gravity,
452
+ expm,
453
+ faraday,
454
+ firstRadiation,
455
+ gamma,
456
+ gravitationConstant,
457
+ hartreeEnergy,
452
458
  intersect,
453
- inverseConductanceQuantum,
454
459
  klitzing,
455
460
  loschmidt,
456
461
  magneticConstant,
@@ -458,11 +463,10 @@ _extends(math, {
458
463
  molarPlanckConstant,
459
464
  neutronMass,
460
465
  nuclearMagneton,
461
- permutations,
462
- planckConstant,
463
- planckMass,
464
- planckTime,
465
- quantumOfCirculation,
466
+ planckCharge,
467
+ planckLength,
468
+ planckTemperature,
469
+ protonMass,
466
470
  reducedPlanckConstant,
467
471
  rydberg,
468
472
  setIntersect,
@@ -472,55 +476,53 @@ _extends(math, {
472
476
  avogadro,
473
477
  bohrRadius,
474
478
  coulomb,
479
+ divide,
475
480
  electronMass,
476
- faraday,
477
- hartreeEnergy,
481
+ factorial,
482
+ gravity,
483
+ inverseConductanceQuantum,
478
484
  lup,
479
485
  magneticFluxQuantum,
480
486
  molarMassC12,
487
+ multinomial,
481
488
  parse,
482
- planckCharge,
483
- planckTemperature,
489
+ permutations,
490
+ planckMass,
491
+ quantumOfCirculation,
484
492
  resolve,
485
493
  secondRadiation,
486
- speedOfLight,
494
+ simplifyCore,
487
495
  stirlingS2,
488
496
  unit,
489
497
  bellNumbers,
490
498
  compile,
491
- det,
492
- evaluate,
493
- firstRadiation,
499
+ eigs,
500
+ fermiCoupling,
494
501
  leafCount,
502
+ mean,
495
503
  molarVolume,
496
- protonMass,
504
+ planckConstant,
497
505
  setSize,
506
+ speedOfLight,
507
+ variance,
498
508
  classicalElectronRadius,
499
- gravitationConstant,
500
- inv,
509
+ evaluate,
510
+ help,
501
511
  lusolve,
502
- parser,
503
- sqrtm,
504
- divide,
505
- expm,
506
- kldivergence,
507
- mean,
508
512
  median,
509
- planckLength,
510
- simplifyCore,
511
- variance,
512
- eigs,
513
- mad,
514
- multinomial,
515
513
  simplify,
516
- derivative,
514
+ gasConstant,
515
+ mad,
516
+ parser,
517
517
  rationalize,
518
518
  std,
519
- help,
520
- symbolicEqual,
519
+ derivative,
521
520
  norm,
522
521
  rotationMatrix,
522
+ kldivergence,
523
523
  rotate,
524
+ planckTime,
525
+ symbolicEqual,
524
526
  config
525
527
  });
526
528
 
@@ -597,15 +599,10 @@ _extends(mathWithTransform, math, {
597
599
  range,
598
600
  typed
599
601
  }),
600
- cumsum: createCumSumTransform({
602
+ mean: createMeanTransform({
601
603
  add,
602
- typed,
603
- unaryPlus
604
- }),
605
- std: createStdTransform({
606
- sqrt,
607
- typed,
608
- variance
604
+ divide,
605
+ typed
609
606
  }),
610
607
  variance: createVarianceTransform({
611
608
  add,
@@ -616,10 +613,15 @@ _extends(mathWithTransform, math, {
616
613
  subtract,
617
614
  typed
618
615
  }),
619
- mean: createMeanTransform({
616
+ std: createStdTransform({
617
+ sqrt,
618
+ typed,
619
+ variance
620
+ }),
621
+ cumsum: createCumSumTransform({
620
622
  add,
621
- divide,
622
- typed
623
+ typed,
624
+ unaryPlus
623
625
  })
624
626
  });
625
627
 
@@ -7,7 +7,7 @@ import _extends from "@babel/runtime/helpers/extends";
7
7
  import { config } from './configReadonly.js';
8
8
  import { createChainClass, createChain, createNode, createObjectNode, createRangeNode, createRelationalNode, createReviver, createSymbolNode, createAccessorNode, createAssignmentNode, createBlockNode, createConditionalNode, createFunctionNode, createIndexNode, createOperatorNode, createConstantNode, createFunctionAssignmentNode, createParenthesisNode, createArrayNode, createSimplifyCore, createParse, createResolve, createCompile, createEvaluate, createHelpClass, createParserClass, createSimplify, createDerivative, createRationalize, createHelp, createParser, createCumSumTransform, createApplyTransform, createFilterTransform, createForEachTransform, createMapTransform, createMeanTransform, createSubsetTransform, createVarianceTransform, createMaxTransform, createMinTransform, createRangeTransform, createStdTransform, createSumTransform } from '../factoriesNumber.js';
9
9
  import { e, _false, index, _Infinity, LN10, LOG10E, matrix, _NaN, _null, phi, Range, replacer, ResultSet, SQRT1_2, // eslint-disable-line camelcase
10
- subset, tau, typed, unaryPlus, version, xor, abs, acos, acot, acsc, add, and, asec, asin, atan, atanh, bitAnd, bitOr, boolean, cbrt, combinations, compare, compareText, cos, cot, csc, cube, divide, equalScalar, erf, exp, filter, fix, forEach, format, gamma, isInteger, isNegative, isPositive, isZero, LOG2E, largerEq, leftShift, log10, log2, map, mean, mod, multiply, not, number, or, pi, pow, random, rightLogShift, SQRT2, sech, sin, size, smallerEq, square, string, subtract, tanh, typeOf, unequal, xgcd, acoth, addScalar, asech, bitNot, ceil, combinationsWithRep, cosh, csch, divideScalar, equalText, expm1, isNumeric, LN2, lcm, log1p, multiplyScalar, nthRoot, pickRandom, randomInt, rightArithShift, sec, sinh, sqrt, tan, unaryMinus, acosh, apply, asinh, bitXor, clone, cumsum, equal, factorial, hasNumericValue, isNaN, larger, mode, norm, partitionSelect, print, quantileSeq, round, smaller, stirlingS2, _true, variance, acsch, atan2, catalan, composition, deepEqual, floor, hypot, log, median, multinomial, permutations, range, sign, std, compareNatural, coth, gcd, isPrime, numeric, prod, sum, bellNumbers, mad, max, min } from './pureFunctionsNumber.generated.js';
10
+ subset, tau, typed, unaryPlus, version, xor, abs, acos, acot, acsc, add, and, asec, asin, atan, atanh, bitAnd, bitOr, boolean, cbrt, combinations, compare, compareText, cos, cot, csc, cube, divide, equalScalar, erf, exp, filter, fix, forEach, format, gamma, isInteger, isNegative, isPositive, isZero, LOG2E, largerEq, leftShift, log, log1p, map, mean, mod, multiply, not, number, or, pi, pow, random, rightLogShift, SQRT2, sech, sin, size, smallerEq, square, string, subtract, tanh, typeOf, unequal, xgcd, acoth, addScalar, asech, bitNot, ceil, combinationsWithRep, cosh, csch, divideScalar, equalText, expm1, isNumeric, LN2, lcm, log10, multiplyScalar, nthRoot, pickRandom, randomInt, rightArithShift, sec, sinh, sqrt, tan, unaryMinus, acosh, apply, asinh, bitXor, clone, cumsum, equal, factorial, hasNumericValue, isNaN, larger, log2, mode, norm, partitionSelect, print, quantileSeq, round, smaller, stirlingS2, _true, variance, acsch, atan2, catalan, composition, deepEqual, floor, hypot, lgamma, median, multinomial, permutations, range, sign, std, compareNatural, coth, gcd, isPrime, numeric, prod, sum, bellNumbers, mad, max, min } from './pureFunctionsNumber.generated.js';
11
11
  var math = {}; // NOT pure!
12
12
 
13
13
  var mathWithTransform = {}; // NOT pure!
@@ -273,8 +273,8 @@ _extends(math, {
273
273
  LOG2E,
274
274
  largerEq,
275
275
  leftShift,
276
- log10,
277
- log2,
276
+ log,
277
+ log1p,
278
278
  map,
279
279
  mean,
280
280
  mod,
@@ -313,7 +313,7 @@ _extends(math, {
313
313
  isNumeric,
314
314
  LN2,
315
315
  lcm,
316
- log1p,
316
+ log10,
317
317
  multiplyScalar,
318
318
  nthRoot,
319
319
  pickRandom,
@@ -335,6 +335,7 @@ _extends(math, {
335
335
  hasNumericValue,
336
336
  isNaN,
337
337
  larger,
338
+ log2,
338
339
  mode,
339
340
  norm,
340
341
  partitionSelect,
@@ -352,7 +353,7 @@ _extends(math, {
352
353
  deepEqual,
353
354
  floor,
354
355
  hypot,
355
- log,
356
+ lgamma,
356
357
  median,
357
358
  multinomial,
358
359
  permutations,