DenseArray

class DenseArray(val values: FloatArray) : VectorData

One anonymous dense vector backed by a FloatArray — a zero-boxing fast path for the hot path (values are never wrapped in Float objects, and serialization writes the array directly). Prefer this over Dense for large vectors. Equality is by content.

Constructors

Link copied to clipboard
constructor(values: FloatArray)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String