map To Buffer
inline fun <T, R : Any> NDStructure<T>.mapToBuffer(factory: BufferFactory<R> = Buffer.Companion::auto, crossinline transform: (T) -> R): NDBuffer<R>
Content copied to clipboard
Transform structure to a new structure using provided BufferFactory and optimizing if argument is NDBuffer