mathjs 11.5.0 → 11.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (199) hide show
  1. package/HISTORY.md +39 -0
  2. package/NOTICE +1 -1
  3. package/README.md +2 -2
  4. package/bin/cli.js +1 -1
  5. package/lib/browser/math.js +1 -1
  6. package/lib/browser/math.js.LICENSE.txt +3 -3
  7. package/lib/browser/math.js.map +1 -1
  8. package/lib/cjs/entry/dependenciesAny/dependenciesAdd.generated.js +2 -0
  9. package/lib/cjs/entry/dependenciesAny/dependenciesAnd.generated.js +2 -0
  10. package/lib/cjs/entry/dependenciesAny/dependenciesAtan2.generated.js +2 -0
  11. package/lib/cjs/entry/dependenciesAny/dependenciesBitAnd.generated.js +2 -0
  12. package/lib/cjs/entry/dependenciesAny/dependenciesBitOr.generated.js +2 -0
  13. package/lib/cjs/entry/dependenciesAny/dependenciesBitXor.generated.js +2 -0
  14. package/lib/cjs/entry/dependenciesAny/dependenciesCompare.generated.js +2 -0
  15. package/lib/cjs/entry/dependenciesAny/dependenciesCompareText.generated.js +2 -0
  16. package/lib/cjs/entry/dependenciesAny/dependenciesDotDivide.generated.js +2 -0
  17. package/lib/cjs/entry/dependenciesAny/dependenciesDotMultiply.generated.js +2 -0
  18. package/lib/cjs/entry/dependenciesAny/dependenciesDotPow.generated.js +2 -0
  19. package/lib/cjs/entry/dependenciesAny/dependenciesEqual.generated.js +2 -0
  20. package/lib/cjs/entry/dependenciesAny/dependenciesFft.generated.js +10 -0
  21. package/lib/cjs/entry/dependenciesAny/dependenciesGcd.generated.js +2 -0
  22. package/lib/cjs/entry/dependenciesAny/dependenciesLarger.generated.js +2 -0
  23. package/lib/cjs/entry/dependenciesAny/dependenciesLargerEq.generated.js +2 -0
  24. package/lib/cjs/entry/dependenciesAny/dependenciesLcm.generated.js +2 -0
  25. package/lib/cjs/entry/dependenciesAny/dependenciesLeftShift.generated.js +2 -0
  26. package/lib/cjs/entry/dependenciesAny/dependenciesMod.generated.js +2 -0
  27. package/lib/cjs/entry/dependenciesAny/dependenciesNthRoot.generated.js +2 -0
  28. package/lib/cjs/entry/dependenciesAny/dependenciesOr.generated.js +2 -0
  29. package/lib/cjs/entry/dependenciesAny/dependenciesRightArithShift.generated.js +2 -0
  30. package/lib/cjs/entry/dependenciesAny/dependenciesRightLogShift.generated.js +2 -0
  31. package/lib/cjs/entry/dependenciesAny/dependenciesSimplifyConstant.generated.js +0 -2
  32. package/lib/cjs/entry/dependenciesAny/dependenciesSmaller.generated.js +2 -0
  33. package/lib/cjs/entry/dependenciesAny/dependenciesSmallerEq.generated.js +2 -0
  34. package/lib/cjs/entry/dependenciesAny/dependenciesSubtract.generated.js +2 -0
  35. package/lib/cjs/entry/dependenciesAny/dependenciesTo.generated.js +2 -0
  36. package/lib/cjs/entry/dependenciesAny/dependenciesUnequal.generated.js +2 -0
  37. package/lib/cjs/entry/dependenciesAny/dependenciesXor.generated.js +2 -0
  38. package/lib/cjs/entry/dependenciesNumber/dependenciesSimplifyConstant.generated.js +0 -2
  39. package/lib/cjs/entry/impureFunctionsAny.generated.js +102 -103
  40. package/lib/cjs/entry/impureFunctionsNumber.generated.js +41 -42
  41. package/lib/cjs/entry/pureFunctionsAny.generated.js +405 -372
  42. package/lib/cjs/expression/embeddedDocs/function/arithmetic/invmod.js +1 -1
  43. package/lib/cjs/expression/embeddedDocs/function/arithmetic/pow.js +1 -1
  44. package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromColumns.js +1 -1
  45. package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromFunction.js +1 -1
  46. package/lib/cjs/expression/embeddedDocs/function/matrix/matrixFromRows.js +1 -1
  47. package/lib/cjs/expression/embeddedDocs/function/matrix/rotate.js +1 -1
  48. package/lib/cjs/expression/embeddedDocs/function/matrix/sort.js +1 -1
  49. package/lib/cjs/expression/embeddedDocs/function/probability/lgamma.js +1 -1
  50. package/lib/cjs/expression/embeddedDocs/function/statistics/max.js +1 -1
  51. package/lib/cjs/expression/embeddedDocs/function/statistics/mean.js +1 -1
  52. package/lib/cjs/expression/embeddedDocs/function/statistics/min.js +1 -1
  53. package/lib/cjs/expression/embeddedDocs/function/statistics/std.js +1 -1
  54. package/lib/cjs/expression/embeddedDocs/function/statistics/sum.js +1 -1
  55. package/lib/cjs/expression/embeddedDocs/function/statistics/variance.js +1 -1
  56. package/lib/cjs/function/algebra/simplifyConstant.js +1 -2
  57. package/lib/cjs/function/arithmetic/add.js +38 -37
  58. package/lib/cjs/function/arithmetic/dotDivide.js +5 -3
  59. package/lib/cjs/function/arithmetic/dotMultiply.js +5 -3
  60. package/lib/cjs/function/arithmetic/dotPow.js +5 -3
  61. package/lib/cjs/function/arithmetic/gcd.js +5 -3
  62. package/lib/cjs/function/arithmetic/lcm.js +5 -3
  63. package/lib/cjs/function/arithmetic/mod.js +5 -3
  64. package/lib/cjs/function/arithmetic/nthRoot.js +5 -3
  65. package/lib/cjs/function/arithmetic/subtract.js +5 -3
  66. package/lib/cjs/function/bitwise/bitAnd.js +5 -3
  67. package/lib/cjs/function/bitwise/bitOr.js +5 -3
  68. package/lib/cjs/function/bitwise/bitXor.js +5 -3
  69. package/lib/cjs/function/bitwise/leftShift.js +5 -3
  70. package/lib/cjs/function/bitwise/rightArithShift.js +5 -3
  71. package/lib/cjs/function/bitwise/rightLogShift.js +5 -3
  72. package/lib/cjs/function/geometry/distance.js +3 -3
  73. package/lib/cjs/function/logical/and.js +5 -3
  74. package/lib/cjs/function/logical/or.js +5 -3
  75. package/lib/cjs/function/logical/xor.js +5 -3
  76. package/lib/cjs/function/matrix/column.js +3 -1
  77. package/lib/cjs/function/matrix/fft.js +43 -4
  78. package/lib/cjs/function/matrix/getMatrixDataType.js +1 -1
  79. package/lib/cjs/function/matrix/row.js +3 -1
  80. package/lib/cjs/function/matrix/subset.js +1 -1
  81. package/lib/cjs/function/relational/compare.js +5 -3
  82. package/lib/cjs/function/relational/compareText.js +5 -3
  83. package/lib/cjs/function/relational/equal.js +5 -3
  84. package/lib/cjs/function/relational/larger.js +5 -3
  85. package/lib/cjs/function/relational/largerEq.js +5 -3
  86. package/lib/cjs/function/relational/smaller.js +5 -3
  87. package/lib/cjs/function/relational/smallerEq.js +5 -3
  88. package/lib/cjs/function/relational/unequal.js +5 -3
  89. package/lib/cjs/function/statistics/max.js +3 -3
  90. package/lib/cjs/function/statistics/mean.js +2 -2
  91. package/lib/cjs/function/statistics/min.js +2 -2
  92. package/lib/cjs/function/statistics/mode.js +1 -1
  93. package/lib/cjs/function/statistics/prod.js +1 -1
  94. package/lib/cjs/function/statistics/quantileSeq.js +5 -4
  95. package/lib/cjs/function/statistics/sum.js +3 -2
  96. package/lib/cjs/function/statistics/variance.js +1 -1
  97. package/lib/cjs/function/trigonometry/atan2.js +5 -3
  98. package/lib/cjs/function/unit/to.js +8 -6
  99. package/lib/cjs/header.js +3 -3
  100. package/lib/cjs/type/matrix/utils/broadcast.js +84 -0
  101. package/lib/cjs/type/matrix/utils/matrixAlgorithmSuite.js +27 -20
  102. package/lib/cjs/version.js +1 -1
  103. package/lib/esm/entry/dependenciesAny/dependenciesAdd.generated.js +2 -0
  104. package/lib/esm/entry/dependenciesAny/dependenciesAnd.generated.js +2 -0
  105. package/lib/esm/entry/dependenciesAny/dependenciesAtan2.generated.js +2 -0
  106. package/lib/esm/entry/dependenciesAny/dependenciesBitAnd.generated.js +2 -0
  107. package/lib/esm/entry/dependenciesAny/dependenciesBitOr.generated.js +2 -0
  108. package/lib/esm/entry/dependenciesAny/dependenciesBitXor.generated.js +2 -0
  109. package/lib/esm/entry/dependenciesAny/dependenciesCompare.generated.js +2 -0
  110. package/lib/esm/entry/dependenciesAny/dependenciesCompareText.generated.js +2 -0
  111. package/lib/esm/entry/dependenciesAny/dependenciesDotDivide.generated.js +2 -0
  112. package/lib/esm/entry/dependenciesAny/dependenciesDotMultiply.generated.js +2 -0
  113. package/lib/esm/entry/dependenciesAny/dependenciesDotPow.generated.js +2 -0
  114. package/lib/esm/entry/dependenciesAny/dependenciesEqual.generated.js +2 -0
  115. package/lib/esm/entry/dependenciesAny/dependenciesFft.generated.js +10 -0
  116. package/lib/esm/entry/dependenciesAny/dependenciesGcd.generated.js +2 -0
  117. package/lib/esm/entry/dependenciesAny/dependenciesLarger.generated.js +2 -0
  118. package/lib/esm/entry/dependenciesAny/dependenciesLargerEq.generated.js +2 -0
  119. package/lib/esm/entry/dependenciesAny/dependenciesLcm.generated.js +2 -0
  120. package/lib/esm/entry/dependenciesAny/dependenciesLeftShift.generated.js +2 -0
  121. package/lib/esm/entry/dependenciesAny/dependenciesMod.generated.js +2 -0
  122. package/lib/esm/entry/dependenciesAny/dependenciesNthRoot.generated.js +2 -0
  123. package/lib/esm/entry/dependenciesAny/dependenciesOr.generated.js +2 -0
  124. package/lib/esm/entry/dependenciesAny/dependenciesRightArithShift.generated.js +2 -0
  125. package/lib/esm/entry/dependenciesAny/dependenciesRightLogShift.generated.js +2 -0
  126. package/lib/esm/entry/dependenciesAny/dependenciesSimplifyConstant.generated.js +0 -2
  127. package/lib/esm/entry/dependenciesAny/dependenciesSmaller.generated.js +2 -0
  128. package/lib/esm/entry/dependenciesAny/dependenciesSmallerEq.generated.js +2 -0
  129. package/lib/esm/entry/dependenciesAny/dependenciesSubtract.generated.js +2 -0
  130. package/lib/esm/entry/dependenciesAny/dependenciesTo.generated.js +2 -0
  131. package/lib/esm/entry/dependenciesAny/dependenciesUnequal.generated.js +2 -0
  132. package/lib/esm/entry/dependenciesAny/dependenciesXor.generated.js +2 -0
  133. package/lib/esm/entry/dependenciesNumber/dependenciesSimplifyConstant.generated.js +0 -2
  134. package/lib/esm/entry/impureFunctionsAny.generated.js +100 -101
  135. package/lib/esm/entry/impureFunctionsNumber.generated.js +38 -39
  136. package/lib/esm/entry/pureFunctionsAny.generated.js +332 -299
  137. package/lib/esm/expression/embeddedDocs/function/arithmetic/invmod.js +1 -1
  138. package/lib/esm/expression/embeddedDocs/function/arithmetic/pow.js +1 -1
  139. package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromColumns.js +1 -1
  140. package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromFunction.js +1 -1
  141. package/lib/esm/expression/embeddedDocs/function/matrix/matrixFromRows.js +1 -1
  142. package/lib/esm/expression/embeddedDocs/function/matrix/rotate.js +1 -1
  143. package/lib/esm/expression/embeddedDocs/function/matrix/sort.js +1 -1
  144. package/lib/esm/expression/embeddedDocs/function/probability/lgamma.js +1 -1
  145. package/lib/esm/expression/embeddedDocs/function/statistics/max.js +1 -1
  146. package/lib/esm/expression/embeddedDocs/function/statistics/mean.js +1 -1
  147. package/lib/esm/expression/embeddedDocs/function/statistics/min.js +1 -1
  148. package/lib/esm/expression/embeddedDocs/function/statistics/std.js +1 -1
  149. package/lib/esm/expression/embeddedDocs/function/statistics/sum.js +1 -1
  150. package/lib/esm/expression/embeddedDocs/function/statistics/variance.js +1 -1
  151. package/lib/esm/function/algebra/simplifyConstant.js +1 -2
  152. package/lib/esm/function/arithmetic/add.js +38 -37
  153. package/lib/esm/function/arithmetic/dotDivide.js +5 -3
  154. package/lib/esm/function/arithmetic/dotMultiply.js +5 -3
  155. package/lib/esm/function/arithmetic/dotPow.js +5 -3
  156. package/lib/esm/function/arithmetic/gcd.js +5 -3
  157. package/lib/esm/function/arithmetic/lcm.js +5 -3
  158. package/lib/esm/function/arithmetic/mod.js +5 -3
  159. package/lib/esm/function/arithmetic/nthRoot.js +5 -3
  160. package/lib/esm/function/arithmetic/subtract.js +5 -3
  161. package/lib/esm/function/bitwise/bitAnd.js +5 -3
  162. package/lib/esm/function/bitwise/bitOr.js +5 -3
  163. package/lib/esm/function/bitwise/bitXor.js +5 -3
  164. package/lib/esm/function/bitwise/leftShift.js +5 -3
  165. package/lib/esm/function/bitwise/rightArithShift.js +5 -3
  166. package/lib/esm/function/bitwise/rightLogShift.js +5 -3
  167. package/lib/esm/function/geometry/distance.js +3 -3
  168. package/lib/esm/function/logical/and.js +5 -3
  169. package/lib/esm/function/logical/or.js +5 -3
  170. package/lib/esm/function/logical/xor.js +5 -3
  171. package/lib/esm/function/matrix/column.js +3 -1
  172. package/lib/esm/function/matrix/fft.js +37 -4
  173. package/lib/esm/function/matrix/getMatrixDataType.js +1 -1
  174. package/lib/esm/function/matrix/row.js +3 -1
  175. package/lib/esm/function/matrix/subset.js +1 -1
  176. package/lib/esm/function/relational/compare.js +5 -3
  177. package/lib/esm/function/relational/compareText.js +5 -3
  178. package/lib/esm/function/relational/equal.js +5 -3
  179. package/lib/esm/function/relational/larger.js +5 -3
  180. package/lib/esm/function/relational/largerEq.js +5 -3
  181. package/lib/esm/function/relational/smaller.js +5 -3
  182. package/lib/esm/function/relational/smallerEq.js +5 -3
  183. package/lib/esm/function/relational/unequal.js +5 -3
  184. package/lib/esm/function/statistics/max.js +3 -3
  185. package/lib/esm/function/statistics/mean.js +2 -2
  186. package/lib/esm/function/statistics/min.js +2 -2
  187. package/lib/esm/function/statistics/mode.js +1 -1
  188. package/lib/esm/function/statistics/prod.js +1 -1
  189. package/lib/esm/function/statistics/quantileSeq.js +5 -4
  190. package/lib/esm/function/statistics/sum.js +3 -2
  191. package/lib/esm/function/statistics/variance.js +1 -1
  192. package/lib/esm/function/trigonometry/atan2.js +5 -3
  193. package/lib/esm/function/unit/to.js +8 -6
  194. package/lib/esm/header.js +1 -1
  195. package/lib/esm/type/matrix/utils/broadcast.js +75 -0
  196. package/lib/esm/type/matrix/utils/matrixAlgorithmSuite.js +25 -20
  197. package/lib/esm/version.js +1 -1
  198. package/package.json +21 -23
  199. package/types/index.d.ts +70 -13
