るりまサーチ

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

別のキーワード

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

ライブラリ

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

Ripper::Lexer#lex -> [[Integer, Integer], Symbol, String, Ripper::Lexer::State] (21340.0)

自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。

...自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。

ライブラリ内部で使用します。 Ripper.lex を使用してください。...

Ripper::Lexer#lex -> [[Integer, Integer], Symbol, String] (21240.0)

自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。

...自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。

ライブラリ内部で使用します。 Ripper.lex を使用してください。...

Complex#-(other) -> Complex (21225.0)

差を計算します。

...差を計算します。

@param other 自身から引く数

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

Complex#-@ -> Complex (9231.0)

自身の符号を反転させたものを返します。

...自身の符号を反転させたものを返します。

//emlist[例][ruby]{
-
Complex(1) # => (-1+0i)
-
Complex(-1, 1) # => (1-1i)
//}...

Complex#coerce(other) -> [Complex, Complex] (3313.0)

other を Complex に変換して [変換後の other, self] の配列を返します。

...other を Complex に変換して [変換後の other, self] の配列を返します。

@raise TypeError 変換できないオブジェクトを指定した場合に発生します。

//emlist[例][ruby]{
Complex(1).coerce(2) # => [(2+0i), (1+0i)]
//}...

絞り込み条件を変える

Ripper::Lexer#parse -> [[Integer, Integer], Symbol, String, Ripper::Lexer::State] (3249.0)

自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た だし Ripper::Lexer#lex と違い、結果をソートしません。

...自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た
だし Ripper::Lexer#lex と違い、結果をソートしません。

ライブラリ内部で使用します。...

Complex#conj -> Complex (3219.0)

自身の共役複素数を返します。

...自身の共役複素数を返します。

//emlist[例][ruby]{
Complex(1, 2).conj # => (1-2i)
//}...

Complex#conjugate -> Complex (3219.0)

自身の共役複素数を返します。

...自身の共役複素数を返します。

//emlist[例][ruby]{
Complex(1, 2).conj # => (1-2i)
//}...

Complex#*(other) -> Complex (3213.0)

積を計算します。

...積を計算します。

@param other 自身に掛ける数

//emlist[例][ruby]{
Complex(1, 2) * 2 # => (2+4i)
Complex(1, 2) * Complex(2, 3) # => (-4+7i)
Complex(1, 2) * Rational(1, 2) # => ((1/2)+(1/1)*i)
//}...

Complex#**(other) -> Complex (3213.0)

冪(べき)乗を計算します。

...冪(べき)乗を計算します。

@param other 自身を other 乗する数

//emlist[例][ruby]{
Complex('i') ** 2 # => (-1+0i)
//}...

絞り込み条件を変える

<< 1 2 3 ... > >>