るりまサーチ

最速Rubyリファレンスマニュアル検索!
72件ヒット [1-72件を表示] (0.048秒)
トップページ > クエリ:@[x] > クエリ:imaginary[x]

別のキーワード

  1. matrix imaginary
  2. _builtin imaginary
  3. complex imaginary
  4. numeric imaginary
  5. imaginary

ライブラリ

クラス

キーワード

検索結果

Complex#imaginary -> Numeric (15107.0)

自身の虚部を返します。

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

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

@
see Numeric#imag...

Numeric#imaginary -> 0 (15107.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] (12.0)

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

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


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

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

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

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

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


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

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

Complex#imag -> Numeric (7.0)

自身の虚部を返します。

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

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

@
see Numeric#imag...

絞り込み条件を変える

Numeric#imag -> 0 (7.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...