29件ヒット
[1-29件を表示]
(0.128秒)
クラス
モジュール
検索結果
先頭5件
-
Numeric
# imag -> 0 (63397.0) -
常に 0 を返します。
常に 0 を返します。
//emlist[例][ruby]{
12.imag # => 0
-12.imag # => 0
1.2.imag # => 0
-1.2.imag # => 0
//}
Numeric のサブクラスは、このメソッドを適切に再定義しなければなりません。
@see Numeric#real、Complex#imag -
Complex
# imag -> Numeric (54643.0) -
自身の虚部を返します。
自身の虚部を返します。
//emlist[例][ruby]{
Complex(3, 2).imag # => 2
//}
@see Numeric#imag -
CGI
:: HtmlExtension # image _ button(attributes) -> String (36904.0) -
タイプが image の input 要素を生成します。
タイプが image の input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
image_button({ "SRC" => "url", "ALT" => "string" })
# <INPUT TYPE="image" SRC="url" ALT="string"> -
CGI
:: HtmlExtension # image _ button(src = "" , name = nil , alt = nil) -> String (36604.0) -
タイプが image の input 要素を生成します。
タイプが image の input 要素を生成します。
@param src src 属性の値を指定します。
@param name name 属性の値を指定します。
@param alt alt 属性の値を指定します。
例:
image_button("url")
# <INPUT TYPE="image" SRC="url">
image_button("url", "name", "string")
# <INPUT TYPE="image" SRC="url" NAME="name" ALT="string"> -
RSS
:: ImageFaviconModel :: ImageFavicon # about (36304.0) -
@todo
@todo -
RSS
:: ImageFaviconModel :: ImageFavicon # about= (36304.0) -
@todo
@todo -
RSS
:: ImageItemModel :: ImageItem # about (36304.0) -
@todo
@todo -
RSS
:: ImageItemModel :: ImageItem # about= (36304.0) -
@todo
@todo -
RSS
:: ImageItemModel :: ImageItem # resource (36304.0) -
@todo
@todo -
RSS
:: ImageItemModel :: ImageItem # resource= (36304.0) -
@todo
@todo -
Numeric
# imaginary -> 0 (27397.0) -
常に 0 を返します。
常に 0 を返します。
//emlist[例][ruby]{
12.imag # => 0
-12.imag # => 0
1.2.imag # => 0
-1.2.imag # => 0
//}
Numeric のサブクラスは、このメソッドを適切に再定義しなければなりません。
@see Numeric#real、Complex#imag -
RSS
:: Maker :: ImageBase # url (27304.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # url=() (27304.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: Image # resource (27304.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: Image # resource= (27304.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: ImageFavicon # about (27304.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: ImageFavicon # about= (27304.0) -
@todo
@todo -
RSS
:: RDF :: Image # about (27304.0) -
@todo
@todo -
RSS
:: RDF :: Image # about= (27304.0) -
@todo
@todo -
RSS
:: RDF :: Image # url (27304.0) -
@todo
@todo -
RSS
:: RDF :: Image # url= (27304.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Image # url (27304.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Image # url= (27304.0) -
@todo
@todo -
Complex
# imaginary -> Numeric (18643.0) -
自身の虚部を返します。
自身の虚部を返します。
//emlist[例][ruby]{
Complex(3, 2).imag # => 2
//}
@see Numeric#imag -
Complex
# magnitude -> Numeric (9322.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 -
Matrix
# rectangular -> [Matrix , Matrix] (9322.0) -
行列を実部と虚部に分解したものを返します。
行列を実部と虚部に分解したものを返します。
//emlist[例][ruby]{
m.rect == [m.real, m.imag] # ==> true for all matrices m
//}
@see Matrix#imaginary, Matrix#real -
Numeric
# real -> Numeric (9322.0) -
自身を返します。
自身を返します。
Numeric のサブクラスは、このメソッドを適切に再定義しなければなりません。
//emlist[例][ruby]{
10.real # => 10
-10.real # => -10
0.1.real # => 0.1
Rational(2, 3).real # => (2/3)
//}
@see Numeric#imag、Complex#real -
Complex
# abs -> Numeric (322.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 (322.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