arrays

vecxt.arrays
object arrays

Attributes

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

Members list

Extensions

Extensions

extension (vec: Array[Boolean])
inline def &&(thatIdx: Array[Boolean]): Array[Boolean]
inline def countTrue: Int
inline def ||(thatIdx: Array[Boolean]): Array[Boolean]
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 apply(index: Array[Boolean])(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 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]