arrays

vecxt.arrays
object arrays

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
arrays.type

Members list

Value members

Concrete fields

final val spb: VectorSpecies[Byte]
final val spbl: Int
final val spd: VectorSpecies[Double]
final val spdl: Int
final val spi: VectorSpecies[Integer]
final val spil: Int

Extensions

Extensions

extension (vec: Array[Boolean])
inline def &&(thatIdx: Array[Boolean]): Array[Boolean]
inline def all: Boolean
inline def any: Boolean
inline def trues: Int
inline def ||(thatIdx: Array[Boolean]): Array[Boolean]
extension (vec: Array[Int])
inline def !:=(num: Int): Array[Boolean]
inline def +(vec2: Array[Int])(using inline boundsCheck: BoundsCheck): Array[Int]
inline def +=(vec2: Array[Int])(using inline boundsCheck: BoundsCheck): Unit
inline def -(vec2: Array[Int])(using inline boundsCheck: BoundsCheck): Array[Int]
inline def -=(vec2: Array[Int])(using inline boundsCheck: BoundsCheck): Unit
inline def <(num: Int): Array[Boolean]
inline def <=(num: Int): Array[Boolean]
inline def =:=(num: Int): Array[Boolean]
inline def >(num: Int): Array[Boolean]
inline def >=(num: Int): Array[Boolean]
inline def dot(vec2: Array[Int])(using inline boundsCheck: BoundsCheck): Int
inline def gt(num: Int): Array[Boolean]
inline def gte(num: Int): Array[Boolean]
inline def increments: Array[Int]
inline def logicalIdx(inline op: Comparison, num: Int): Array[Boolean]
inline def lt(num: Int): Array[Boolean]
inline def lte(num: Int): Array[Boolean]
inline def sum: Int
extension [A](vec: Array[A])(using ClassTag[A])
inline def apply(index: Array[Boolean])(using inline boundsCheck: BoundsCheck): Array[A]
extension (vec: Array[Double])
inline def !:=(num: Double): Array[Boolean]
inline def *(d: Double): Array[Double]
inline def *=(d: Double): Array[Double]
inline def +(vec2: Array[Double])(using inline boundsCheck: BoundsCheck): Array[Double]
inline def +:+(d: Double): Array[Double]
inline def +:+=(d: Double): Unit
inline def +=(vec2: Array[Double])(using inline boundsCheck: BoundsCheck): Unit
inline def -(vec2: Array[Double])(using inline boundsCheck: BoundsCheck): Array[Double]
inline def -=(vec2: Array[Double])(using inline boundsCheck: BoundsCheck): Unit
inline def /(d: Double): Array[Double]
inline def /=(d: Double): Array[Double]
inline def <(num: Double): Array[Boolean]
inline def <=(num: Double): Array[Boolean]
inline def =:=(num: Double): Array[Boolean]
inline def >(num: Double): Array[Boolean]
inline def >=(num: Double): Array[Boolean]
inline def add(d: Array[Double])(using inline boundsCheck: BoundsCheck): Array[Double]
inline def corr(thatVector: Array[Double])(using inline boundsCheck: BoundsCheck): Double
def covariance(thatVector: Array[Double]): Double
inline def cumsum: Unit
inline def dot(v1: Array[Double])(using inline boundsCheck: BoundsCheck): Double
inline def elementRanks: Array[Double]
inline def increments: Array[Double]

Apparently, left packing is hard problem in SIMD land. https://stackoverflow.com/questions/79025873/selecting-values-from-java-simd-doublevector

Attributes

inline def logicalIdx(inline op: Comparison, num: Double): Array[Boolean]
inline def mean: Double
inline def multInPlace(d: Double): Array[Double]
inline def norm: Double
inline def outer(other: Array[Double])(using ClassTag[Double]): Matrix[Double]
inline def pearsonCorrelationCoefficient(thatVector: Array[Double])(using inline boundsCheck: BoundsCheck): Double
inline def spearmansRankCorrelation(thatVector: Array[Double])(using inline boundsCheck: BoundsCheck): Double
inline def stdDev: Double
inline def sum: Double
def variance: Double
extension (vec: Array[Array[Double]])
inline def horizontalSum: Array[Double]