n_iter Function

public elemental function n_iter(agm)

return the number of iterations performed during AGM calculation

Type Bound

arithmetic_geometric_mean_base_type

Arguments

Type IntentOptional Attributes Name
class(arithmetic_geometric_mean_base_type), intent(in) :: agm

Return Value integer


Source Code

    elemental function n_iter(agm)
        !! return the number of iterations performed during AGM calculation

        class(arithmetic_geometric_mean_base_type), intent(in) :: agm



        integer :: n_iter



         n_iter = agm%n_iter_

    end function n_iter