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

createGeneric

fun createGeneric(lengths:IntArray, filler: (IntArray) ->Float):DefaultFloatNDArray

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.