-
Notifications
You must be signed in to change notification settings - Fork 439
L_o9
Joris Gillis edited this page Apr 4, 2023
·
2 revisions
[INTERNAL]::
eval_buffer(self, double const ** arg, [int] sizes_arg, double ** res, [int] sizes_res) -> intA copy-free low level interface.
In Python, you will be passed two tuples of memoryview objects Note that only the structural nonzeros are present in the memoryview objects/buffers.
Make sure to override has_eval_buffer() to indicate support for this method.
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/callback.cpp#L53-L56
To edit, see writing tips.