complex.rb - $Release Version: 0.5 $ $Revision: 1.3 $ $Date: 1998/07/08 10:05:28 $ by Keiju ISHITSUKA(SHL Japan Inc.)
Complex numbers can be created in the following manner:
Additionally, note the following:
Complex::I (the mathematical constant i)
5.im -> 0+5i)
Math module methods are redefined to handle Complex arguments. They will work as normal with
sqrt exp cos sin tan log log10 cosh sinh tanh acos asin atan atan2 acosh asinh atanh
Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.