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::clncsr Interface Reference

@breif Cleans up a CSR matrix. More...

Public Member Functions

subroutine clncsr (job, value2, nrow, a, ja, ia, indu, iwk)
 

Detailed Description

@breif Cleans up a CSR matrix.

Parameters
[in]jobThe job to perform.
  • 0: Nothing is done
  • 1: Eliminate duplicate entries and zero entries.
  • 2: Eliminate duplicate entries and perform partial ordering.
  • 3: Eliminate duplicate entries and sort the entries in increasing order of column indices.
[in]value20 if the matrix is pattern only (A is not touched), or 1 if the matrix has values.
[in]nrowThe number of rows in the matrix.
[in,out]aThe non-zero values.
[in,out]jaAn array of column indices of the elements in A.
[in,out]iaAn array of pointers to the rows.
[out]induAn NROW array containing pointers to the beginning of the upper triangular portion if job > 1.
[out]iwkAn NROW+1 element workspace array.

Definition at line 300 of file sparskit.f90.

Constructor & Destructor Documentation

◆ clncsr()

subroutine sparskit::clncsr::clncsr ( integer(int32), intent(in) job,
integer(int32), intent(in) value2,
integer(int32), intent(in) nrow,
real(real64), dimension(*), intent(inout) a,
integer(int32), dimension(*), intent(inout) ja,
integer(int32), dimension(*), intent(inout) ia,
integer(int32), dimension(*), intent(inout) indu,
integer(int32), dimension(*), intent(inout) iwk )

Definition at line 300 of file sparskit.f90.


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