ml-matrix 6.8.1 → 6.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -76,7 +76,7 @@ C.mod(2); // => C = Cinit % 2
76
76
 
77
77
  // Standard Math operations : (abs, cos, round, etc.)
78
78
  var A = new Matrix([[1, 1], [-1, -1]]);
79
- var expon = Matrix.exp(A); // expon = Matrix [[Math.exp(1), Math.exp(1)], [Math.exp(-1), Math.exp(-1)], rows: 2, columns: 2].
79
+ var exponential = Matrix.exp(A); // exponential = Matrix [[Math.exp(1), Math.exp(1)], [Math.exp(-1), Math.exp(-1)], rows: 2, columns: 2].
80
80
  var cosinus = Matrix.cos(A); // cosinus = Matrix [[Math.cos(1), Math.cos(1)], [Math.cos(-1), Math.cos(-1)], rows: 2, columns: 2].
81
81
  var absolute = Matrix.abs(A); // expon = absolute [[1, 1], [1, 1], rows: 2, columns: 2].
82
82
  // you can use 'abs', 'acos', 'acosh', 'asin', 'asinh', 'atan', 'atanh', 'cbrt', 'ceil', 'clz32', 'cos', 'cosh', 'exp', 'expm1', 'floor', 'fround', 'log', 'log1p', 'log10', 'log2', 'round', 'sign', 'sin', 'sinh', 'sqrt', 'tan', 'tanh', 'trunc'
package/matrix.js CHANGED
@@ -2244,6 +2244,7 @@ class AbstractMatrix {
2244
2244
  resultat = resultat.setSubMatrix(c22, c11.rows, c11.columns);
2245
2245
  return resultat.subMatrix(0, rows - 1, 0, cols - 1);
2246
2246
  }
2247
+
2247
2248
  return blockMult(x, y, r, c);
2248
2249
  }
2249
2250
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ml-matrix",
3
- "version": "6.8.1",
3
+ "version": "6.8.2",
4
4
  "description": "Matrix manipulation and computation library",
5
5
  "main": "matrix.js",
6
6
  "module": "src/index.js",
package/src/matrix.js CHANGED
@@ -1027,6 +1027,7 @@ export class AbstractMatrix {
1027
1027
  resultat = resultat.setSubMatrix(c22, c11.rows, c11.columns);
1028
1028
  return resultat.subMatrix(0, rows - 1, 0, cols - 1);
1029
1029
  }
1030
+
1030
1031
  return blockMult(x, y, r, c);
1031
1032
  }
1032
1033