MemoryViewFloatArray

class MemoryViewFloatArray(val data: FloatArray) : MemoryView<Float>

View for FloatArray.

Constructors

Link copied to clipboard
fun MemoryViewFloatArray(data: FloatArray)

Functions

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

Returns a new instance with a copied primitive array.

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

Returns the value at index.

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

data iterator

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

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

Link copied to clipboard
open operator override fun timesAssign(other: Float)
operator fun timesAssign(other: MemoryViewFloatArray)

Properties

Link copied to clipboard
open override val data: FloatArray

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