MemoryViewLongArray

class MemoryViewLongArray(val data: LongArray) : MemoryView<Long>

View for LongArray.

Constructors

Link copied to clipboard
fun MemoryViewLongArray(data: LongArray)

Functions

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

Returns a new instance with a copied primitive array.

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

Returns the value at index.

Link copied to clipboard
open override fun getLongArray(): LongArray

Returns LongArray if it is MemoryViewLongArray.

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

data iterator

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

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

Link copied to clipboard
open operator override fun timesAssign(other: Long)
operator fun timesAssign(other: MemoryViewLongArray)

Properties

Link copied to clipboard
open override val data: LongArray

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