るりまサーチ

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

別のキーワード

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

検索結果

<< 1 2 3 ... > >>

Complex.rect(r, i = 0) -> Complex (21213.0)

実部が r、虚部が i である Complex クラスのオブジェクトを生成します。

...Complex クラスのオブジェクトを生成します。

@param r 生成する複素数の実部。

@param i 生成する複素数の虚部。省略した場合は 0 です。

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

@see Kernel.#Complex...

Complex#rect -> [Numeric, Numeric] (21125.0)

実部と虚部を配列にして返します。

...実部と虚部を配列にして返します。

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

@see Numeric#rect...

Complex#rectangular -> [Numeric, Numeric] (12225.0)

実部と虚部を配列にして返します。

...実部と虚部を配列にして返します。

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

@see Numeric#rect...

Complex.rectangular(r, i = 0) -> Complex (12213.0)

実部が r、虚部が i である Complex クラスのオブジェクトを生成します。

...Complex クラスのオブジェクトを生成します。

@param r 生成する複素数の実部。

@param i 生成する複素数の虚部。省略した場合は 0 です。

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

@see Kernel.#Complex...

Gem::SourceIndex.installed_spec_directories -> [String] (12200.0)

gemspec ファイルがインストールされているディレクトリのリストを返します。

gemspec ファイルがインストールされているディレクトリのリストを返します。

@see Gem.#path

絞り込み条件を変える

Net::FTP::MLSxEntry#directory_makable? -> bool (12200.0)

ディレクトリを作成可能ならば true を返します。

ディレクトリを作成可能ならば true を返します。

Net::FTP#mkdir でディレクトリを作成可能かどうかを意味します。

Numeric#rectangular -> [Numeric, Numeric] (9231.0)

[self, 0] を返します。

...[self, 0] を返します。

//emlist[例][ruby]{
1.rect # => [1, 0]
-1.rect # => [-1, 0]
1.0.rect # => [1.0, 0]
-1.0.rect # => [-1.0, 0]
//}

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

@see Complex#rect...

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

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

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


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

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

File.directory?(path) -> bool (9200.0)

FileTest.#directory? と同じです。

...FileTest.#directory? と同じです。

@param path パスを表す文字列か IO オブジェクトを指定します。...

File::Stat#directory? -> bool (9200.0)

ディレクトリの時に真を返します。

...ディレクトリの時に真を返します。

//emlist[][ruby]{
p File::Stat.new($0).directory? #=> false
//}

@see FileTest.#directory?...

絞り込み条件を変える

<< 1 2 3 ... > >>