@@ -9,7 +9,7 @@ var invmodDocs = {
9
9
  category: 'Arithmetic',
10
10
  syntax: ['invmod(a, b)'],
11
11
  description: 'Calculate the (modular) multiplicative inverse of a modulo b. Solution to the equation ax ≣ 1 (mod b)',
12
- examples: ['invmod(8, 12)=NaN', 'invmod(7, 13)=2', 'math.invmod(15151, 15122)=10429'],
12
+ examples: ['invmod(8, 12)=NaN', 'invmod(7, 13)=2', 'invmod(15151, 15122)=10429'],
13
13
  seealso: ['gcd', 'xgcd']
14
14
  };
15
15
  exports.invmodDocs = invmodDocs;
@@ -9,7 +9,7 @@ var powDocs = {
9
9
  category: 'Operators',
10
10
  syntax: ['x ^ y', 'pow(x, y)'],
11
11
  description: 'Calculates the power of x to y, x^y.',
12
- examples: ['2^3', '2*2*2', '1 + e ^ (pi * i)', 'math.pow([[1, 2], [4, 3]], 2)', 'math.pow([[1, 2], [4, 3]], -1)'],
12
+ examples: ['2^3', '2*2*2', '1 + e ^ (pi * i)', 'pow([[1, 2], [4, 3]], 2)', 'pow([[1, 2], [4, 3]], -1)'],
13
13
  seealso: ['multiply', 'nthRoot', 'nthRoots', 'sqrt']
14
14
  };
