Traits§
Functions§
- dgemm
- General matrix multiplication: C = alpha * A * B + beta * C
- dgemm_
nt - GEMM with transposed B: C = alpha * A * B^T + beta * C
- dgemm_
tn - GEMM with transposed A: C = alpha * A^T * B + beta * C
- dgemm_
tt - GEMM with both transposed: C = alpha * A^T * B^T + beta * C
- dot
- Computes the dot product of two slices
- gemm
- gemm_nt
- gemm_tn
- gemm_tt
- gemv
- gemv_t
- l2sq
- Computes the squared Euclidean distance: sum((a[i] - b[i])^2)
- matmul
- matmul_
f32 - matmul_
f64 - Simple matrix multiplication: C = A * B
- matmul_
nt - matmul_
tn - matmul_
tt - matvec
- matvec_
t - normalize
- Normalizes a vector in-place to unit length. Returns the original L2 norm of the vector. If the vector has zero norm, it remains unchanged and 0 is returned.
- scale
- Scales a vector in-place by a scalar: v[i] *= scale
- sgemm
- sgemm_
nt - sgemm_
tn - sgemm_
tt