996d2f02f9
Submitted by: Yuko Sasaki <yuko@veltec.co.jp>
95 lines
2.9 KiB
Groff
95 lines
2.9 KiB
Groff
.\" Copyright (c) 1985, 1991 Regents of the University of California.
|
||
.\" All rights reserved.
|
||
.\"
|
||
.\" Redistribution and use in source and binary forms, with or without
|
||
.\" modification, are permitted provided that the following conditions
|
||
.\" are met:
|
||
.\" 1. Redistributions of source code must retain the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer.
|
||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer in the
|
||
.\" documentation and/or other materials provided with the distribution.
|
||
.\" 3. All advertising materials mentioning features or use of this software
|
||
.\" must display the following acknowledgement:
|
||
.\" This product includes software developed by the University of
|
||
.\" California, Berkeley and its contributors.
|
||
.\" 4. Neither the name of the University nor the names of its contributors
|
||
.\" may be used to endorse or promote products derived from this software
|
||
.\" without specific prior written permission.
|
||
.\"
|
||
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||
.\" SUCH DAMAGE.
|
||
.\"
|
||
.\" from: @(#)erf.3 6.4 (Berkeley) 4/20/91
|
||
.\" %FreeBSD: src/lib/msun/man/erf.3,v 1.5.2.4 2001/12/17 10:08:36 ru Exp %
|
||
.\"
|
||
.\" $FreeBSD$
|
||
.Dd April 20, 1991
|
||
.Dt ERF 3
|
||
.Os
|
||
.Sh ̾¾Î
|
||
.Nm erf ,
|
||
.Nm erff ,
|
||
.Nm erfc ,
|
||
.Nm erfcf
|
||
.Nd ¸íº¹´Ø¿ô¤Î±é»»»Ò
|
||
.Sh ¥é¥¤¥Ö¥é¥ê
|
||
.Lb libm
|
||
.Sh ½ñ¼°
|
||
.In math.h
|
||
.Ft double
|
||
.Fn erf "double x"
|
||
.Ft float
|
||
.Fn erff "float x"
|
||
.Ft double
|
||
.Fn erfc "double x"
|
||
.Ft float
|
||
.Fn erfcf "float x"
|
||
.Sh ²òÀâ
|
||
¤³¤ì¤é¤Î´Ø¿ô¤Ï
|
||
.Fa x
|
||
¤Î¸íº¹´Ø¿ô¤ò·×»»¤·¤Þ¤¹¡£
|
||
.Pp
|
||
.Fn erf
|
||
´Ø¿ô¤È
|
||
.Fn erff
|
||
´Ø¿ô¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¡¢x ¤Î¸íº¹´Ø¿ô (error function) ¤ò·×»»¤·¤Þ¤¹¡£
|
||
.Bd -ragged -offset indent
|
||
.if n \{\
|
||
erf(x) = 2/sqrt(pi)\(**\|integral from 0 to x of exp(\-t\(**t) dt \}
|
||
.if t \{\
|
||
erf\|(x) :=
|
||
(2/\(sr\(*p)\|\(is\d\s8\z0\s10\u\u\s8x\s10\d\|exp(\-t\u\s82\s10\d)\|dt \}
|
||
.Ed
|
||
.Pp
|
||
.Fn erfc
|
||
´Ø¿ô¤È
|
||
.Fn erfcf
|
||
´Ø¿ô¤Ï
|
||
.Fa x
|
||
¤ÎÁêÊä¸íº¹´Ø¿ô (complementary error function) ¤ò·×»»¤·¤Þ¤¹¡£¤¹¤Ê¤ï¤Á¡¢
|
||
.Fn erfc
|
||
¤Ï 1.0 ¤«¤é¸íº¹´Ø¿ô
|
||
.Fn erf x
|
||
¤Î·ë²Ì¤ò¸º»»¤·¤Þ¤¹¡£
|
||
Â礤Ê
|
||
.Fa x
|
||
¤ËÂФ·¤Æ¤Ï·å¤¬¼º¤ï¤ì¤Æ¤·¤Þ¤¦¤¿¤á¡¢¤³¤Î´Ø¿ô¤¬ÍÍѤǤ¹¡£
|
||
.Sh ´ØÏ¢¹àÌÜ
|
||
.Xr math 3
|
||
.Sh Îò»Ë
|
||
.Fn erf
|
||
¤È
|
||
.Fn erfc
|
||
´Ø¿ô¤Ï
|
||
.Bx 4.3
|
||
¤ÇÅо줷¤Þ¤·¤¿¡£
|