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

Standard documentation for repsum:

 Given a repeated matrix, computes the sum of repeated parts.

::

 repsum(DM A, int n, int m) -> DM
 repsum(SX A, int n, int m) -> SX
 repsum(MX A, int n, int m) -> MX

Extra doc: https://github.com/casadi/casadi/wiki/L_1d7

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L980

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L980-L982

Extra documentation

To edit, see writing tips.

Clone this wiki locally