File: //usr/share/ri/2.6.0/system/CMath/cdesc-CMath.ri
U:RDoc::NormalModule[iI"
CMath:ET@0o:RDoc::Markup::Document:@parts[o;;[S:RDoc::Markup::Heading:
leveli: textI"DTrigonometric and transcendental functions for complex numbers.;To:RDoc::Markup::BlankLine o: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;T@.[I"
acosh;T@.[I" asin;T@.[I"
asinh;T@.[I" atan;T@.[I"
atan2;T@.[I"
atanh;T@.[I" cbrt;T@.[I"cos;T@.[I" cosh;T@.[I"exp;T@.[I"log;T@.[I"
log10;T@.[I" log2;T@.[I"sin;T@.[I" sinh;T@.[I" sqrt;T@.[I"tan;T@.[I" tanh;T@.[:protected[ [:private[ [I"
instance;T[[;[ [;[ [;[[@6@.[@8@.[@:@.[@<@.[@>@.[@@@.[@B@.[@D@.[@F@.[@H@.[@J@.[@L@.[@N@.[@P@.[@R@.[@T@.[@V@.[@X@.[@Z@.[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@&@&cRDoc::TopLevel