Function am_if¶
Defined in File am_if.m
Function Documentation¶
-
mlhsInnerSubst< matlabtypesubstitute > am_if(::sym condition, ::sym truepart, ::sym falsepart)
am_if is the amici implementation of the symbolic if function
- Parameters
condition
: logical valuetruepart
: value if condition is truefalsepart
: value if condition is false
- Return Value
fun
: if condition is true truepart, else falsepart