るりまサーチ

最速Rubyリファレンスマニュアル検索!
72件ヒット [1-72件を表示] (0.074秒)

別のキーワード

  1. rbconfig ruby
  2. fiddle ruby_free
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

ライブラリ

クラス

キーワード

検索結果

Numeric#imaginary -> 0 (15232.0)

常に 0 を返します。

...常に 0 を返します。

//emlist[例][ruby]{
12.imag # => 0
-
12.imag # => 0
1.2.imag # => 0
-
1.2.imag # => 0
//}

Numeric のサブクラスは、このメソッドを適切に再定義しなければなりません。

@
see Numeric#real、Complex#imag...

Complex#imaginary -> Numeric (15220.0)

自身の虚部を返します。

...自身の虚部を返します。

//emlist[例][ruby]{
Complex(3, 2).imag # => 2
//}

@
see Numeric#imag...

Numeric#imag -> 0 (132.0)

常に 0 を返します。

...常に 0 を返します。

//emlist[例][ruby]{
12.imag # => 0
-
12.imag # => 0
1.2.imag # => 0
-
1.2.imag # => 0
//}

Numeric のサブクラスは、このメソッドを適切に再定義しなければなりません。

@
see Numeric#real、Complex#imag...

Matrix#rect -> [Matrix, Matrix] (125.0)

行列を実部と虚部に分解したものを返します。

...行列を実部と虚部に分解したものを返します。


//emlist[例][ruby]{
m.rect == [m.real, m.imag] # ==> true for all matrices m
//}

@
see Matrix#imaginary, Matrix#real...

Matrix#rectangular -> [Matrix, Matrix] (125.0)

行列を実部と虚部に分解したものを返します。

...行列を実部と虚部に分解したものを返します。


//emlist[例][ruby]{
m.rect == [m.real, m.imag] # ==> true for all matrices m
//}

@
see Matrix#imaginary, Matrix#real...

絞り込み条件を変える

Complex#imag -> Numeric (120.0)

自身の虚部を返します。

...自身の虚部を返します。

//emlist[例][ruby]{
Complex(3, 2).imag # => 2
//}

@
see Numeric#imag...