Re: the error function

From: Robert Israel (israel_at_math.ubc.ca)
Date: 10/20/04


Date: 20 Oct 2004 22:09:22 GMT

In article <2tnsssF21hmecU1@uni-berlin.de>,
Max Leitner <nospam@nospam.com> wrote:

|>I like the error function because it is difficult to calculate on
computer,
|>it tends to blowup in some areas.
|>Anyone know a nice stable way to calculate it? (not sterling's
|>approximation)

In Maple, to calculate it to n digits,

> evalf(erf(x),n);

AFAIK it's quite stable. And what could be nicer?

Robert Israel israel@math.ubc.ca
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia Vancouver, BC, Canada