-
Notifications
You must be signed in to change notification settings - Fork 369
L_24z
Joris Gillis edited this page Apr 4, 2023
·
1 revision
Cast matrix nonzeros to different Sparsity.
::
sparsity_cast(Sparsity a, Sparsity sp) -> Sparsity sparsity_cast(DM a, Sparsity sp) -> DM sparsity_cast(SX a, Sparsity sp) -> SX sparsity_cast(MX a, Sparsity sp) -> MX
Extra doc: https://github.com/casadi/casadi/wiki/L_24z
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L377
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L377-L379
To edit, see writing tips.