Creates an array of the specified length, initializing each element with the provided initial value and an optional initialization function.
The number of elements in the array to create.
The initial value to assign to each element.
A function to further initialize each array item.
An array of type T
with the specified length and initialized values.
Creates a new array of the specified length, filled with the provided value.