Calculating polynomials in OF source
I noticed that the class member Foam:: polynomial::value() seems to calculate a polynomial by actually calculating the powers:
Code:
167 forAll(coeffs_, i) Code:
168 // avoid costly pow() in calculation |
All times are GMT -4. The time now is 15:02. |