L_cd
Joris Gillis edited this page Sep 16, 2022
·
2 revisions
Get the column for each non-zero entry. get_col(self) -> [int]
Together with the row-vector, this vector gives the sparsity of the matrix in sparse triplet format, i.e. the column and row for each non- zero elements
Extra doc: https://github.com/casadi/casadi/wiki/L_cd
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.hpp#L479
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.cpp#L344-L346
To edit, see writing tips.