504件ヒット
[1-100件を表示]
(0.036秒)
種類
- インスタンスメソッド (456)
- 特異メソッド (48)
ライブラリ
- ビルトイン (480)
-
json
/ add / complex (24)
キーワード
- * (12)
- ** (12)
- + (12)
- - (12)
- -@ (12)
-
/ (12) - < (12)
- <= (12)
- <=> (6)
- == (12)
- > (12)
- >= (12)
- abs (12)
- abs2 (12)
- angle (12)
- arg (12)
- between? (12)
- clamp (12)
- coerce (12)
- denominator (12)
- fdiv (12)
- finite? (9)
- imag (12)
- imaginary (12)
- infinite? (9)
-
json
_ create (12) - magnitude (12)
- numerator (12)
- phase (12)
- polar (24)
- quo (12)
- rationalize (24)
- real? (12)
- rect (24)
- rectangular (24)
-
to
_ f (12) -
to
_ i (12) -
to
_ json (12) -
to
_ r (12)
検索結果
先頭5件
-
Complex
# -@ -> Complex (6101.0) -
自身の符号を反転させたものを返します。
...自身の符号を反転させたものを返します。
//emlist[例][ruby]{
-Complex(1) # => (-1+0i)
-Complex(-1, 1) # => (1-1i)
//}... -
Complex
. rect(r , i = 0) -> Complex (19.0) -
実部が r、虚部が i である Complex クラスのオブジェクトを生成します。
...ある Complex クラスのオブジェクトを生成します。
@param r 生成する複素数の実部。
@param i 生成する複素数の虚部。省略した場合は 0 です。
//emlist[例][ruby]{
Complex.rect(1) # => (1+0i)
Complex.rect(1, 2) # => (1+2i)
Complex.rectan......gular(1, 2) # => (1+2i)
//}
@see Kernel.#Complex... -
Complex
. rectangular(r , i = 0) -> Complex (19.0) -
実部が r、虚部が i である Complex クラスのオブジェクトを生成します。
...ある Complex クラスのオブジェクトを生成します。
@param r 生成する複素数の実部。
@param i 生成する複素数の虚部。省略した場合は 0 です。
//emlist[例][ruby]{
Complex.rect(1) # => (1+0i)
Complex.rect(1, 2) # => (1+2i)
Complex.rectan......gular(1, 2) # => (1+2i)
//}
@see Kernel.#Complex... -
Complex
# <(other) -> bool (17.0) -
@undef
...
@undef... -
Complex
# <=(other) -> bool (17.0) -
@undef
...
@undef... -
Complex
# >(other) -> bool (17.0) -
@undef
...
@undef... -
Complex
# >=(other) -> bool (17.0) -
@undef
...
@undef... -
Complex
# between?(min , max) -> bool (17.0) -
@undef
...
@undef... -
Complex
# clamp(range) -> object (17.0) -
@undef
...
@undef...