AMI supports several mathematical operators as well as built-in functions. The supported functions and operators are listed in Table 1 and Table 2.
|
In addition to these functions AMI has implemented two types of user definable functions. The first can be used internally and will be resolved and optimized automatically by the interpreter whenever possible. The analytical derive operator can be used on this type of function, too.
f(x1,x2,...,xn) = <any mathematical expression using x1,x2,...,xn as function parameters>
The second is a so called external function that can neither be resolved nor optimized nor derived by the analytical input interface, but it is a means to submit more complex functions that can not be handled with the model definition language. It's syntax looks like
<<r1[n1,m1]>,<r2[n2,m2]>,...,<rn[nn,mn]>> = <name of C-function>(<var1>,<var2>,...,<varn>)The variables