Your IP : 3.140.185.250
--- !ruby/object:RI::ClassDescription
attributes:
- !ruby/object:RI::Attribute
comment:
- !ruby/struct:SM::Flow::P
body: The imaginary part of a complex number.
name: image
rw: R
- !ruby/object:RI::Attribute
comment:
- !ruby/struct:SM::Flow::P
body: The real part of a complex number.
name: real
rw: R
class_methods:
- !ruby/object:RI::MethodSummary
name: new
- !ruby/object:RI::MethodSummary
name: new!
- !ruby/object:RI::MethodSummary
name: polar
comment:
- !ruby/struct:SM::Flow::P
body: The complex number class. See complex.rb for an overview.
constants:
- !ruby/object:RI::Constant
comment:
- !ruby/struct:SM::Flow::P
body: <tt>I</tt> is the imaginary number. It exists at point (0,1) on the complex plane.
name: I
value: Complex(0,1)
- !ruby/object:RI::Constant
comment:
name: Unify
value: "true"
full_name: Complex
includes: []
instance_methods:
- !ruby/object:RI::MethodSummary
name: "%"
- !ruby/object:RI::MethodSummary
name: "*"
- !ruby/object:RI::MethodSummary
name: "**"
- !ruby/object:RI::MethodSummary
name: +
- !ruby/object:RI::MethodSummary
name: "-"
- !ruby/object:RI::MethodSummary
name: /
- !ruby/object:RI::MethodSummary
name: <=>
- !ruby/object:RI::MethodSummary
name: ==
- !ruby/object:RI::MethodSummary
name: abs
- !ruby/object:RI::MethodSummary
name: abs2
- !ruby/object:RI::MethodSummary
name: angle
- !ruby/object:RI::MethodSummary
name: arg
- !ruby/object:RI::MethodSummary
name: coerce
- !ruby/object:RI::MethodSummary
name: conj
- !ruby/object:RI::MethodSummary
name: conjugate
- !ruby/object:RI::MethodSummary
name: denominator
- !ruby/object:RI::MethodSummary
name: hash
- !ruby/object:RI::MethodSummary
name: inspect
- !ruby/object:RI::MethodSummary
name: numerator
- !ruby/object:RI::MethodSummary
name: polar
- !ruby/object:RI::MethodSummary
name: quo
- !ruby/object:RI::MethodSummary
name: to_s
name: Complex
superclass: Numeric