15
15
  exports.powDocs = powDocs;
@@ -7,7 +7,7 @@ exports.matrixFromColumnsDocs = void 0;
7
7
  var matrixFromColumnsDocs = {
8
8
  name: 'matrixFromColumns',
9
9
  category: 'Matrix',
10
- syntax: ['math.matrixFromColumns(...arr)', 'math.matrixFromColumns(row1, row2)', 'math.matrixFromColumns(row1, row2, row3)'],
10
+ syntax: ['matrixFromColumns(...arr)', 'matrixFromColumns(row1, row2)', 'matrixFromColumns(row1, row2, row3)'],
11
11
  description: 'Create a dense matrix from vectors as individual columns.',
12
12
  examples: ['matrixFromColumns([1, 2, 3], [[4],[5],[6]])'],
13
13
  seealso: ['matrix', 'matrixFromRows', 'matrixFromFunction', 'zeros']
@@ -7,7 +7,7 @@ exports.matrixFromFunctionDocs = void 0;
7
7
  var matrixFromFunctionDocs = {
8
8
  name: 'matrixFromFunction',
9
9
  category: 'Matrix',
10
- syntax: ['math.matrixFromFunction(size, fn)', 'math.matrixFromFunction(size, fn, format)', 'math.matrixFromFunction(size, fn, format, datatype)', 'math.matrixFromFunction(size, format, fn)', 'math.matrixFromFunction(size, format, datatype, fn)'],
10
+ syntax: ['matrixFromFunction(size, fn)', 'matrixFromFunction(size, fn, format)', 'matrixFromFunction(size, fn, format, datatype)', 'matrixFromFunction(size, format, fn)', 'matrixFromFunction(size, format, datatype, fn)'],
11
11
  description: 'Create a matrix by evaluating a generating function at each index.',
12
12
  examples: ['f(I) = I[1] - I[2]', 'matrixFromFunction([3,3], f)', 'g(I) = I[1] - I[2] == 1 ? 4 : 0', 'matrixFromFunction([100, 100], "sparse", g)', 'matrixFromFunction([5], random)'],
13
13
  seealso: ['matrix', 'matrixFromRows', 'matrixFromColumns', 'zeros']
@@ -7,7 +7,7 @@ exports.matrixFromRowsDocs = void 0;
7
7
  var matrixFromRowsDocs = {
8
8
  name: 'matrixFromRows',
9
9
  category: 'Matrix',
10
- syntax: ['math.matrixFromRows(...arr)', 'math.matrixFromRows(row1, row2)', 'math.matrixFromRows(row1, row2, row3)'],
10
+ syntax: ['matrixFromRows(...arr)', 'matrixFromRows(row1, row2)', 'matrixFromRows(row1, row2, row3)'],
11
11
  description: 'Create a dense matrix from vectors as individual rows.',
12
12
  examples: ['matrixFromRows([1, 2, 3], [[4],[5],[6]])'],
13
13
  seealso: ['matrix', 'matrixFromColumns', 'matrixFromFunction', 'zeros']
@@ -9,7 +9,7 @@ var rotateDocs = {
9
9
  category: 'Matrix',
10
10
  syntax: ['rotate(w, theta)', 'rotate(w, theta, v)'],
11
11
  description: 'Returns a 2-D rotation matrix (2x2) for a given angle (in radians). ' + 'Returns a 2-D rotation matrix (3x3) of a given angle (in radians) around given axis.',
12
- examples: ['rotate([1, 0], math.pi / 2)', 'rotate(matrix([1, 0]), unit("35deg"))', 'rotate([1, 0, 0], unit("90deg"), [0, 0, 1])', 'rotate(matrix([1, 0, 0]), unit("90deg"), matrix([0, 0, 1]))'],
12
+ examples: ['rotate([1, 0], pi / 2)', 'rotate(matrix([1, 0]), unit("35deg"))', 'rotate([1, 0, 0], unit("90deg"), [0, 0, 1])', 'rotate(matrix([1, 0, 0]), unit("90deg"), matrix([0, 0, 1]))'],
13
13
  seealso: ['matrix', 'rotationMatrix']
14
14
  };
15
15
  exports.rotateDocs = rotateDocs;
@@ -9,7 +9,7 @@ var sortDocs = {
9
9
  category: 'Matrix',
10
10
  syntax: ['sort(x)', 'sort(x, compare)'],
11
11
  description: 'Sort the items in a matrix. Compare can be a string "asc", "desc", "natural", or a custom sort function.',
12
- examples: ['sort([5, 10, 1])', 'sort(["C", "B", "A", "D"])', 'sortByLength(a, b) = size(a)[1] - size(b)[1]', 'sort(["Langdon", "Tom", "Sara"], sortByLength)', 'sort(["10", "1", "2"], "natural")'],
12
+ examples: ['sort([5, 10, 1])', 'sort(["C", "B", "A", "D"], "natural")', 'sortByLength(a, b) = size(a)[1] - size(b)[1]', 'sort(["Langdon", "Tom", "Sara"], sortByLength)', 'sort(["10", "1", "2"], "natural")'],
13
13
  seealso: ['map', 'filter', 'forEach']
14
14
  };
15
15
  exports.sortDocs = sortDocs;
@@ -9,7 +9,7 @@ var lgammaDocs = {
9
9
  category: 'Probability',
10
10
  syntax: ['lgamma(n)'],
11
11
  description: 'Logarithm of the gamma function for real, positive numbers and complex numbers, ' + 'using Lanczos approximation for numbers and Stirling series for complex numbers.',
12
- examples: ['lgamma(4)', 'lgamma(1/2)', 'lgamma(math.i)', 'lgamma(complex(1.1, 2))'],
12
+ examples: ['lgamma(4)', 'lgamma(1/2)', 'lgamma(i)', 'lgamma(complex(1.1, 2))'],
13
13
  seealso: ['gamma']
14
14
  };
15
15
  exports.lgammaDocs = lgammaDocs;
@@ -7,7 +7,7 @@ exports.maxDocs = void 0;
7
7
  var maxDocs = {
8
8
  name: 'max',
9
9
  category: 'Statistics',
10
- syntax: ['max(a, b, c, ...)', 'max(A)', 'max(A, dim)'],
10
+ syntax: ['max(a, b, c, ...)', 'max(A)', 'max(A, dimension)'],
11
11
  description: 'Compute the maximum value of a list of values.',
12
12
  examples: ['max(2, 3, 4, 1)', 'max([2, 3, 4, 1])', 'max([2, 5; 4, 3])', 'max([2, 5; 4, 3], 1)', 'max([2, 5; 4, 3], 2)', 'max(2.7, 7.1, -4.5, 2.0, 4.1)', 'min(2.7, 7.1, -4.5, 2.0, 4.1)'],
13
13
  seealso: ['mean', 'median', 'min', 'prod', 'std', 'sum', 'variance']
@@ -7,7 +7,7 @@ exports.meanDocs = void 0;
7
7
  var meanDocs = {
8
8
  name: 'mean',
9
9
  category: 'Statistics',
10
- syntax: ['mean(a, b, c, ...)', 'mean(A)', 'mean(A, dim)'],
10
+ syntax: ['mean(a, b, c, ...)', 'mean(A)', 'mean(A, dimension)'],
11
11
  description: 'Compute the arithmetic mean of a list of values.',
12
12
  examples: ['mean(2, 3, 4, 1)', 'mean([2, 3, 4, 1])', 'mean([2, 5; 4, 3])', 'mean([2, 5; 4, 3], 1)', 'mean([2, 5; 4, 3], 2)', 'mean([1.0, 2.7, 3.2, 4.0])'],
13
13
  seealso: ['max', 'median', 'min', 'prod', 'std', 'sum', 'variance']
@@ -7,7 +7,7 @@ exports.minDocs = void 0;
7
7
  var minDocs = {
8
8
  name: 'min',
9
9
  category: 'Statistics',
10
- syntax: ['min(a, b, c, ...)', 'min(A)', 'min(A, dim)'],
10
+ syntax: ['min(a, b, c, ...)', 'min(A)', 'min(A, dimension)'],
11
11
  description: 'Compute the minimum value of a list of values.',
12
12
  examples: ['min(2, 3, 4, 1)', 'min([2, 3, 4, 1])', 'min([2, 5; 4, 3])', 'min([2, 5; 4, 3], 1)', 'min([2, 5; 4, 3], 2)', 'min(2.7, 7.1, -4.5, 2.0, 4.1)', 'max(2.7, 7.1, -4.5, 2.0, 4.1)'],
13
13
  seealso: ['max', 'mean', 'median', 'prod', 'std', 'sum', 'variance']
@@ -7,7 +7,7 @@ exports.stdDocs = void 0;
7
7
  var stdDocs = {
8
8
  name: 'std',
9
9
  category: 'Statistics',
10
- syntax: ['std(a, b, c, ...)', 'std(A)', 'std(A, normalization)'],
10
+ syntax: ['std(a, b, c, ...)', 'std(A)', 'std(A, dimension)', 'std(A, normalization)', 'std(A, dimension, normalization)'],
11
11
  description: 'Compute the standard deviation of all values, defined as std(A) = sqrt(variance(A)). Optional parameter normalization can be "unbiased" (default), "uncorrected", or "biased".',
12
12
  examples: ['std(2, 4, 6)', 'std([2, 4, 6, 8])', 'std([2, 4, 6, 8], "uncorrected")', 'std([2, 4, 6, 8], "biased")', 'std([1, 2, 3; 4, 5, 6])'],
13
13
  seealso: ['max', 'mean', 'min', 'median', 'prod', 'sum', 'variance']
@@ -7,7 +7,7 @@ exports.sumDocs = void 0;
7
7
  var sumDocs = {
8
8
  name: 'sum',
9
9
  category: 'Statistics',
10
- syntax: ['sum(a, b, c, ...)', 'sum(A)'],
10
+ syntax: ['sum(a, b, c, ...)', 'sum(A)', 'sum(A, dimension)'],
11
11
  description: 'Compute the sum of all values.',
12
12
  examples: ['sum(2, 3, 4, 1)', 'sum([2, 3, 4, 1])', 'sum([2, 5; 4, 3])'],
13
13
  seealso: ['max', 'mean', 'median', 'min', 'prod', 'std', 'sum', 'variance']
@@ -7,7 +7,7 @@ exports.varianceDocs = void 0;
7
7
  var varianceDocs = {
8
8
  name: 'variance',
9
9
  category: 'Statistics',
10
- syntax: ['variance(a, b, c, ...)', 'variance(A)', 'variance(A, normalization)'],
10
+ syntax: ['variance(a, b, c, ...)', 'variance(A)', 'variance(A, dimension)', 'variance(A, normalization)', 'variance(A, dimension, normalization)'],
11
11
  description: 'Compute the variance of all values. Optional parameter normalization can be "unbiased" (default), "uncorrected", or "biased".',
12
12
  examples: ['variance(2, 4, 6)', 'variance([2, 4, 6, 8])', 'variance([2, 4, 6, 8], "uncorrected")', 'variance([2, 4, 6, 8], "biased")', 'variance([1, 2, 3; 4, 5, 6])'],
13
13
  seealso: ['max', 'mean', 'min', 'median', 'min', 'prod', 'std', 'sum']
@@ -14,10 +14,9 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol
14
14
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
15
15
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
16
16
  var name = 'simplifyConstant';
17
- var dependencies = ['typed', 'parse', 'config', 'mathWithTransform', 'matrix', '?fraction', '?bignumber', 'AccessorNode', 'ArrayNode', 'ConstantNode', 'FunctionNode', 'IndexNode', 'ObjectNode', 'OperatorNode', 'SymbolNode'];
17
+ var dependencies = ['typed', 'config', 'mathWithTransform', 'matrix', '?fraction', '?bignumber', 'AccessorNode', 'ArrayNode', 'ConstantNode', 'FunctionNode', 'IndexNode', 'ObjectNode', 'OperatorNode', 'SymbolNode'];
18
18
  var createSimplifyConstant = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
19
19
  var typed = _ref.typed,
20
- parse = _ref.parse,
21
20
  config = _ref.config,
22
21
  mathWithTransform = _ref.mathWithTransform,
23
22
  matrix = _ref.matrix,
@@ -10,14 +10,15 @@ var _matAlgo04xSidSid = require("../../type/matrix/utils/matAlgo04xSidSid.js");
10
10
  var _matAlgo10xSids = require("../../type/matrix/utils/matAlgo10xSids.js");
11
11
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
12
12
  var name = 'add';
13
- var dependencies = ['typed', 'matrix', 'addScalar', 'equalScalar', 'DenseMatrix', 'SparseMatrix'];
13
+ var dependencies = ['typed', 'matrix', 'addScalar', 'equalScalar', 'DenseMatrix', 'SparseMatrix', 'concat'];
14
14
  var createAdd = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
15
15
  var typed = _ref.typed,
16
16
  matrix = _ref.matrix,
17
17
  addScalar = _ref.addScalar,
18
18
  equalScalar = _ref.equalScalar,
19
19
  DenseMatrix = _ref.DenseMatrix,
20
- SparseMatrix = _ref.SparseMatrix;
20
+ SparseMatrix = _ref.SparseMatrix,
21
+ concat = _ref.concat;
21
22
  var matAlgo01xDSid = (0, _matAlgo01xDSid.createMatAlgo01xDSid)({
22
23
  typed: typed
23
24
  });
@@ -31,43 +32,43 @@ var createAdd = /* #__PURE__ */(0, _factory.factory)(name, dependencies, functio
31
32
  });
32
33
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
33
34
  typed: typed,
34
- matrix: matrix
35
+ matrix: matrix,
36
+ concat: concat
35
37
  });
36
-
37
38
  /**
38
- * Add two or more values, `x + y`.
39
- * For matrices, the function is evaluated element wise.
40
- *
41
- * Syntax:
42
- *
43
- * math.add(x, y)
44
- * math.add(x, y, z, ...)
45
- *
46
- * Examples:
47
- *
48
- * math.add(2, 3) // returns number 5
49
- * math.add(2, 3, 4) // returns number 9
50
- *
51
- * const a = math.complex(2, 3)
52
- * const b = math.complex(-4, 1)
53
- * math.add(a, b) // returns Complex -2 + 4i
54
- *
55
- * math.add([1, 2, 3], 4) // returns Array [5, 6, 7]
56
- *
57
- * const c = math.unit('5 cm')
58
- * const d = math.unit('2.1 mm')
59
- * math.add(c, d) // returns Unit 52.1 mm
60
- *
61
- * math.add("2.3", "4") // returns number 6.3
62
- *
63
- * See also:
64
- *
65
- * subtract, sum
66
- *
67
- * @param {number | BigNumber | Fraction | Complex | Unit | Array | Matrix} x First value to add
68
- * @param {number | BigNumber | Fraction | Complex | Unit | Array | Matrix} y Second value to add
69
- * @return {number | BigNumber | Fraction | Complex | Unit | Array | Matrix} Sum of `x` and `y`
70
- */
39
+ * Add two or more values, `x + y`.
40
+ * For matrices, the function is evaluated element wise.
41
+ *
42
+ * Syntax:
43
+ *
44
+ * math.add(x, y)
45
+ * math.add(x, y, z, ...)
46
+ *
47
+ * Examples:
48
+ *
49
+ * math.add(2, 3) // returns number 5
50
+ * math.add(2, 3, 4) // returns number 9
51
+ *
52
+ * const a = math.complex(2, 3)
53
+ * const b = math.complex(-4, 1)
54
+ * math.add(a, b) // returns Complex -2 + 4i
55
+ *
56
+ * math.add([1, 2, 3], 4) // returns Array [5, 6, 7]
57
+ *
58
+ * const c = math.unit('5 cm')
59
+ * const d = math.unit('2.1 mm')
60
+ * math.add(c, d) // returns Unit 52.1 mm
61
+ *
62
+ * math.add("2.3", "4") // returns number 6.3
63
+ *
64
+ * See also:
65
+ *
66
+ * subtract, sum
67
+ *
68
+ * @param {number | BigNumber | Fraction | Complex | Unit | Array | Matrix} x First value to add
69
+ * @param {number | BigNumber | Fraction | Complex | Unit | Array | Matrix} y Second value to add
70
+ * @return {number | BigNumber | Fraction | Complex | Unit | Array | Matrix} Sum of `x` and `y`
71
+ */
71
72
  return typed(name, {
72
73
  'any, any': addScalar,
73
74
  'any, any, ...any': typed.referToSelf(function (self) {
@@ -12,13 +12,14 @@ var _matAlgo11xS0s = require("../../type/matrix/utils/matAlgo11xS0s.js");
12
12
  var _matAlgo12xSfs = require("../../type/matrix/utils/matAlgo12xSfs.js");
13
13
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
14
14
  var name = 'dotDivide';
15
- var dependencies = ['typed', 'matrix', 'equalScalar', 'divideScalar', 'DenseMatrix'];
15
+ var dependencies = ['typed', 'matrix', 'equalScalar', 'divideScalar', 'DenseMatrix', 'concat'];
16
16
  var createDotDivide = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
17
17
  var typed = _ref.typed,
18
18
  matrix = _ref.matrix,
19
19
  equalScalar = _ref.equalScalar,
20
20
  divideScalar = _ref.divideScalar,
21
- DenseMatrix = _ref.DenseMatrix;
21
+ DenseMatrix = _ref.DenseMatrix,
22
+ concat = _ref.concat;
22
23
  var matAlgo02xDS0 = (0, _matAlgo02xDS.createMatAlgo02xDS0)({
23
24
  typed: typed,
24
25
  equalScalar: equalScalar
@@ -40,7 +41,8 @@ var createDotDivide = /* #__PURE__ */(0, _factory.factory)(name, dependencies, f
40
41
  });
41
42
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
42
43
  typed: typed,
43
- matrix: matrix
44
+ matrix: matrix,
45
+ concat: concat
44
46
  });
45
47
 
46
48
  /**
@@ -10,12 +10,13 @@ var _matAlgo09xS0Sf = require("../../type/matrix/utils/matAlgo09xS0Sf.js");
10
10
  var _matAlgo11xS0s = require("../../type/matrix/utils/matAlgo11xS0s.js");
11
11
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
12
12
  var name = 'dotMultiply';
13
- var dependencies = ['typed', 'matrix', 'equalScalar', 'multiplyScalar'];
13
+ var dependencies = ['typed', 'matrix', 'equalScalar', 'multiplyScalar', 'concat'];
14
14
  var createDotMultiply = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
15
15
  var typed = _ref.typed,
16
16
  matrix = _ref.matrix,
17
17
  equalScalar = _ref.equalScalar,
18
- multiplyScalar = _ref.multiplyScalar;
18
+ multiplyScalar = _ref.multiplyScalar,
19
+ concat = _ref.concat;
19
20
  var matAlgo02xDS0 = (0, _matAlgo02xDS.createMatAlgo02xDS0)({
20
21
  typed: typed,
21
22
  equalScalar: equalScalar
@@ -30,7 +31,8 @@ var createDotMultiply = /* #__PURE__ */(0, _factory.factory)(name, dependencies,
30
31
  });
31
32
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
32
33
  typed: typed,
33
- matrix: matrix
34
+ matrix: matrix,
35
+ concat: concat
34
36
  });
35
37
 
36
38
  /**
@@ -11,13 +11,14 @@ var _matAlgo11xS0s = require("../../type/matrix/utils/matAlgo11xS0s.js");
11
11
  var _matAlgo12xSfs = require("../../type/matrix/utils/matAlgo12xSfs.js");
12
12
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
13
13
  var name = 'dotPow';
14
- var dependencies = ['typed', 'equalScalar', 'matrix', 'pow', 'DenseMatrix'];
14
+ var dependencies = ['typed', 'equalScalar', 'matrix', 'pow', 'DenseMatrix', 'concat'];
15
15
  var createDotPow = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
16
16
  var typed = _ref.typed,
17
17
  equalScalar = _ref.equalScalar,
18
18
  matrix = _ref.matrix,
19
19
  pow = _ref.pow,
20
- DenseMatrix = _ref.DenseMatrix;
20
+ DenseMatrix = _ref.DenseMatrix,
21
+ concat = _ref.concat;
21
22
  var matAlgo03xDSf = (0, _matAlgo03xDSf.createMatAlgo03xDSf)({
22
23
  typed: typed
23
24
  });
@@ -35,7 +36,8 @@ var createDotPow = /* #__PURE__ */(0, _factory.factory)(name, dependencies, func
35
36
  });
36
37
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
37
38
  typed: typed,
38
- matrix: matrix
39
+ matrix: matrix,
40
+ concat: concat
39
41
  });
40
42
  var powScalarSignatures = {};
41
43
  for (var signature in pow.signatures) {
@@ -11,13 +11,14 @@ var _matAlgo10xSids = require("../../type/matrix/utils/matAlgo10xSids.js");
11
11
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
12
12
  var _index = require("../../plain/number/index.js");
13
13
  var name = 'gcd';
14
- var dependencies = ['typed', 'matrix', 'equalScalar', 'BigNumber', 'DenseMatrix'];
14
+ var dependencies = ['typed', 'matrix', 'equalScalar', 'BigNumber', 'DenseMatrix', 'concat'];
15
15
  var createGcd = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
16
16
  var typed = _ref.typed,
17
17
  matrix = _ref.matrix,
18
18
  equalScalar = _ref.equalScalar,
19
19
  BigNumber = _ref.BigNumber,
20
- DenseMatrix = _ref.DenseMatrix;
20
+ DenseMatrix = _ref.DenseMatrix,
21
+ concat = _ref.concat;
21
22
  var matAlgo01xDSid = (0, _matAlgo01xDSid.createMatAlgo01xDSid)({
22
23
  typed: typed
23
24
  });
@@ -31,7 +32,8 @@ var createGcd = /* #__PURE__ */(0, _factory.factory)(name, dependencies, functio
31
32
  });
32
33
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
33
34
  typed: typed,
34
- matrix: matrix
35
+ matrix: matrix,
36
+ concat: concat
35
37
  });
36
38
  var gcdTypes = 'number | BigNumber | Fraction | Matrix | Array';
37
39
  var gcdManySignature = {};
@@ -11,11 +11,12 @@ var _matAlgo11xS0s = require("../../type/matrix/utils/matAlgo11xS0s.js");
11
11
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
12
12
  var _index = require("../../plain/number/index.js");
13
13
  var name = 'lcm';
14
- var dependencies = ['typed', 'matrix', 'equalScalar'];
14
+ var dependencies = ['typed', 'matrix', 'equalScalar', 'concat'];
15
15
  var createLcm = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
16
16
  var typed = _ref.typed,
17
17
  matrix = _ref.matrix,
18
- equalScalar = _ref.equalScalar;
18
+ equalScalar = _ref.equalScalar,
19
+ concat = _ref.concat;
19
20
  var matAlgo02xDS0 = (0, _matAlgo02xDS.createMatAlgo02xDS0)({
20
21
  typed: typed,
21
22
  equalScalar: equalScalar
@@ -30,7 +31,8 @@ var createLcm = /* #__PURE__ */(0, _factory.factory)(name, dependencies, functio
30
31
  });
31
32
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
32
33
  typed: typed,
33
- matrix: matrix
34
+ matrix: matrix,
35
+ concat: concat
34
36
  });
35
37
  var lcmTypes = 'number | BigNumber | Fraction | Matrix | Array';
36
38
  var lcmManySignature = {};
@@ -13,12 +13,13 @@ var _matAlgo12xSfs = require("../../type/matrix/utils/matAlgo12xSfs.js");
13
13
  var _index = require("../../plain/number/index.js");
14
14
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
15
15
  var name = 'mod';
16
- var dependencies = ['typed', 'matrix', 'equalScalar', 'DenseMatrix'];
16
+ var dependencies = ['typed', 'matrix', 'equalScalar', 'DenseMatrix', 'concat'];
17
17
  var createMod = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
18
18
  var typed = _ref.typed,
19
19
  matrix = _ref.matrix,
20
20
  equalScalar = _ref.equalScalar,
21
- DenseMatrix = _ref.DenseMatrix;
21
+ DenseMatrix = _ref.DenseMatrix,
22
+ concat = _ref.concat;
22
23
  var matAlgo02xDS0 = (0, _matAlgo02xDS.createMatAlgo02xDS0)({
23
24
  typed: typed,
24
25
  equalScalar: equalScalar
@@ -40,7 +41,8 @@ var createMod = /* #__PURE__ */(0, _factory.factory)(name, dependencies, functio
40
41
  });
41
42
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
42
43
  typed: typed,
43
- matrix: matrix
44
+ matrix: matrix,
45
+ concat: concat
44
46
  });
