We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
heaviside
Heaviside function. :: heaviside(DM x) -> DM heaviside(SX x) -> SX [ \begin {cases} H(x) = 0 & x<0 \ H(x) = 1/2 & x=0 \ H(x) = 1 & x>0 \ \end {cases} ] Extra doc: https://github.com/casadi/casadi/wiki/L_195 Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L668 Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L668-L670
Heaviside function.
::
heaviside(DM x) -> DM heaviside(SX x) -> SX
[ \begin {cases} H(x) = 0 & x<0 \ H(x) = 1/2 & x=0 \ H(x) = 1 & x>0 \ \end {cases} ]
Extra doc: https://github.com/casadi/casadi/wiki/L_195
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L668
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L668-L670
To edit, see writing tips.