Clicky

Fortran Wiki
erfc (Rev #3, changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #2 to #3: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Description

erfc(x) computes the complementary error function of x(削除) . (削除ここまで)(追記) , (追記ここまで)(追記) defined (追記ここまで)(追記) as (追記ここまで)

(削除) (削除ここまで)(追記)
1 - \\text{erf}(x) = 1 - \\frac{2}{\\sqrt{\\pi}} \\int_0^x e^{-t^2} dt.
(追記ここまで)
(追記) (追記ここまで)

Standard

Fortran 2008 and later

Class

Elemental function

Syntax

(削除)

result = erfc(x)

(削除ここまで)
(追記)
result = erfc(x)
(追記ここまで)

Arguments

  • x - The type shall be real.

Return value

The return value is of type real and of the same kind as x. It lies in the range 0 \\leq(削除) erfc (削除ここまで)(追記) \\mathop{erfc}(x) (追記ここまで)(削除) (x) (削除ここまで) \\leq 2.

Example

program test_erfc
 real(8) :: x = 0.17_8
 x = erfc(x)
end program test_erfc

category: intrinsics

Revision from September 19, 2010 20:24:51 by Jason Blevins
Forward in time (to current) | Back in time (2 more) | See current | Hide changes | History | Rollback | View: Source | Linked from: Intrinsic procedures, Fortran 2008

AltStyle によって変換されたページ (->オリジナル) /