るりまサーチ (Ruby 2.6.0)

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

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l
  5. l

ライブラリ

キーワード

検索結果

Complex#<(other) -> bool (9610.0)

@undef

@undef

Complex#<=(other) -> bool (9610.0)

@undef

@undef

Complex#==(other) -> bool (9610.0)

数値として等しいか判定します。

...数値として等しいか判定します。

@param other 自身と比較する数値

//emlist[例][ruby]{
Complex
(2, 1) == Complex(1) # => false
Complex
(1, 0) == Complex(1) # => true
Complex
(1, 0) == 1 # => true
//}...

Complex#>(other) -> bool (9610.0)

@undef

@undef

Complex#>=(other) -> bool (9610.0)

@undef

@undef

絞り込み条件を変える

Complex#between?(min, max) -> bool (9610.0)

@undef

@undef

Complex#finite? -> bool (9610.0)

実部と虚部の両方が有限値の場合に true を、そうでない場合に false を返します。

...実部と虚部の両方が有限値の場合に true を、そうでない場合に false を返します。

//emlist[例][ruby]{
(1 + 1i).finite? # => true
(Float::INFINITY + 1i).finite? # => false
//}

@see Complex#infinite?...