Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Twitter Adept Scientific on LinkedIn


The Next Steps

• Ask us a question
• Maple Product Tour
• Buy Maple Now
• View Maple Pricing
• Download a Brochure
• Request a Brochure
• Request an Evaluation
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 15 Professional
Maple 15 Academic
Maple 15 Student Use
What's New in Maple 15
Maple Features
Maple History
Recorded Online Seminars

MapleSim
MapleNet
Maple T.A.
BlockImporter™
Maple Toolboxes

Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Maple Home
Maple 15 Professional
Maple 15 Academic
Maple 15 Student Use
What's New in Maple 15
Maple Features
Maple History
Recorded Online Seminars

MapleSim
MapleNet
Maple T.A.
BlockImporter™
Maple Toolboxes and
Connectors


Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Latest Information

New Features: Professional
New Features: Academic
Maple Features
The Maple Reporter Online

Service & Support

Maple Primes
blogs, forums etc

Elite Maintenance Program
Application Centre
Powertools
Search the Knowledge Base
Technical Support request

List Archives >  Maple User Group List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[MUG] Re: Error Function

Search email archive for  

[MUG] Re: Error Function
Author: Maple Group    Posted: 31/03/2000 15:10:02 GDT
>> From: Maple Group

>> From: "Becker, Thomas "

| Can anybody tell me the definition of the Error Function
| for complex arguments?

-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

From: "Willard, Daniel Dr DUSA-OR"
To:
Subject: Error Function
Date: Wed, 29 Mar 2000 13:02:48 -0500

From Abramowitz and Stegun: Error function of complex argument:

erf(x+i*y)=erf(x) + (2*Pi*x)^(-1)*exp(-x^2)*[(1-cos(2*x*y)) +i*sin(2*x*y)]+

2/Pi*exp(-x^2)*sum((exp(-4^(-1)*n^2))/(n^2+4*x^2)*[f[n](x,y) +i*g[n](x,y}},
n=1..infinity) +
+Epsilon(x,y)

where f[n]=2*x-2*x*cosh(n*y)*cos(2*x*y) +n*sinh(n*y)*sin(2*x*y);
g[n]=2*x*cosh(n*y)*sin(2*x*y)+n*sinh(n*y)*cos(2*x*y);
abs(Epsilon(x,y)) is roughly 10^(-16)*abs(erf(x+i*y))


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

From:
Date: Wed, 29 Mar 2000 13:43:36 -0500 (CDT)
Subject: Error Function
To:

Dear Dr. Becker,

