ones(h, w)

import almafa.engine.linalg-1

Create a matrix filled with ones.

import almafa.engine.linalg-1;
ones(3)
hHeight of the matrix.
wWidth of the matrix (optional). If not given, assumed to be the same as the height.
return valueA matrix filled with ones.

The numbery of parameters can vary:
0 - Returns 0.
1 - Returns a square matrix with size determined by the argument.
2 - Returns a rectangular matrix with size determined by arguments.