-
Notifications
You must be signed in to change notification settings - Fork 372
L_cc
Get the row of a non-zero element. row(self) -> [int] row(self, int el) -> int
Extra doc: https://github.com/casadi/casadi/wiki/L_cc
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.hpp#L471
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.cpp#L173-L179
.......
::
row(self)
Get the row for each non-zero entry.
Together with the column-vector, this vector gives the sparsity of the
matrix in sparse triplet format, and together with the colind vector, one obtains the sparsity in column compressed format.
Extra doc: https://github.com/casadi/casadi/wiki/L_c9
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.hpp#L453
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.cpp#L348-L350
.............
.......
::
row(self, int el)
Get the row of a non-zero element.
Extra doc: https://github.com/casadi/casadi/wiki/L_cc
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.hpp#L471
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity.cpp#L173-L179
.............
To edit, see writing tips.