init Memory View
Creates a MemoryView based size and dataType.
fun <T> initMemoryView( size: Int, dataType: DataType, init: (Int) -> T): MemoryView<T>
Content copied to clipboard
Create a MemoryView based size and dataType, where each elements will be initialized according to the given init function.