-
Notifications
You must be signed in to change notification settings - Fork 364
L_1ac
Joris Gillis edited this page Sep 16, 2022
·
3 revisions
[INTERNAL] export_code(self, str lang, dict options)
Export matrix in specific language.
lang: only 'matlab' supported for now
::
* options: * inline: Indicates if you want everything on a single line (default: False) * name: Name of exported variable (default: 'm') * indent_level: Level of indentation (default: 0) * spoof_zero: Replace numerical zero by a 1e-200 (default: false) * might be needed for matlab sparse construct, * which doesn't allow numerical zero *
Extra doc: https://github.com/casadi/casadi/wiki/L_1ac
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L1220
To edit, see writing tips.