120件ヒット
[1-100件を表示]
(0.103秒)
別のキーワード
クラス
- Complex (60)
-
RDoc
:: Options (12) -
RSS
:: Maker :: ImageBase (24) -
RSS
:: Rss :: Channel :: Image (24)
キーワード
- abs (12)
- abs2 (12)
- description (24)
- description= (24)
-
image
_ format (12) - imaginary (12)
- magnitude (12)
検索結果
先頭5件
-
Complex
# imag -> Numeric (21114.0) -
自身の虚部を返します。
...自身の虚部を返します。
//emlist[例][ruby]{
Complex(3, 2).imag # => 2
//}
@see Numeric#imag... -
Complex
# imaginary -> Numeric (9114.0) -
自身の虚部を返します。
...自身の虚部を返します。
//emlist[例][ruby]{
Complex(3, 2).imag # => 2
//}
@see Numeric#imag... -
RDoc
:: Options # image _ format -> String (9101.0) -
コマンドライン引数の --image-format オプションで指定した名前を文字列の 配列で返します。
...コマンドライン引数の --image-format オプションで指定した名前を文字列の
配列で返します。
指定しなかった場合は 'png' を返します。... -
RSS
:: Maker :: ImageBase # description (9101.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # description=() (9101.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Image # description (9101.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Image # description= (9101.0) -
@todo
@todo -
Complex
# abs -> Numeric (3007.0) -
自身の絶対値を返します。
...す。
以下の計算の結果を Float オブジェクトで返します。
sqrt(self.real ** 2 + self.imag ** 2)
//emlist[例][ruby]{
Complex(1, 2).abs # => 2.23606797749979
Complex(3, 4).abs # => 5.0
Complex('1/2', '1/2').abs # => 0.7071067811865476
//}
@see Complex#abs2... -
Complex
# abs2 -> Numeric (3007.0) -
自身の絶対値の 2 乗を返します。
...自身の絶対値の 2 乗を返します。
以下の計算の結果を返します。
self.real ** 2 + self.imag ** 2
//emlist[例][ruby]{
Complex(1, 1).abs2 # => 2
Complex(1.0, 1.0).abs2 # => 2.0
Complex('1/2', '1/2').abs2 # => (1/2)
//}
@see Complex#abs...