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

Standard documentation for fabs:

 Absolute value: x -> abs(x)

::

 fabs(float x) -> float
 fabs(DM x) -> DM
 fabs(SX x) -> SX
 fabs(MX x) -> MX

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_expression.hpp#L275

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_expression.hpp#L275-L277

Extra documentation

To edit, see writing tips.

Clone this wiki locally