get_complex_element Function

private function get_complex_element(this, row, column) result(element)

Returns the complex element associated with the linked-list node at position (row, column) in the matrix datastructure. Non-existing nodes correspond to zero values, so when a node at (row, column) is not found this function returns (complex) zero.

Arguments

TypeIntentOptionalAttributesName
class(matrix_t), intent(in) :: this

type instance

integer, intent(in) :: row

row position of the needed element

integer, intent(in) :: column

column position of the needed element

Return Value complex(kind=dp)

the element at position (row, column) in the matrix


Contents

None