ml-matrix 6.10.7 → 6.10.8

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.
Files changed (3) hide show
  1. package/matrix.js +2 -0
  2. package/matrix.mjs +2 -2
  3. package/package.json +1 -1
package/matrix.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var isAnyArray = require('is-any-array');
4
6
  var rescale = require('ml-array-rescale');
5
7
 
package/matrix.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import matrix from './matrix.js';
1
+ import * as matrix from './matrix.js';
2
2
 
3
3
  export const AbstractMatrix = matrix.AbstractMatrix;
4
4
  export const CHO = matrix.CHO;
@@ -27,7 +27,7 @@ export const WrapperMatrix1D = matrix.WrapperMatrix1D;
27
27
  export const WrapperMatrix2D = matrix.WrapperMatrix2D;
28
28
  export const correlation = matrix.correlation;
29
29
  export const covariance = matrix.covariance;
30
- export default matrix.default;
30
+ export default matrix.default.Matrix ? matrix.default.Matrix : matrix.Matrix;
31
31
  export const determinant = matrix.determinant;
32
32
  export const inverse = matrix.inverse;
33
33
  export const linearDependencies = matrix.linearDependencies;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ml-matrix",
3
- "version": "6.10.7",
3
+ "version": "6.10.8",
4
4
  "description": "Matrix manipulation and computation library",
5
5
  "main": "matrix.js",
6
6
  "module": "src/index.js",