| |||||||||||||
KASH3 Reference Manual | |||||||||||||
| |||||||||||||
KeywordReals and Complex
DescriptionKASH3 provides the following real functions; refer to the reference manual for detailed descriptions and examples. In KASH3, complex numbers have the same precision as real numbers. This precision can be modified by calling the 'Precision' function (see example). A complex number can be designated using the function Element, which requires two real arguments (See example). Most real functions can be applied to complex numbers. Additionally, KASH3 provides the several complex functions. ExamplesPrecision(); # the default precision of the real and complex numbers
R; # the default real field
Precision(40); # set the default precision of real and complex numbers to 40
C; # the default complex field
z := 1+2*I; # a complex number,
z*z;
| |||||||||||||
Built:
Mon Nov 14 21:12:39 UTC 2005 on mackThe KANT Group |