8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Sparsity.add_nz
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
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.