[Numpy-discussion] erfc

John Hunter jdhunter at ace.bsd.uchicago.edu
Wed Jun 2 09:47:06 CDT 2004


>>>>> "GKarthikesh" == Karthikesh Raju <karthik at james.hut.fi> writes:

    GKarthikesh> Hi All, Thankx to everyone for my previous "Random
    GKarthikesh> Numbers" question. Ok, do we have the complementary
    GKarthikesh> error function in numarray?

As fas as I know, you'll need to use scipy for that

  In [3]: import scipy.stats
  In [4]: scipy.stats.erfc?
  Type:           ufunc
  String Form:    <ufunc 'erfc'>
  Namespace:      Interactive
  Docstring:
      y=erfc(x) returns 1 - erf(x).
 
or use pyrex or some other simple wrapper generator to wrap your math
library's erfc function...

JDH







More information about the Numpy-discussion mailing list