JCL Help:TJclComplex.CNewRoot

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Extracts the N-th root and returns the K-th root of the extraction where K is varying from 0 to N-1 and creates a new resulting complex number object.


Pascal

 public function CNewRoot(const K: Word; const N: Word): TJclComplex;


Parameters

Parameters Description
const K: Word The number of the root to be returned.
const N: Word The value of the root to be extracted.


Return Value

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


Description

Use CNewRoot method to extract the N-th root from the value of the calling complex number object, get the K-th root of the extraction, where K varies from 0 to N-1 and get a new resulting object of TJclComplex type.


See Also

CRoot CLn CExp CPwr CIntPwr CRealPwr CSqrt TJclComplex


About

Donator

Earl F. Glynn


Notes

For changing the value of the calling object instead of creating a new resulting object use CRoot 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