~ubuntu-branches/ubuntu/karmic/python-scipy/karmic

« back to all changes in this revision

Viewing changes to Lib/special/toms_wrappers.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T. Chen (new)
  • Date: 2005-03-16 02:15:29 UTC
  • Revision ID: james.westby@ubuntu.com-20050316021529-xrjlowsejs0cijig
Tags: upstream-0.3.2
ImportĀ upstreamĀ versionĀ 0.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is a collection of wrappers around the
 
2
 *  Amos Fortran library of functions that take complex
 
3
 *  variables (see www.netlib.org) so that they can be called from
 
4
 *  the cephes library of corresponding name but work with complex
 
5
 *  arguments.
 
6
 */
 
7
 
 
8
#ifndef _TOMS_WRAPPERS_H
 
9
#define _TOMS_WRAPPERS_H
 
10
#ifndef _AMOS_WRAPPERS_H
 
11
#include "Python.h"
 
12
#include "cephes/mconf.h"
 
13
 
 
14
#define CADDR(z) (double *)&z.real, (double*)&z.imag
 
15
#endif /*_AMOS */
 
16
extern Py_complex cwofz_wrap(Py_complex z);
 
17
 
 
18
#endif