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

Converts the LINPACK, BLAS, LAPACK banded matrix format into a CSR format. More...

Public Member Functions

subroutine bndcsr (n, abd, nabd, lowd, ml, mu, a, ja, ia, len, ierr)
 

Detailed Description

Converts the LINPACK, BLAS, LAPACK banded matrix format into a CSR format.

Parameters
[in]nThe row dimension of the matrix.
[in]abdThe banded matrix.
[in]nabdThe leading dimension of abd.
[in]lowdThe row index where the lowest diagonal (leftmost) of A is located. LINPACK uses LOWD = 2 * ML + MU + 1.
[in]mlThe bandwidth of the strict lower part of A.
[in]muThe bandwidth of the strict upper part of A.
[out]aThe non-zero elements of matrix A.
[out]jaThe column indices of matrix A.
[out]iaThe index in A where the requested row starts.
[in]lenThe length of a and ja.
[out]ierrError message output.
  • 0: Normal return.
  • -1: Invalid lowd value.
  • Positive Valued: Not enough storage in a and ja.

Definition at line 150 of file sparskit.f90.

Constructor & Destructor Documentation

◆ bndcsr()

subroutine sparskit::bndcsr::bndcsr ( integer(int32), intent(in) n,
real(real64), dimension(nabd,*), intent(in) abd,
integer(int32), intent(in) nabd,
integer(int32), intent(in) lowd,
integer(int32), intent(in) ml,
integer(int32), intent(in) mu,
real(real64), dimension(*), intent(out) a,
integer(int32), dimension(*), intent(out) ja,
integer(int32), dimension(n+1), intent(out) ia,
integer(int32), intent(in) len,
integer(int32), intent(out) ierr )

Definition at line 150 of file sparskit.f90.


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