NDArrayIterator

class NDArrayIterator<T>(    data: MemoryView<T>,     offset: Int = 0,     strides: IntArray,     shape: IntArray) : Iterator<T>

Iterator over multidimensional arrays. Iterated taking into account the offset, strides and shape.

Constructors

Link copied to clipboard
fun <T> NDArrayIterator(    data: MemoryView<T>,     offset: Int = 0,     strides: IntArray,     shape: IntArray)

Functions

Link copied to clipboard
open operator override fun hasNext(): Boolean
Link copied to clipboard
open operator override fun next(): T