OffsetDoubleBuffer

class OffsetDoubleBuffer(val origin: DoubleBuffer, offset: Int, val size: Int) : MutableBuffer<Double> , BufferView<Double> (source)

Constructors

Link copied to clipboard
constructor(origin: DoubleBuffer, offset: Int, size: Int)

Functions

Link copied to clipboard
open override fun copy(): DoubleBuffer

Copy only a part of buffer that belongs to this OffsetDoubleBuffer

Link copied to clipboard
open operator override fun get(index: Int): Double
Link copied to clipboard
open operator override fun iterator(): Iterator<Double>
Link copied to clipboard
inline fun OffsetDoubleBuffer.map(operation: (Double) -> Double): DoubleBuffer

Map only operable content of the offset buffer

Link copied to clipboard
inline fun OffsetDoubleBuffer.mapInPlace(operation: (Double) -> Double)

map in place

Link copied to clipboard
open override fun originIndex(index: Int): Int
Link copied to clipboard
open operator override fun set(index: Int, value: Double)
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun view(addOffset: Int, newSize: Int = size - addOffset): OffsetDoubleBuffer
Link copied to clipboard
inline fun OffsetDoubleBuffer.zip(other: OffsetDoubleBuffer, operation: (l: Double, r: Double) -> Double): DoubleBuffer

Properties

Link copied to clipboard
open override val origin: DoubleBuffer
Link copied to clipboard
open override val size: Int