-
Notifications
You must be signed in to change notification settings - Fork 365
L_47
Joris Gillis edited this page Apr 4, 2023
·
2 revisions
Kronecker tensor product.
::
kron(Sparsity a, Sparsity b) -> Sparsity kron(DM a, DM b) -> DM kron(SX a, SX b) -> SX kron(MX a, MX b) -> MX
Creates a block matrix in which each element (i, j) is a_ij*b
Extra doc: https://github.com/casadi/casadi/wiki/L_47
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L414
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L414-L416
To edit, see writing tips.