exp_series Interface

public interface exp_series

Compute using a truncated taylor series


Contents


Module Procedures

public function exp_series_r32(x) result(exp)

Compute using a taylor series with 12 terms

Arguments

Type IntentOptional AttributesName
real(kind=real32), intent(in) :: x

Return Value real

public function exp_series_r64(x) result(exp)

Calculate using a taylor series with 20 terms

Arguments

Type IntentOptional AttributesName
real(kind=real64), intent(in) :: x

Return Value real(kind=real64)