-
Notifications
You must be signed in to change notification settings - Fork 394
L_ce
Joris Gillis edited this page Sep 16, 2022
·
2 revisions
Get the index of a non-zero element. add_nz(self, int rr, int cc) -> int
Add the element if it does not exist and copy object if it's not unique
Extra doc: https://github.com/casadi/casadi/wiki/L_ce
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.hpp#L489
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.cpp#L195-L240
To edit, see writing tips.