Module blas

Module blas 

Source
Expand description

BLAS operations on ndarray types.

This module provides BLAS Level 1, 2, and 3 operations directly on ndarray types, using OxiBLAS as the backend.

Enums§

Transpose
Transpose options for matrix-vector operations.

Functions§

asum_c32_ndarray
Computes the L1 norm of a Complex32 vector (sum of absolute values).
asum_c64_ndarray
Computes the L1 norm of a Complex64 vector (sum of absolute values).
asum_ndarray
Computes the L1 norm (sum of absolute values) of a vector.
axpy_c32_ndarray
AXPY operation for Complex32: y = α·x + y
axpy_c64_ndarray
AXPY operation for Complex64: y = α·x + y
axpy_ndarray
Computes y = α·x + y (AXPY operation).
conj_transpose_c32
Computes the Hermitian (conjugate) transpose of a Complex32 matrix.
conj_transpose_c64
Computes the Hermitian (conjugate) transpose of a Complex64 matrix.
dot_ndarray
Computes the dot product of two 1D arrays.
dot_view
Computes the dot product of two array views.
dotc_c32_ndarray
Computes the conjugate dot product of two Complex32 vectors (CDOTC).
dotc_c64_ndarray
Computes the conjugate dot product of two Complex64 vectors (ZDOTC).
dotu_c32_ndarray
Computes the unconjugated dot product of two Complex32 vectors (CDOTU).
dotu_c64_ndarray
Computes the unconjugated dot product of two Complex64 vectors (ZDOTU).
eye
Creates an identity matrix.
eye_c32
Creates a Complex32 identity matrix.
eye_c64
Creates a Complex64 identity matrix.
eye_f
Creates an identity matrix in column-major order.
frobenius_norm
Computes the Frobenius norm of a matrix.
frobenius_norm_c32
Computes the Frobenius norm of a Complex32 matrix.
frobenius_norm_c64
Computes the Frobenius norm of a Complex64 matrix.
gemm_ndarray
General matrix-matrix multiplication: C = α·A·B + β·C
gemv_ndarray
General matrix-vector multiplication: y = α·op(A)·x + β·y
matmul
Matrix multiplication: C = A·B
matmul_c
Matrix multiplication returning row-major output.
matmul_into
In-place matrix multiplication: C = A·B (C is reallocated)
matvec
Matrix-vector multiplication: y = A·x
matvec_t
Transposed matrix-vector multiplication: y = A^T·x
norm_1
Computes the 1-norm (maximum column sum) of a matrix.
norm_1_c32
Computes the 1-norm of a Complex32 matrix.
norm_1_c64
Computes the 1-norm (maximum column sum of absolute values) of a Complex64 matrix.
norm_inf
Computes the infinity-norm (maximum row sum) of a matrix.
norm_inf_c32
Computes the infinity-norm of a Complex32 matrix.
norm_inf_c64
Computes the infinity-norm (maximum row sum of absolute values) of a Complex64 matrix.
norm_max
Computes the maximum absolute element of a matrix.
norm_max_c32
Computes the maximum absolute element of a Complex32 matrix.
norm_max_c64
Computes the maximum absolute element of a Complex64 matrix.
nrm2_c32_ndarray
Computes the Euclidean norm of a Complex32 vector.
nrm2_c64_ndarray
Computes the Euclidean norm of a Complex64 vector.
nrm2_ndarray
Computes the Euclidean (L2) norm of a vector.
scal_c32_ndarray
Scales a Complex32 vector: x = α·x
scal_c64_ndarray
Scales a Complex64 vector: x = α·x
scal_ndarray
Scales a vector: x = α·x
trace
Computes the trace of a square matrix.
trace_c32
Computes the trace of a Complex32 square matrix.
trace_c64
Computes the trace of a Complex64 square matrix.
transpose
Transposes a matrix.