JCL Help:TJclComplex.CRoot

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.


Pascal

 public function CRoot(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 CRoot returns the calling object with the changed value.


Description

Use CRoot 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 change the value of the calling object accordingly.


See Also

CNewRoot CLn CExp CPwr CIntPwr CRealPwr CSqrt TJclComplex


About

Donator

Earl F. Glynn


Notes

For creating a new resulting complex number object instead of changing the value of the current one use CNewRoot 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