45
47
 
46
48
  /**
@@ -12,12 +12,13 @@ var _matAlgo11xS0s = require("../../type/matrix/utils/matAlgo11xS0s.js");
12
12
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
13
13
  var _index = require("../../plain/number/index.js");
14
14
  var name = 'nthRoot';
15
- var dependencies = ['typed', 'matrix', 'equalScalar', 'BigNumber'];
15
+ var dependencies = ['typed', 'matrix', 'equalScalar', 'BigNumber', 'concat'];
16
16
  var createNthRoot = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
17
17
  var typed = _ref.typed,
18
18
  matrix = _ref.matrix,
19
19
  equalScalar = _ref.equalScalar,
20
- _BigNumber = _ref.BigNumber;
20
+ _BigNumber = _ref.BigNumber,
21
+ concat = _ref.concat;
21
22
  var matAlgo01xDSid = (0, _matAlgo01xDSid.createMatAlgo01xDSid)({
22
23
  typed: typed
23
24
  });
@@ -35,7 +36,8 @@ var createNthRoot = /* #__PURE__ */(0, _factory.factory)(name, dependencies, fun
35
36
  });
36
37
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
37
38
  typed: typed,
38
- matrix: matrix
39
+ matrix: matrix,
40
+ concat: concat
39
41
  });
40
42
 
41
43
  /**
@@ -12,14 +12,15 @@ var _matAlgo10xSids = require("../../type/matrix/utils/matAlgo10xSids.js");
12
12
  var _matAlgo12xSfs = require("../../type/matrix/utils/matAlgo12xSfs.js");
13
13
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
14
14
  var name = 'subtract';
15
- var dependencies = ['typed', 'matrix', 'equalScalar', 'addScalar', 'unaryMinus', 'DenseMatrix'];
15
+ var dependencies = ['typed', 'matrix', 'equalScalar', 'addScalar', 'unaryMinus', 'DenseMatrix', 'concat'];
16
16
  var createSubtract = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
17
17
  var typed = _ref.typed,
18
18
  matrix = _ref.matrix,
19
19
  equalScalar = _ref.equalScalar,
20
20
  addScalar = _ref.addScalar,
21
21
  unaryMinus = _ref.unaryMinus,
22
- DenseMatrix = _ref.DenseMatrix;
22
+ DenseMatrix = _ref.DenseMatrix,
23
+ concat = _ref.concat;
23
24
  // TODO: split function subtract in two: subtract and subtractScalar
24
25
 
25
26
  var matAlgo01xDSid = (0, _matAlgo01xDSid.createMatAlgo01xDSid)({
@@ -42,7 +43,8 @@ var createSubtract = /* #__PURE__ */(0, _factory.factory)(name, dependencies, fu
42
43
  });
43
44
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
44
45
  typed: typed,
45
- matrix: matrix
46
+ matrix: matrix,
47
+ concat: concat
46
48
  });
47
49
 
48
50
  /**
@@ -12,11 +12,12 @@ var _factory = require("../../utils/factory.js");
12
12
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
13
13
  var _index = require("../../plain/number/index.js");
14
14
  var name = 'bitAnd';
15
- var dependencies = ['typed', 'matrix', 'equalScalar'];
15
+ var dependencies = ['typed', 'matrix', 'equalScalar', 'concat'];
16
16
  var createBitAnd = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
17
17
  var typed = _ref.typed,
18
18
  matrix = _ref.matrix,
19
- equalScalar = _ref.equalScalar;
19
+ equalScalar = _ref.equalScalar,
20
+ concat = _ref.concat;
20
21
  var matAlgo02xDS0 = (0, _matAlgo02xDS.createMatAlgo02xDS0)({
21
22
  typed: typed,
22
23
  equalScalar: equalScalar
@@ -31,7 +32,8 @@ var createBitAnd = /* #__PURE__ */(0, _factory.factory)(name, dependencies, func
31
32
  });
32
33
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
33
34
  typed: typed,
34
- matrix: matrix
35
+ matrix: matrix,
36
+ concat: concat
35
37
  });
