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

Converts a dense matrix to a banded matrix. More...

Public Member Functions

 dense_to_banded_dbl
 
 dense_to_banded_cmplx
 

Detailed Description

Converts a dense matrix to a banded matrix.

Syntax
subroutine dense_to_banded(real(real64) a(:,:), integer(int32) kl, integer(int32) ku, real(real64) x(:,:), optional class(errors) err)
subroutine dense_to_banded(complex(real64) a(:,:), integer(int32) kl, integer(int32) ku, complex(real64) x(:,:), optional class(errors) err)
Parameters
[in]mThe M-by-N dense matrix.
[in]klThe number of subdiagonals. Must be at least 0.
[in]kuThe number of superdiagonals. Must be at least 0.
[out]xThe (KL+KU+1)-by-N banded matrix.
[in,out]errAn optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
  • LA_INVALID_INPUT_ERROR: Occurs if either ku or kl are not zero or greater.
  • LA_ARRAY_SIZE_ERROR: Occurs if x is not sized correctly.

Definition at line 4188 of file linalg.f90.


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