D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Complex
/
Filename :
abs2-i.ri
back
Copy
U:RDoc::AnyMethod[iI" abs2:ETI"Complex#abs2;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"BReturns square of 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(2, 2).abs2 # => 4.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"CComplex.rectangular(1.0/3, 1.0/3).abs2 # => 0.2222222222222222;T; 0: @fileI"complex.c;T:0@omit_headings_from_table_of_contents_below0I"abs2 -> float ;T0[ I"();T@FI"Complex;TcRDoc::NormalClass00