るりまサーチ

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

別のキーワード

  1. _builtin to_c
  2. etc sc_2_c_dev
  3. etc sc_2_c_bind
  4. tracer display_c_call
  5. tracer display_c_call?

ライブラリ

クラス

キーワード

検索結果

Complex#imaginary -> Numeric (18202.0)

自身の虚部を返します。

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

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

@see Numeric#imag...

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

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

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


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

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

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

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

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


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

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

Complex#imag -> Numeric (3102.0)

自身の虚部を返します。

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

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

@see Numeric#imag...

絞り込み条件を変える

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