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

A sparse matrix stored in compressed sparse row (CSR) format. More...

Public Member Functions

procedure, public get csr_get_element
 Gets the requested element from the matrix.
 

Public Attributes

integer(int32), dimension(:), allocatable row_indices
 An M+1 element array containing the indices in V an JA at which the requested row starts.
 
integer(int32), dimension(:), allocatable column_indices
 An NNZ-element array, where NNZ is the number of non-zero values, containing the column indices of each value.
 
real(real64), dimension(:), allocatable values
 An NNZ-element array, where NNZ is the number of non-zero values, containing the non-zero values of the matrix.
 

Detailed Description

A sparse matrix stored in compressed sparse row (CSR) format.

Definition at line 233 of file linalg.f90.

Member Function/Subroutine Documentation

◆ get()

procedure, public linalg::csr_matrix::get

Gets the requested element from the matrix.

Definition at line 247 of file linalg.f90.

Member Data Documentation

◆ column_indices

integer(int32), dimension(:), allocatable linalg::csr_matrix::column_indices

An NNZ-element array, where NNZ is the number of non-zero values, containing the column indices of each value.

Definition at line 239 of file linalg.f90.

◆ row_indices

integer(int32), dimension(:), allocatable linalg::csr_matrix::row_indices

An M+1 element array containing the indices in V an JA at which the requested row starts.

Definition at line 236 of file linalg.f90.

◆ values

real(real64), dimension(:), allocatable linalg::csr_matrix::values

An NNZ-element array, where NNZ is the number of non-zero values, containing the non-zero values of the matrix.

Definition at line 242 of file linalg.f90.


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