davinci-matrix
A matrix library for Machine Learning
Functions
init
- init(rows: number, cols: number, value: number): Matrix
-
Parameters
-
rows: number
-
cols: number
-
value: number
matrix
- matrix(elements: number[][]): Matrix
ones
- ones(rows: number, cols: number): Matrix
-
Parameters
-
rows: number
-
cols: number
zeros
- zeros(rows: number, cols: number): Matrix
-
Parameters
-
rows: number
-
cols: number