D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Complex
/
Filename :
rectangular-c.ri
back
Copy
U:RDoc::AnyMethod[iI"rectangular:ETI"Complex::rectangular;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I">Returns a new \Complex object formed from the arguments, ;TI"3each of which must be an instance of Numeric, ;TI".or an instance of one of its subclasses: ;TI")\Complex, Float, Integer, Rational; ;TI"Msee {Rectangular Coordinates}[rdoc-ref:Complex@Rectangular+Coordinates]:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"-Complex.rect(3) # => (3+0i) ;TI"=Complex.rect(3, Math::PI) # => (3+3.141592653589793i) ;TI">Complex.rect(-3, -Math::PI) # => (-3-3.141592653589793i) ;T:@format0o; ; [I"8\Complex.rectangular is an alias for \Complex.rect.;T: @fileI"complex.c;T:0@omit_headings_from_table_of_contents_below0I"-Complex.rect(real, imag = 0) -> complex ;T0[ I"(p1, p2 = v2);T@FI"Complex;TcRDoc::NormalClass00