BufferND
open class BufferND<out T>(indices: ShapeIndexer, buffer: Buffer<T>) : StructureND<T>
Content copied to clipboard
Represents StructureND over Buffer.
Parameters
T
the type of items.
indices
The strides to access elements of Buffer by linear indices.
buffer
The underlying buffer.
Constructors
Functions
Link copied to clipboard
open override fun <F : StructureFeature> getFeature(type: KClass<out F>): F?
Content copied to clipboard
Feature is some additional structure information that allows to access it special properties or hints. If the feature is not present, null
is returned.