JCL Help:TJclComplex.CNewPwr@Float@Float@TComplexKind

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Raises the value of the current complex number object to the PwrValue power and creates a new resulting complex number object.


Pascal

 public function CNewPwr(PwrValue: TJclComplex): TJclComplex; overload;
public function CNewPwr(const X: Float; const Y: Float; const ComplexType: TComplexKind = crRectangular): TJclComplex; overload;


Parameters

Parameters Description
PwrValue: TJclComplex The complex number that is the exponent for the operation.
const X: Float The real part in the rectangular representation or radius in polar coordinates of the complex number that is the exponent for the operation.
const Y: Float The imaginary part in the rectangular representation or angle in polar coordinates of the complex number that is the exponent for the operation.
const ComplexType: TComplexKind = crRectangular Optional. Defines whether X and Y parameters are stated in rectangular representation or in polar coordinates.


Return Value

Method CNewPwr returns a newly created object of TJclComplex type that contains the value computed.


Description

Use CNewPwr method to raise the value of the current complex number object to the PwrValue power and get a new resulting object of TJclComplex type. The complex number that is the exponent for the operation is set either as an object of TJclComplex type or as a pair of its values (X;Y).


See Also

CPwr CLn CExp CIntPwr CRealPwr CRoot CSqrt TJclComplex


About

Donator

Earl F. Glynn


Notes

For changing the value of the calling object instead of creating a new resulting object use CPwr method.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page