DoubleBufferND

class DoubleBufferND(indexes: ShapeIndex, buffer: DoubleBuffer) : BufferND<Double>

Functions

elements
Link copied to clipboard
common
open override fun elements(): Sequence<Pair<IntArray, Double>>
Returns the sequence of all the elements associated by their indices.
get
Link copied to clipboard
common
open operator override fun get(index: IntArray): Double
Returns the value at the specified indices.
getFeature
Link copied to clipboard
common
open override fun <F : StructureFeature> getFeature(type: KClass<out F>): F?
Feature is some additional structure information that allows to access it special properties or hints.
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

buffer
Link copied to clipboard
common
open override val buffer: DoubleBuffer
The underlying buffer.
dimension
Link copied to clipboard
common
open val dimension: Int
The count of dimensions in this structure.
indexes
Link copied to clipboard
common
val indexes: ShapeIndex
The strides to access elements of Buffer by linear indices.
shape
Link copied to clipboard
common
open override val shape: IntArray
The shape of structure i.e., non-empty sequence of non-negative integers that specify sizes of dimensions of this structure.

Sources

common source
Link copied to clipboard