(CONST-ALG
(NAME "const")
(ARGUMENTS ("double" "c") ("time_type" "t0")
           ("rate_type" "sr") ("time_type" "d"))
(STATE ("sample_type" "c" "(sample_type) c"))
(CONSTANT "c")
(TERMINATE (AFTER "d"))
(INNER-LOOP "output = c")
(SAMPLE-RATE "sr")
)

