D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Complex
/
Filename :
imaginary-i.ri
back
Copy
U:RDoc::AnyMethod[iI"imaginary:ETI"Complex#imaginary;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I",Returns the imaginary value for +self+:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"%Complex.rect(7).imag # => 0 ;TI"&Complex.rect(9, -4).imag # => -4 ;T:@format0o; ; [I" If +self+ was created with ;TI"Q{polar coordinates}[rdoc-ref:Complex@Polar+Coordinates], the returned value ;TI"%is computed, and may be inexact:;T@o;; [I"RComplex.polar(1, Math::PI/4).imag # => 0.7071067811865476 # Square root of 2.;T; 0: @fileI"complex.c;T:0@omit_headings_from_table_of_contents_below0I"imag -> numeric ;T0[[I" imag;T@ I"();T@FI"Complex;TcRDoc::NormalClass00