api / koma.internal.default.generated.ndarray / DefaultByteNDArrayFactory / createGeneric

createGeneric

fun createGeneric(lengths:IntArray, filler: (IntArray) ->Byte):DefaultByteNDArray

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.