MemoryViewShortArray

class MemoryViewShortArray(val data: ShortArray) : MemoryView<Short>

View for ShortArray.

Constructors

Link copied to clipboard
fun MemoryViewShortArray(data: ShortArray)

Functions

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

Returns a new instance with a copied primitive array.

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

Returns the value at index.

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

data iterator

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

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

Link copied to clipboard
open operator override fun timesAssign(other: Short)
operator fun timesAssign(other: MemoryViewShortArray)

Properties

Link copied to clipboard
open override val data: ShortArray

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