Converts a given array to a Hermitian banded datastructure.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(*), | intent(in) | :: | array(:,:) | the original array |
||
integer, | intent(in) | :: | diags | the number of sub/superdiagonals |
||
character, | intent(in) | :: | uplo | upper or lower triangular part of the matrix |
||
type(hermitian_banded_matrix_t), | intent(out) | :: | banded | the resulting banded datastructure |