I have a C++ function like this:
void constraint(double& x, double& dxdt)
{
dxdt[0] = ...
dxdt[1] = ...
....
dxdt[n] = ...
}
How would I properly wrap this function in the .pyx file? And how
would calling it in Python work? I've tried to find examples for this
type of thing but have been unable. If anybody knows of any, I'd
greatly appreciate it.
Thanks,
~Luke
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev