JvmDoubleMatrix
vecxt.JvmDoubleMatrix
object JvmDoubleMatrix
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JvmDoubleMatrix.type
Members list
Value members
Concrete fields
Extensions
Extensions
extension (m: Matrix[Double])
inline def *(vec: Array[Double], alpha: Double, beta: Double)(using inline boundsCheck: BoundsCheck): Array[Double]
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:
- If
rowStride == 1
, the elements of the vector are broadcasted down each column and added. - If
colStride == 1
, the elements of the vector are added to each row directly. - 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
inline def matmulInPlace!(b: Matrix[Double], c: Matrix[Double], alpha: Double, beta: Double)(using inline boundsCheck: BoundsCheck): Unit
In this article