U:RDoc::NormalModule[iI" CMath:EF@0o:RDoc::Markup::Document: @parts[o;;[S:RDoc::Markup::Heading: leveli: textI"DTrigonometric and transcendental functions for complex numbers.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Paragraph;[I"GCMath is a library that provides trigonometric and transcendental ;TI"Hfunctions for complex numbers. The functions in this module accept ;TI"Fintegers, floating-point numbers or complex numbers as arguments.;T@o; ;[ I"INote that the selection of functions is similar, but not identical, ;TI"Gto that in module math. The reason for having two modules is that ;TI"Hsome users aren't interested in complex numbers, and perhaps don't ;TI"Ieven know what they are. They would rather have Math.sqrt(-1) raise ;TI"/an exception than return a complex number.;T@o; ;[I"4For more information you can see Complex class.;T@S; ; i; I" Usage;T@o; ;[I"?To start using this library, simply require cmath library:;T@o:RDoc::Markup::Verbatim;[I"require "cmath";T: @format0: @fileI"lib/cmath.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[[[I" Math;To;;[;@&;0I"lib/cmath.rb;T[[I" class;T[[: public[[I" acos;F@.[I" acosh;F@.[I" asin;F@.[I" asinh;F@.[I" atan;F@.[I" atan2;F@.[I" atanh;F@.[I" cbrt;F@.[I"cos;F@.[I" cosh;F@.[I"exp;F@.[I"log;F@.[I" log10;F@.[I" log2;F@.[I"sin;F@.[I" sinh;F@.[I" sqrt;F@.[I"tan;F@.[I" tanh;F@.[:protected[[: private[[I" instance;T[[;[[;[[;[[@6@.[@8@.[@:@.[@<@.[@>@.[@@@.[@B@.[@D@.[@F@.[@H@.[@J@.[@L@.[@N@.[@P@.[@R@.[@T@.[@V@.[@X@.[@Z@.[[U:RDoc::Context::Section[i0o;;[;0;0[@&@&cRDoc::TopLevel