(abstract) new Matrix()
Trait for a local matrix.
- Source:
Methods
apply(i, j) → {Promise.<number>}
Parameters:
Name |
Type |
Description |
i |
number
|
|
j |
number
|
|
- Source:
Returns:
-
Type
-
Promise.<number>
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/linalg.Matrix
multiply0(y) → {DenseMatrix}
Parameters:
Name |
Type |
Description |
y |
DenseMatrix
|
|
- Source:
Returns:
-
Type
-
DenseMatrix
Parameters:
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/linalg.DenseVector
Parameters:
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/linalg.DenseVector
numActives() → {Promise.<number>}
Find the number of values stored explicitly. These values can be zero as well.
- Source:
Returns:
-
Type
-
Promise.<number>
numCols() → {Promise.<number>}
- Source:
Returns:
-
Type
-
Promise.<number>
numNonzeros() → {Promise.<number>}
Find the number of non-zero active values.
- Source:
Returns:
-
Type
-
Promise.<number>
numRows() → {Promise.<number>}
- Source:
Returns:
-
Type
-
Promise.<number>
toArray() → {Promise.<Array.<number>>}
- Source:
Returns:
-
Type
-
Promise.<Array.<number>>
toString(maxLinesopt, maxLineWidthopt) → {Promise.<string>}
Parameters:
Name |
Type |
Attributes |
Description |
maxLines |
number
|
<optional>
|
|
maxLineWidth |
number
|
<optional>
|
|
- Source:
Returns:
-
Type
-
Promise.<string>
- Source:
Returns:
-
Type
-
module:eclairjs/mllib/linalg.Matrix