Expand description
Complex-precision sparse operations (Complex32 / Complex64).
These mirror the real-precision API: sparse vector AXPY / gather /
scatter, plus a ComplexSparseMatrix handle wrapping AOCL’s
aoclsparse_matrix and operations against it: matrix–vector product
mv, triangular solve trsv, sparse-sparse product spmmd,
ILU(0) smoother ilu_smoother, and the iterative-solver suite via
ComplexIterSolver.
Structs§
- Complex
Iter Solver - Iterative-solver handle for complex sparse systems.
- Complex
Sparse Matrix - RAII wrapper for a complex
aoclsparse_matrixin CSR format.
Traits§
- Complex
Scalar - Scalar element type for the complex sparse routines (
c32,c64).
Functions§
- add
- Compute
C := α · op(A) + Breturning a fresh complex CSR matrix. - axpyi
y[indx] := α·x + y[indx].xandindxmust have equal length.- create_
csc_ c32 Complex32CSC creator. Seecreate_csc_c64.- create_
csc_ c64 - Build a complex CSC matrix handle. (
Complex64) - create_
tcsr_ c32 Complex32TCSR creator. Seecreate_tcsr_c64.- create_
tcsr_ c64 - Build a complex TCSR matrix handle (parallel L / U triangular CSRs).
(
Complex64) - csrmm
- Compute
C := α · op(A) · B + β · CwhereAis sparse complex (CSR) andB,Care dense complex matrices laid out perorder. - dotci_
c32 Complex32conjugated sparse dot. Seedotci_c64.- dotci_
c64 - Sparse-vector conjugated dot
Σ conj(x[i]) · y[indx[i]]. (Complex64) - dotmv_
c32 Complex32fused dot + mat-vec. Seedotmv_c64.- dotmv_
c64 - Fused dot + mat-vec:
y := α A x + β yandd := xᵀ y. (Complex64) - dotui_
c32 Complex32unconjugated sparse dot. Seedotui_c64.- dotui_
c64 - Sparse-vector unconjugated dot
Σ x[i] · y[indx[i]]. (Complex64) - gthr
x[i] := y[indx[i]](sparse gather).- gthrs_
c32 Complex32strided sparse gather.- gthrs_
c64 Complex64strided sparse gather. See realgthrs_f64.- gthrz_
c32 Complex32gather-and-zero.- gthrz_
c64 Complex64gather-and-zero.- ilu_
smoother - One ILU(0) smoothing step on a complex matrix.
- mv
- Compute
y := α · op(A) · x + β · yfor a complex CSR matrixA. - sctr
y[indx[i]] := x[i](sparse scatter).- sctrs_
c32 Complex32strided sparse scatter.- sctrs_
c64 Complex64strided sparse scatter.- set_
value_ c32 Complex32set_value. Seeset_value_c64.- set_
value_ c64 - Set a single non-zero entry on a complex CSR handle. (
Complex64) - sorv
- One step of (S)SOR / forward / backward Gauss-Seidel relaxation for a complex sparse matrix.
- sp2md
- Compute
C := α · op_A(A) · op_B(B) + β · Cfor complex sparseAandB, dense complexC. - spmmd
- Compute
C := op(A) · Bwhere bothAandBare sparse complex matrices andCis dense. - symgs_
c32 Complex32symmetric Gauss-Seidel. Seesymgs_c64.- symgs_
c64 - Symmetric Gauss-Seidel sweep against a complex-symmetric handle. (
Complex64) - symgs_
mv_ c32 Complex32fused symgs + mat-vec. Seesymgs_mv_c64.- symgs_
mv_ c64 - Fused symgs + mat-vec. (
Complex64) - syprd_
c32 Complex32symmetric triple product. Seesyprd_c64.- syprd_
c64 - Symmetric triple product
C := α · op(A) · B · op(A)ᵀ + β · Cfor complex sparseA, denseB/C. (Complex64) - syrkd_
c32 Complex32symmetric rank-k update. Seesyrkd_c64.- syrkd_
c64 - Symmetric rank-k update from a complex sparse matrix. (
Complex64) - trsm_
c32 Complex32multi-RHS triangular solve. Seetrsm_c64.- trsm_
c64 - Multi-RHS triangular solve
op(A) · X = α · Bfor complex sparse triangularA. (Complex64) - trsv
- Solve
op(A) · x = α · bwhereAis sparse triangular. - update_
values_ c32 Complex32update_values. Seeupdate_values_c64.- update_
values_ c64 - Replace the values array on a complex CSR handle in place. (
Complex64)