linalg 1.8.2
A linear algebra library that provides a user-friendly interface to several BLAS and LAPACK routines.
Loading...
Searching...
No Matches
sparskit::coocsr Interface Reference

Converte a matrix stored in coordinate format to CSR format. More...

Public Member Functions

subroutine coocsr (nrow, nnz, a, ir, jc, ao, jao, iao)
 

Detailed Description

Converte a matrix stored in coordinate format to CSR format.

Parameters
[in]nrowThe number of rows in the matrix.
[in]nnzThe number of non-zero elements in the matrix.
[in]aAn NNZ-element array containing the non-zero elements of the matrix.
[in,out]irAn NNZ-element array containing the row indices of each non-zero element.
[in]jcAn NNZ-element array containing the column indices of each non-zero element.
[out]aoThe non-zero elements of matrix A.
[out]jaoThe column indices of matrix A.
[out]iaoThe index in A where the requested row starts.

Definition at line 212 of file sparskit.f90.

Constructor & Destructor Documentation

◆ coocsr()

subroutine sparskit::coocsr::coocsr ( integer(int32), intent(in) nrow,
integer(int32), intent(in) nnz,
real(real64), dimension(*), intent(in) a,
integer(int32), dimension(*), intent(inout) ir,
integer(int32), dimension(*), intent(in) jc,
real(real64), dimension(*) ao,
integer(int32), dimension(*), intent(out) jao,
integer(int32), dimension(*), intent(out) iao )

Definition at line 212 of file sparskit.f90.


The documentation for this interface was generated from the following file: