MemoryViewDoubleArray

class MemoryViewDoubleArray(val data: DoubleArray) : MemoryView<Double>

View for DoubleArray.

Constructors

Link copied to clipboard
fun MemoryViewDoubleArray(data: DoubleArray)

Functions

Link copied to clipboard
open override fun copyInto(    destination: MemoryView<Double>,     destinationOffset: Int,     startIndex: Int,     endIndex: Int): MemoryView<Double>
Link copied to clipboard
open override fun copyOf(): MemoryView<Double>

Returns a new instance with a copied primitive array.

Link copied to clipboard
open operator override fun divAssign(other: Double)
operator fun divAssign(other: MemoryViewDoubleArray)
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open operator override fun get(index: Int): Double

Returns the value at index.

Link copied to clipboard
open override fun getDoubleArray(): DoubleArray

Returns DoubleArray.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open operator override fun iterator(): Iterator<Double>

data iterator

Link copied to clipboard
open operator override fun minusAssign(other: Double)
operator fun minusAssign(other: MemoryViewDoubleArray)
Link copied to clipboard
open operator override fun plusAssign(other: Double)
operator fun plusAssign(other: MemoryViewDoubleArray)
Link copied to clipboard
open operator override fun set(index: Int, value: Double)

Replaces the element at the given index with the specified value.

Link copied to clipboard
open operator override fun timesAssign(other: Double)
operator fun timesAssign(other: MemoryViewDoubleArray)

Properties

Link copied to clipboard
open override val data: DoubleArray

one of the primitive arrays.

Link copied to clipboard
open override val dtype: DataType

type of elements in array

Link copied to clipboard
open override var indices: IntRange

indices of data.

Link copied to clipboard
open override var lastIndex: Int

last index in data.

Link copied to clipboard
open override var size: Int