We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.