33件ヒット
[1-33件を表示]
(0.271秒)
検索結果
先頭3件
-
Complex
. rect(r , i = 0) -> Complex (26114.0) -
実部が r、虚部が i である 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
. rectangular(r , i = 0) -> Complex (14114.0) -
実部が r、虚部が i である 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... -
File
. directory?(path) -> bool (14101.0) -
FileTest.#directory? と同じです。
...FileTest.#directory? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。...