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
8
#ifndef _TOMS_WRAPPERS_H
9
#define _TOMS_WRAPPERS_H
10
#ifndef _AMOS_WRAPPERS_H
12
#include "cephes/mconf.h"
14
#define CADDR(z) (double *)&z.real, (double*)&z.imag
16
extern Py_complex cwofz_wrap(Py_complex z);