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

Gets element A(i,j) of matrix A for any pair (i,j). More...

Public Member Functions

real(real64) function getelm (i, j, a, ja, ia, iadd, sorted)
 

Detailed Description

Gets element A(i,j) of matrix A for any pair (i,j).

Parameters
[in]iThe row index.
[in]jThe column index.
[in]aThe non-zero elements of matrix A.
[in]jaThe column indices of matrix A.
[in]iaThe index in A where the requested row starts.
[out]iaddThe address of element A(i,j) in arrays A & JA, if found; else, zero if not found.
[in]sortedIndicates whether the matrix is known to be sorted.
Returns
The requested value.

Definition at line 236 of file sparskit.f90.

Constructor & Destructor Documentation

◆ getelm()

real(real64) function sparskit::getelm::getelm ( integer(int32), intent(in) i,
integer(int32), intent(in) j,
real(real64), dimension(*), intent(in) a,
integer(int32), dimension(*), intent(in) ja,
integer(int32), dimension(*), intent(in) ia,
integer(int32), intent(out) iadd,
logical, intent(in) sorted )

Definition at line 236 of file sparskit.f90.


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