new Ones(x_len, y_len)
make a matrix filled with ones
Parameters:
Name | Type | Description |
---|---|---|
x_len |
int | the number of columns. |
y_len |
int | the number of rows |
- Source:
Name | Type | Description |
---|---|---|
x_len |
int | the number of columns. |
y_len |
int | the number of rows |