Crate caravela

Crate caravela 

Source

Traits§

Blas

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