erf.3 (84881) | erf.3 (131504) |
---|---|
1.\" Copyright (c) 1985, 1991 Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" from: @(#)erf.3 6.4 (Berkeley) 4/20/91 | 1.\" Copyright (c) 1985, 1991 Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" from: @(#)erf.3 6.4 (Berkeley) 4/20/91 |
33.\" $FreeBSD: head/lib/msun/man/erf.3 84881 2001-10-13 12:23:23Z bde $ | 33.\" $FreeBSD: head/lib/msun/man/erf.3 131504 2004-07-02 23:52:20Z ru $ |
34.\" 35.Dd April 20, 1991 36.Dt ERF 3 37.Os 38.Sh NAME 39.Nm erf , 40.Nm erff , 41.Nm erfc , --- 17 unchanged lines hidden (view full) --- 59.Pp 60The 61.Fn erf 62and the 63.Fn erff 64functions calculate the error function of x; where 65.Bd -ragged -offset indent 66.if n \{\ | 34.\" 35.Dd April 20, 1991 36.Dt ERF 3 37.Os 38.Sh NAME 39.Nm erf , 40.Nm erff , 41.Nm erfc , --- 17 unchanged lines hidden (view full) --- 59.Pp 60The 61.Fn erf 62and the 63.Fn erff 64functions calculate the error function of x; where 65.Bd -ragged -offset indent 66.if n \{\ |
67erf(x) = 2/sqrt(pi)\(**\|integral from 0 to x of exp(\-t\(**t) dt. \} | 67erf(x) = 2/sqrt(pi)\(**\|integral from 0 to x of exp(\-t\(**t) dt. 68\} |
68.if t \{\ 69erf\|(x) := | 69.if t \{\ 70erf\|(x) := |
70(2/\(sr\(*p)\|\(is\d\s8\z0\s10\u\u\s8x\s10\d\|exp(\-t\u\s82\s10\d)\|dt. \} | 71(2/\(sr\(*p)\|\(is\d\s8\z0\s10\u\u\s8x\s10\d\|exp(\-t\u\s82\s10\d)\|dt. 72\} |
71.Ed 72.Pp 73The 74.Fn erfc 75and the 76.Fn erfcf 77functions calculate the complementary error function of 78.Fa x ; --- 17 unchanged lines hidden --- | 73.Ed 74.Pp 75The 76.Fn erfc 77and the 78.Fn erfcf 79functions calculate the complementary error function of 80.Fa x ; --- 17 unchanged lines hidden --- |