Skip to content
Joris Gillis edited this page Sep 16, 2022 · 2 revisions

Standard documentation for Sparsity.removeDuplicates:

 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

Extra documentation

To edit, see writing tips.

Clone this wiki locally