The CasADi function documentation explains how to define function objects, building arguments from SX or MX symbolic objects.
However, in addition to passing symbolic