klyn.math.NDArray.NDArray
constructor
public NDArray(shape as ArrayList<Object>):
Description
Constructs a new NDArray with the given shape.
a = NDArray<Int>([3, 4])
Parameters
  • shape The shape of the array. ``` a = NDArray<Int>([3, 4]) ```