The complex error function (sometimes known as the plasma dispersion
function) is defined as
w(z) = exp(-z^2)*(1 + (2*I)/sqrt(pi)*int(exp(t^2),t=0..z)
using Maple notation. Here, z is a complex number (as is t). The real
part of w(z) is the Voigt line profile.

Sincerely,

David Holmgren

Brandon University


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Thu, 30 Mar 2000 09:18:20 +1200 (NZST)
From: John Harper
To:
Subject: Error Function

Same definition. Same power series. It's an entire function.
See Abramowitz&Stegun p297.

John Harper, School of Mathematical and Computing Sciences,
Victoria University, Wellington, New Zealand
e-mail phone (+64)(4)463 5341 fax (+64)(4)463 5045



-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Wed, 29 Mar 2000 22:19:48 GMT
From: J H Davenport
To:
Subject: Error Function

The power series for erf, obtained by term-bu-term integration,
is still valid:
erf(z)=2/sqrt(Pi) * sum (-1)^nz^{2n+1)/n!(2n+1)

James Davenport


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Wed, 29 Mar 2000 14:24:45 -0800 (PST)
From: Robert Israel
To:
Subject: Error Function



But... that _is_ the definition. Since exp(-t^2) is entire, you can
integrate on any path from 0 to x.

Well, if you want to avoid explicit path integrals, you could say
erf(x) = 2*x/sqrt(Pi) * int(exp(-x^2*t^2), t=0..1);

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







-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Wed, 29 Mar 2000 18:06:15 -0500 (EST)
From: "Joel A. SHAPIRO"
To:
Subject: Error Function

The place to look at for questions like this is Abramowitz and Stegun,
Handbook of Mathematical Functions, which has a chapter (7) on the
error function and fresnel integrals. Another, higher-brow source on
such questions is Whittaker and Watson, A Course in Modern Analysis, but
looking up erf there leads to confluent hypergeometric functions, which
might be a longer path to what you want.

Joel Shapiro, Prof. of Physics, Rutgers University
(732) 445-3886 Fax: (732) 445-4343


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Thu, 30 Mar 2000 11:13:25 +0200
From: Barsuhn
Subject: Error Function
To:

Dear Thomas,
the definition is the same ar for a real argument, i.e.
erf(z)=2/sqrt(Pi)*int(exp(-t^2,t=0..z)
for any complex z. As exp(-t^2) is a regular function, its integral is
independent of the path of the integration. If you e.g. choose z=2+3*I,
you may take the path from 0 to 2 along the real axis and then from 2 to
2+3*I parallel to the imaginary axis. Then you obtain only "real"
integrals, if you handle the factor I just like any constant. To force
Maple to this integration path you may define the function
g(x,y)=exp(-(x+I*y)^2). Compare the results of the following lines:
> 2/sqrt(Pi)*int(exp(-t^2),t=0..z);
> erf(2+3*I);evalf(%);
> 2/sqrt(Pi)*int(exp(-t^2),t=0..2+3*I);evalf(%);
> 2/sqrt(Pi)*int(exp(-t^2),t=0..2)+2/sqrt(Pi)*int(exp(-t^2),t=2..2+3*I);

> normal(%);evalf(%);
> g:=(x,y)->exp(-(x+I*y)^2);
> g(x,0);g(2,y);evalc(%);
>
>
2/sqrt(Pi)*int(g(x,0),x=0..2)+2/sqrt(Pi)*int(I*g(2,y),y=0..3);normal(%);evalf(%)
;

>
The factor I for g(2,y) in the preceding integral results from the
differential paralle to the imaginary axis which is I*dy
All the best Jurgen

--
-------------------
Prof. Dr. Jurgen Barsuhn
Fachhochschule Bielefeld
University of Applied Sciences
Fachbereich Elektrotechnik und Informationstechnik
D-33511 Bielefeld
-----------




[View Complete Thread]



Previous by date: [MUG] Re: invztrans question, Maple Group
Next by date: [MUG] Re: Variables in an array, Maple Group
Previous thread: [MUG] Variables in an array, Jonathan Dentch
Next thread: [MUG] Variables in an array, Jonathan Dentch



Ready to buy?

For more pricing information:
Visit our webstore, call us on +1 800 724 8380 or email us at info@adeptscience.com

Featured Downloads

Maple 15 & MapleSim 5 Professional Brochure
Maple 15 Academic Datasheet
Maple 15 & MapleSim 5 Brochure - Academic Brochure
Maple 15 New Features data sheet
Maple 15 New Features - Flyer
Maple Whitepaper: Driving Innovation - How mathematical modeling and optimisation increase efficiency and productivity in vehicle design.
MapleSim Whitepaper: Technological Superiority in Multi-Domain Physical Modeling and Simulation

Latest Downloads

Maple Case Study: The Changing Face of Robotics
Maple Application Brief - Analyse the Path of a Liquid-Handling Robot
Maple Player for iPad - App
Maple Player for iPad - Datasheet
Case Study - Multi-Domain Modelling Critical to Unmanned Vehicle Designs

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks

Latest News

NASA’s Jet Propulsion Laboratory begins widespread adoption of Maplesoft technology
NASA’s Jet Propulsion Laboratory begins widespread adoption of Maplesoft technology
Latest release marks the 10th anniversary of Maple T.A.
Maple Case Study: The Changing Face of Robotics
Maple Application Brief - Analyse the Path of a Liquid-Handling Robot
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Maple | MapleSim | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2012, Adept Scientific plc.
Site designed and maintained by Lyndon Ash

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055