36
38
 
37
39
  /**
@@ -12,12 +12,13 @@ var _matAlgo01xDSid = require("../../type/matrix/utils/matAlgo01xDSid.js");
12
12
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
13
13
  var _index = require("../../plain/number/index.js");
14
14
  var name = 'bitOr';
15
- var dependencies = ['typed', 'matrix', 'equalScalar', 'DenseMatrix'];
15
+ var dependencies = ['typed', 'matrix', 'equalScalar', 'DenseMatrix', 'concat'];
16
16
  var createBitOr = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
17
17
  var typed = _ref.typed,
18
18
  matrix = _ref.matrix,
19
19
  equalScalar = _ref.equalScalar,
20
- DenseMatrix = _ref.DenseMatrix;
20
+ DenseMatrix = _ref.DenseMatrix,
21
+ concat = _ref.concat;
21
22
  var matAlgo01xDSid = (0, _matAlgo01xDSid.createMatAlgo01xDSid)({
22
23
  typed: typed
23
24
  });
@@ -31,7 +32,8 @@ var createBitOr = /* #__PURE__ */(0, _factory.factory)(name, dependencies, funct
31
32
  });
32
33
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
33
34
  typed: typed,
34
- matrix: matrix
35
+ matrix: matrix,
36
+ concat: concat
35
37
  });
36
38
 
37
39
  /**
@@ -12,11 +12,12 @@ var _factory = require("../../utils/factory.js");
12
12
  var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuite.js");
13
13
  var _index = require("../../plain/number/index.js");
14
14
  var name = 'bitXor';
15
- var dependencies = ['typed', 'matrix', 'DenseMatrix'];
15
+ var dependencies = ['typed', 'matrix', 'DenseMatrix', 'concat'];
16
16
  var createBitXor = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
17
17
  var typed = _ref.typed,
18
18
  matrix = _ref.matrix,
19
- DenseMatrix = _ref.DenseMatrix;
19
+ DenseMatrix = _ref.DenseMatrix,
20
+ concat = _ref.concat;
20
21
  var matAlgo03xDSf = (0, _matAlgo03xDSf.createMatAlgo03xDSf)({
21
22
  typed: typed
22
23
  });
@@ -30,7 +31,8 @@ var createBitXor = /* #__PURE__ */(0, _factory.factory)(name, dependencies, func
30
31
  });
31
32
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
32
33
  typed: typed,
33
- matrix: matrix
34
+ matrix: matrix,
35
+ concat: concat
34
36
  });
35
37
 
36
38
  /**
@@ -16,13 +16,14 @@ var _useMatrixForArrayScalar = require("./useMatrixForArrayScalar.js");
16
16
  var _index = require("../../plain/number/index.js");
17
17
  var _bitwise = require("../../utils/bignumber/bitwise.js");
18
18
  var name = 'leftShift';
19
- var dependencies = ['typed', 'matrix', 'equalScalar', 'zeros', 'DenseMatrix'];
19
+ var dependencies = ['typed', 'matrix', 'equalScalar', 'zeros', 'DenseMatrix', 'concat'];
20
20
  var createLeftShift = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
21
21
  var typed = _ref.typed,
22
22
  matrix = _ref.matrix,
23
23
  equalScalar = _ref.equalScalar,
24
24
  zeros = _ref.zeros,
25
- DenseMatrix = _ref.DenseMatrix;
25
+ DenseMatrix = _ref.DenseMatrix,
26
+ concat = _ref.concat;
26
27
  var matAlgo01xDSid = (0, _matAlgo01xDSid.createMatAlgo01xDSid)({
27
28
  typed: typed
28
29
  });
@@ -47,7 +48,8 @@ var createLeftShift = /* #__PURE__ */(0, _factory.factory)(name, dependencies, f
47
48
  });
48
49
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
49
50
  typed: typed,
50
- matrix: matrix
51
+ matrix: matrix,
52
+ concat: concat
51
53
  });
52
54
  var useMatrixForArrayScalar = (0, _useMatrixForArrayScalar.createUseMatrixForArrayScalar)({
53
55
  typed: typed,
@@ -16,13 +16,14 @@ var _matrixAlgorithmSuite = require("../../type/matrix/utils/matrixAlgorithmSuit
16
16
  var _useMatrixForArrayScalar = require("./useMatrixForArrayScalar.js");
17
17
  var _index = require("../../plain/number/index.js");
18
18
  var name = 'rightArithShift';
19
- var dependencies = ['typed', 'matrix', 'equalScalar', 'zeros', 'DenseMatrix'];
19
+ var dependencies = ['typed', 'matrix', 'equalScalar', 'zeros', 'DenseMatrix', 'concat'];
20
20
  var createRightArithShift = /* #__PURE__ */(0, _factory.factory)(name, dependencies, function (_ref) {
21
21
  var typed = _ref.typed,
22
22
  matrix = _ref.matrix,
23
23
  equalScalar = _ref.equalScalar,
24
24
  zeros = _ref.zeros,
25
- DenseMatrix = _ref.DenseMatrix;
25
+ DenseMatrix = _ref.DenseMatrix,
26
+ concat = _ref.concat;
26
27
  var matAlgo01xDSid = (0, _matAlgo01xDSid.createMatAlgo01xDSid)({
27
28
  typed: typed
28
29
  });
@@ -47,7 +48,8 @@ var createRightArithShift = /* #__PURE__ */(0, _factory.factory)(name, dependenc
47
48
  });
48
49
  var matrixAlgorithmSuite = (0, _matrixAlgorithmSuite.createMatrixAlgorithmSuite)({
49
50
  typed: typed,
50
- matrix: matrix
51
+ matrix: matrix,
52
+ concat: concat
51
53
  });
52
54
  var useMatrixForArrayScalar = (0, _useMatrixForArrayScalar.createUseMatrixForArrayScalar)({
53
55
  typed: typed,