388件ヒット
[1-100件を表示]
(0.081秒)
ライブラリ
- ビルトイン (132)
- matrix (11)
-
net
/ ftp (18) - pathname (55)
- psych (22)
- rake (11)
-
rubygems
/ ext / builder (11) -
rubygems
/ ext / configure _ builder (11) -
rubygems
/ ext / ext _ conf _ builder (11) -
rubygems
/ ext / rake _ builder (11) -
rubygems
/ installer (11) -
rubygems
/ package / tar _ reader / entry (11) -
rubygems
/ source _ index (11) -
rubygems
/ version (11) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
webrick
/ httpresponse (11) -
webrick
/ httpstatus (11)
クラス
- Complex (44)
- File (11)
-
File
:: Stat (11) -
Gem
:: Ext :: Builder (11) -
Gem
:: Ext :: ConfigureBuilder (11) -
Gem
:: Ext :: ExtConfBuilder (11) -
Gem
:: Ext :: RakeBuilder (11) -
Gem
:: Installer (11) -
Gem
:: Package :: TarReader :: Entry (11) -
Gem
:: SourceIndex (11) -
Gem
:: Version (11) - Matrix (11)
-
Net
:: FTP :: MLSxEntry (18) - Numeric (11)
- Pathname (55)
-
Psych
:: Handler (11) -
Psych
:: Nodes :: Document (11) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
WEBrick
:: HTTPResponse (11)
モジュール
-
File
:: Constants (11) - FileTest (11)
- Kernel (33)
-
WEBrick
:: HTTPStatus (11)
キーワード
- Complex (33)
- DIRECT (11)
- build (33)
- children (11)
- correct? (11)
- directory (11)
- directory? (82)
-
directory
_ makable? (9) -
each
_ child (22) -
installed
_ spec _ directories (11) - new (11)
- rectangular (44)
- redirect? (11)
- redirector (11)
-
relative
_ path _ from (11) -
set
_ redirect (11) -
st
_ add _ direct (11) -
start
_ document (11) - unpack (11)
検索結果
先頭5件
-
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?...