get_total_nb_elements Function

private pure function get_total_nb_elements(this) result(total_nb_elements)

Returns the total number of elements (nodes) across the various rows.

Type Bound

matrix_t

Arguments

Type IntentOptional Attributes Name
class(matrix_t), intent(in) :: this

type instance

Return Value integer

total number of (non-zero) elements in this matrix