This function computes a trivariate fifth order polynomial. The polynomial has the form
y = a1
+ a2 x12
+ a3 x1
+ a4 x22
+ a5 x2
+ a6 x32
+ a7 x3
+ a8 x12 x22
+ a9 x1 x2
+ a10 x1 x22
+ a11 x12 x2
+ a12 x12 x32
+ a13 x1 x3
+ a14 x1 x32
+ a15 x12 x3
+ a16 x22 x32
+ a17 x2 x3
+ a18 x2 x32
+ a19 x22 x3
+ a20 x12 x22 x32
+ a21 x12 x22 x3
+ a22 x12 x2 x32
+ a23 x1 x22 x32
+ a24 x12 x2 x3
+ a25 x1 x22 x3
+ a26 x1 x2 x32
+ a27 x1 x2 x3
function polynomialtrivariate extends Modelica.Icons.Function; input Real x1 "Independent variable"; input Real x2 "Independent variable"; input Real x3 "Independent variable"; input Real a[27] "Coefficients"; output Real y "Result"; end polynomialtrivariate;