diff options
Diffstat (limited to 'src/lib/include/neuralnet/matrix.h')
-rw-r--r-- | src/lib/include/neuralnet/matrix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/include/neuralnet/matrix.h b/src/lib/include/neuralnet/matrix.h index b7281bf..f80b985 100644 --- a/src/lib/include/neuralnet/matrix.h +++ b/src/lib/include/neuralnet/matrix.h | |||
@@ -17,6 +17,9 @@ nnMatrix nnMatrixMake(int rows, int cols); | |||
17 | /// Delete a matrix and free its internal memory. | 17 | /// Delete a matrix and free its internal memory. |
18 | void nnMatrixDel(nnMatrix*); | 18 | void nnMatrixDel(nnMatrix*); |
19 | 19 | ||
20 | /// Construct a matrix from an array of values. | ||
21 | nnMatrix nnMatrixFromArray(int rows, int cols, const R values[]); | ||
22 | |||
20 | /// Move a matrix. | 23 | /// Move a matrix. |
21 | /// | 24 | /// |
22 | /// |in| is an empty matrix after the move. | 25 | /// |in| is an empty matrix after the move. |