This function is related to Math.polyRoots, but modified for polynomes of the form
product(1 + p*T[k]), k in 1:nIt determines first the root vector
r[k] = -1/T[k], k in 1:n and herefrom T. The time constants are sorted in descending order.
A boolean variable Tisreal indicates whether all time constants are real or not.
See also polyCoef
function polyTime extends Icons.Function; input Real[:] a "coefficients of polynome"; output SI.Angle[size(a, 1)] T "time constant"; output Boolean Tisreal "true if all time constants real"; end polyTime;
Generated at 2026-03-31T18:29:59Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos