Skip to content
Joris Gillis edited this page Apr 4, 2023 · 2 revisions

Standard documentation for project:

 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

Extra documentation

To edit, see writing tips.

Clone this wiki locally