Converts a matrix data structure into a complex Hermitian banded matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(matrix_t), | intent(in) | :: | matrix |
the original matrix datastructure |
||
integer, | intent(in) | :: | diags |
number of sub/superdiagonals |
||
character(len=1), | intent(in) | :: | uplo |
upper or lower triangular part of the matrix |
||
type(hermitian_banded_matrix_t), | intent(out) | :: | banded |
the resulting banded datastructure |