-
Notifications
You must be signed in to change notification settings - Fork 384
L_ck
Joris Gillis edited this page Sep 16, 2022
·
2 revisions
Transpose the matrix and get the reordering of the non-zero entries. transpose(self, bool invert_mapping) -> (Sparsity , [int] OUTPUT)
mapping: the non-zeros of the original matrix for each non-zero of the new
matrix
Extra doc: https://github.com/casadi/casadi/wiki/L_ck
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.hpp#L564
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.cpp#L366-L368
To edit, see writing tips.