public static ones(notnull shape as Tuple) as NDArray<T>
Creates a new NDArray with ones from a tuple shape.
a = NDArray<Int>.ones((2, 2))
shape
A new NDArray filled with 1.