CLA3P v0.3.1
Compact Linear Algebra Parallel Portable Package
Loading...
Searching...
No Matches
Sparse Matrices

Sparse matrix objects (COO, CSR and CSC formats). More...

Typedefs

using cla3p::csr::RdMatrix = XxMatrix<int_t,real_t>
 Double precision real CSR (Compressed Sparse Row) matrix.
using cla3p::csr::RfMatrix = XxMatrix<int_t,real4_t>
 Single precision real CSR (Compressed Sparse Row) matrix.
using cla3p::csr::CdMatrix = CxMatrix<int_t,complex_t>
 Double precision complex CSR (Compressed Sparse Row) matrix.
using cla3p::csr::CfMatrix = CxMatrix<int_t,complex8_t>
 Single precision complex CSR (Compressed Sparse Row) matrix.
using cla3p::csc::RdMatrix = XxMatrix<int_t,real_t>
 Double precision real CSC (Compressed Sparse Column) matrix.
using cla3p::csc::RfMatrix = XxMatrix<int_t,real4_t>
 Single precision real CSC (Compressed Sparse Column) matrix.
using cla3p::csc::CdMatrix = CxMatrix<int_t,complex_t>
 Double precision complex CSC (Compressed Sparse Column) matrix.
using cla3p::csc::CfMatrix = CxMatrix<int_t,complex8_t>
 Single precision complex CSC (Compressed Sparse Column) matrix.
using cla3p::coo::RdMatrix = XxMatrix<int_t,real_t>
 Double precision real COO (Coordinate) matrix.
using cla3p::coo::RfMatrix = XxMatrix<int_t,real4_t>
 Single precision real COO (Coordinate) matrix.
using cla3p::coo::CdMatrix = XxMatrix<int_t,complex_t>
 Double precision complex COO (Coordinate) matrix.
using cla3p::coo::CfMatrix = XxMatrix<int_t,complex8_t>
 Single precision complex COO (Coordinate) matrix.

Detailed Description

Sparse matrix objects (COO, CSR and CSC formats).

Optimized for large-scale systems where most entries are zero.

Typedef Documentation

◆ RdMatrix [1/3]

Double precision real CSR (Compressed Sparse Row) matrix.

CSR format is row-oriented and optimized for row-wise access patterns and operations that traverse matrix rows efficiently.

Examples
ex07a_solving_sparse_linear_systems_lu.cpp, ex07b_solving_sparse_linear_systems_llt.cpp, ex07c_solving_sparse_linear_systems_ldlt.cpp, and ex07e_solving_sparse_linear_systems_auto.cpp.

◆ RfMatrix [1/3]

Single precision real CSR (Compressed Sparse Row) matrix.

CSR format is row-oriented and optimized for row-wise access patterns and operations that traverse matrix rows efficiently.

◆ CdMatrix [1/3]

Double precision complex CSR (Compressed Sparse Row) matrix.

CSR format is row-oriented and optimized for row-wise access patterns and operations that traverse matrix rows efficiently.

◆ CfMatrix [1/3]

Single precision complex CSR (Compressed Sparse Row) matrix.

CSR format is row-oriented and optimized for row-wise access patterns and operations that traverse matrix rows efficiently.

◆ RdMatrix [2/3]

Double precision real CSC (Compressed Sparse Column) matrix.

CSC format is column-oriented and optimized for column-wise access patterns and operations that traverse matrix columns efficiently.

Examples
ex06a_sparse_matrix_create.cpp, ex06b_sparse_matrix_fill.cpp, ex06d_sparse_matrix_create_from_aux_data.cpp, ex06k_sparse_matrix_algebra_scale.cpp, ex06l_sparse_matrix_algebra_add.cpp, ex06m_sparse_matrix_algebra_vmult.cpp, and ex06n_sparse_matrix_algebra_mmult.cpp.

◆ RfMatrix [2/3]

Single precision real CSC (Compressed Sparse Column) matrix.

CSC format is column-oriented and optimized for column-wise access patterns and operations that traverse matrix columns efficiently.

◆ CdMatrix [2/3]

Double precision complex CSC (Compressed Sparse Column) matrix.

CSC format is column-oriented and optimized for column-wise access patterns and operations that traverse matrix columns efficiently.

◆ CfMatrix [2/3]

Single precision complex CSC (Compressed Sparse Column) matrix.

CSC format is column-oriented and optimized for column-wise access patterns and operations that traverse matrix columns efficiently.

◆ RdMatrix [3/3]

Double precision real COO (Coordinate) matrix.

COO format uses triplet-based storage (row, col, value) designed for flexible matrix construction and efficient element insertion.

Examples
ex06a_sparse_matrix_create.cpp, ex06b_sparse_matrix_fill.cpp, ex06k_sparse_matrix_algebra_scale.cpp, ex06l_sparse_matrix_algebra_add.cpp, ex06m_sparse_matrix_algebra_vmult.cpp, and ex06n_sparse_matrix_algebra_mmult.cpp.

◆ RfMatrix [3/3]

Single precision real COO (Coordinate) matrix.

COO format uses triplet-based storage (row, col, value) designed for flexible matrix construction and efficient element insertion.

Examples
ex06a_sparse_matrix_create.cpp, and ex06c_sparse_matrix_create_with_property.cpp.

◆ CdMatrix [3/3]

Double precision complex COO (Coordinate) matrix.

COO format uses triplet-based storage (row, col, value) designed for flexible matrix construction and efficient element insertion.

Examples
ex06c_sparse_matrix_create_with_property.cpp.

◆ CfMatrix [3/3]

Single precision complex COO (Coordinate) matrix.

COO format uses triplet-based storage (row, col, value) designed for flexible matrix construction and efficient element insertion.