Fortran Wiki
erf
Description
erf(x) computes the error function of x, defined as
Standard
Fortran 2008 and later
Class
Elemental function
Syntax
result = erf(x)
Arguments
x - The type shall be real.
Return value
The return value is of type real, of the same kind as x and lies in the range .
Example
program test_erf
real(8) :: x = 0.17_8
x = erf(x)
end program test_erf
Revised on March 1, 2023 13:09:18
by
Jason Blevins
(23.245.217.121)
(626 characters / 0.0 pages)