D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Complex
/
Filename :
abs-i.ri
back
Copy
U:RDoc::AnyMethod[iI"abs:ETI"Complex#abs;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"8Returns the absolute value (magnitude) for +self+; ;TI"Asee {polar coordinates}[rdoc-ref:Complex@Polar+Coordinates]:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"'Complex.polar(-1, 0).abs # => 1.0 ;T:@format0o; ; [I" If +self+ was created with ;TI"]{rectangular coordinates}[rdoc-ref:Complex@Rectangular+Coordinates], the returned value ;TI"%is computed, and may be inexact:;T@o;; [I"RComplex.rectangular(1, 1).abs # => 1.4142135623730951 # The square root of 2.;T; 0: @fileI"complex.c;T:0@omit_headings_from_table_of_contents_below0I"abs -> float ;T0[[I"magnitude;T@ I"();T@FI"Complex;TcRDoc::NormalClass00