Function am_stepfun

Function Documentation

mlhsInnerSubst< matlabtypesubstitute > am_stepfun(::sym t, matlabtypesubstitute tstart, matlabtypesubstitute vstart, matlabtypesubstitute tend, matlabtypesubstitute vend)

am_stepfun is the amici implementation of the step function

Parameters
  • t: input variable

  • tstart: input variable value at which the step starts

  • vstart: value during the step

  • tend: input variable value at which the step end

  • vend: value after the step

Return Value
  • fun: 0 before tstart, vstart between tstart and tend and vend after tend