~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/elementary/erf.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
erf              Scilab Group              Scilab Function              erf
 
2
NAME
 
3
   erf -  The error function.
 
4
  
 
5
CALLING SEQUENCE
 
6
  y = erf(x)
 
7
PARAMETERS
 
8
 x    : real vector
 
9
      
 
10
 y    : real vector (of same size)
 
11
      
 
12
DESCRIPTION
 
13
    erf computes the error function:
 
14
  
 
15
                       /x
 
16
      y = 2/sqrt(pi) *|  exp(-t^2) dt
 
17
                      /0
 
18
EXAMPLE
 
19
 deff('y=f(t)','y=exp(-t^2)');
 
20
 erf(0.5)-2/sqrt(%pi)*intg(0,0.5,f)
 
21
SEE ALSO
 
22
   erfc, erfcx, calerf
 
23