-
Notifications
You must be signed in to change notification settings - Fork 391
L_d1
Joris Gillis edited this page Sep 16, 2022
·
2 revisions
Remove duplicate entries. removeDuplicates(self) -> [int]
The same indices will be removed from the mapping vector, which must have the same length as the number of nonzeros
Extra doc: https://github.com/casadi/casadi/wiki/L_d1
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.hpp#L781
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.cpp#L707-L709
To edit, see writing tips.