api / koma.internal.default.generated.ndarray / DefaultShortNDArrayFactory / createGeneric
createGeneric
fun createGeneric(lengths:
IntArray
, filler: (
IntArray
) ->
Short
):
DefaultShortNDArray
Overrides GenericNDArrayFactory.createGeneric
Generate an ND container of the requested shape without initializing its contents.
Depending on backend and platform, the resulting array may be, equivalent to zeros(*lengths), or may be initialized to memory garbage.