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

Standard documentation for rank1:

 Make a rank-1 update to a matrix A.

::

 rank1(DM A, DM alpha, DM x, DM y) -> DM
 rank1(SX A, SX alpha, SX x, SX y) -> SX
 rank1(MX A, MX alpha, MX x, MX y) -> MX

Calculates A + 1/2 * alpha * x*y'

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

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally