Summary
Power function.
Unit
Math387
Declaration
Function Power(const A, X: TCplx): TCplx;
Result
Base to any power. Here both base and exponent can be complex values. Use this version if you want to compute a power to the negative exponent in general case.
Declaration
Function Power(Base, Exponent: TSample): TSample;
Result
Base to any power.
IntPower is faster, if Exponent is an integer. Real valued power can handle only positive Exponent and Base.
IntPower can also handle negative exponent and/or negative base. To compute a power to the non-integer negative exponent and base in general case, use the complex version of the function.
Declaration
Function Power(A: TSample; const X: TCplx): TCplx;
Result
Base to any power. Here base is real and exponent is complex.
Declaration
Function Power(const A: TCplx; X: TSample): TCplx;
Result
Base to any power. Here base is complex and exponent is real.
| Copyright 2008 Dew Research |
http://www.dewresearch.com