return the number of iterations performed during AGM calculation
arithmetic_geometric_mean_base_type
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(arithmetic_geometric_mean_base_type), | intent(in) | :: | agm |
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