JvmDoubleMatrix

vecxt.JvmDoubleMatrix

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

final val sp_int_doubleLanes: VectorSpecies[Integer]

Extensions

Extensions

extension (m: Matrix[Double])
inline def *(vec: Array[Double], alpha: Double, beta: Double)(using inline boundsCheck: BoundsCheck): Array[Double]
inline def *:*(bmat: Matrix[Boolean])(using inline boundsCheck: BoundsCheck): Matrix[Double]
inline def *:*=(bmat: Matrix[Boolean])(using inline boundsCheck: BoundsCheck): Unit
inline def +=(arr: Array[Double])(using inline boundsCheck: BoundsCheck): Unit

Adds the elements of this vector to the matrix with broadcasting behavior.

Adds the elements of this vector to the matrix with broadcasting behavior.

Depending on the matrix's memory layout:

  1. If rowStride == 1, the elements of the vector are broadcasted down each column and added.
  2. If colStride == 1, the elements of the vector are added to each row directly.
  3. Otherwise, a fallback mechanism is used.

Value parameters

arr

The vector to be added to the matrix.

boundsCheck

Whether to perform bounds checking on the vector length.

Attributes

def +=(n: Double): Unit
inline def <(d: Double): Matrix[Boolean]
inline def <=(d: Double): Matrix[Boolean]
inline def >(d: Double): Matrix[Boolean]
inline def >=(d: Double): Matrix[Boolean]
inline def matmulInPlace!(b: Matrix[Double], c: Matrix[Double], alpha: Double, beta: Double)(using inline boundsCheck: BoundsCheck): Unit