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

Standard documentation for MX.monitor:

 [INTERNAL] 

::

 monitor(self, str comment) -> MX

Monitor an expression.

Returns itself, but with the side effect of printing the nonzeros along with a comment

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.hpp#L858

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.cpp#L706-L708

Extra documentation

To edit, see writing tips.

Clone this wiki locally