public NDArray(size as Int, initializeZeros as Boolean = true):
Constructs a new 1D NDArray with the given size.