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

Standard documentation for Sparsity.transpose:

 Transpose the matrix and get the reordering of the non-zero entries.

 transpose(self, bool invert_mapping) -> (Sparsity , [int] OUTPUT)

Parameters:

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally