api / koma.internal.default.generated.ndarray / DefaultGenericNDArrayFactory

DefaultGenericNDArrayFactory

class DefaultGenericNDArrayFactory<T> :GenericNDArrayFactory<T>

Constructors

Name Summary
<init> DefaultGenericNDArrayFactory()

Functions

Name Summary
createGeneric fun createGeneric(vararg lengths:Int, filler: (IntArray) ->T):DefaultGenericNDArray<T>
Generate an ND container of the requested shape without initializing its contents.

Extension Functions

Name Summary
create fun <T>GenericNDArrayFactory<T>.create(vararg lengths:Int, filler: (idx:IntArray) ->T):DefaultGenericNDArray<T>