Hello everybody !!!

I have a C++ function whose type is :
void loadProblem(double * , double * , double*, double*, double*)
Each double * is meant to be a list of double whose length I do not
know when the function is defined.

I would like to call it from Cython though I do not know how. For the
moment I use as arguments things like [ 0, 2.5,3 ] but it seems it can
not be converted to double * automatically.
For example

a=[ 0, 2.5,3 ]
loadProblem(a,a,a,a,a)

But I always get this error : /user/ncohen/home/sage/EXAMPLEOSI.pyx:
81:30: Non-keyword arg following star-arg

How would you do that ?

Thanks !!!!

Nathann
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to