new_hermitian_banded_matrix Function

public function new_hermitian_banded_matrix(rows, diags, uplo) result(matrix)

Constructor for a new Hermitian banded matrix with a given number of rows and diagonals. Allocates and initialises the datatype. initialise all to zero

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: rows

number of rows/columns

integer, intent(in) :: diags

number of sub/superdiagonals

character, intent(in) :: uplo

store upper ("U") or lower ("L") triangular part

Return Value type(hermitian_banded_matrix_t)

the Hermitian matrix in banded storage


Contents

None