functionsecondOrderToString

Transform vector of coefficients of second order polynomials to a string representation

Inputs

TypeNameDefaultDescription
Real[:,2]cfill(0.0, 0, 2)[p,p^0] coefficients osecond order polynomials: polynom(p) = p^2 + c[:,1]*p + c[:,2]
IntegersignificantDigits6Number of significant digits that are shown
Stringname"p"Independent variable name used for printing
Booleannormalizedfalse= true, the polynomials in the string are represented as p^2/c[:,2] + c[:,1]/c[:,2]*p + 1, provided c[i,2]<>0

Outputs

TypeNameDefaultDescription
Strings""
Realgain1.0If normalized=true, the product(c[i,2]) (for i, where c[i,2]<>0), otherwise gain=1.0