-
Notifications
You must be signed in to change notification settings - Fork 364
L_1ch
Joris Gillis edited this page Apr 4, 2023
·
2 revisions
Create a new matrix with a given sparsity pattern but with the.
::
project(DM A, Sparsity sp, bool intersect) -> DM project(SX A, Sparsity sp, bool intersect) -> SX project(MX A, Sparsity sp, bool intersect) -> MX
nonzeros taken from an existing matrix
Extra doc: https://github.com/casadi/casadi/wiki/L_1ch
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L626
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L626-L629
To edit, see writing tips.