1134件ヒット
[101-200件を表示]
(0.121秒)
ライブラリ
- ビルトイン (498)
-
cgi
/ html (564) -
json
/ add / complex (12) - matrix (24)
-
ripper
/ lexer (36)
クラス
- Bignum (3)
- Complex (420)
- Fixnum (3)
- Matrix (24)
- NilClass (12)
- Numeric (36)
-
Ripper
:: Lexer (36) - SignalException (24)
- String (12)
モジュール
-
CGI
:: HtmlExtension (564)
キーワード
- * (12)
- ** (12)
- + (12)
- - (12)
-
/ (12) - < (12)
- <= (12)
- <=> (6)
- == (12)
- > (12)
- >= (12)
- a (24)
- angle (12)
- arg (12)
- base (12)
- between? (12)
- blockquote (24)
- caption (24)
- checkbox (24)
-
checkbox
_ group (24) - clamp (12)
- coerce (12)
- conjugate (12)
- denominator (12)
- fdiv (30)
-
file
_ field (24) - finite? (9)
- form (48)
- hidden (24)
- html (24)
- img (24)
- infinite? (9)
- inspect (12)
- magnitude (12)
-
multipart
_ form (48) - numerator (12)
- parse (12)
-
password
_ field (24) - phase (12)
- quo (24)
-
radio
_ group (24) - rationalize (24)
- rect (12)
- rectangular (12)
- reset (24)
-
scrolling
_ list (24) - signm (12)
- signo (12)
- submit (24)
-
text
_ field (24) - textarea (24)
-
to
_ c (48) -
to
_ f (12) -
to
_ i (12) -
to
_ json (12) -
to
_ r (12) -
to
_ s (12) - tokenize (12)
- tr (12)
- trace (12)
検索結果
先頭5件
-
CGI
:: HtmlExtension # radio _ button(attributes) -> String (9201.0) -
タイプが radio である input 要素を生成します。
...タイプが radio である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
radio_button({ "NAME" => "name", "VALUE" => "value", "ID" => "foo" })
# <INPUT TYPE="radio" NAME="name" VALUE="value" ID="foo">... -
CGI
:: HtmlExtension # text _ field(attributes) -> String (9201.0) -
タイプが text である input 要素を生成します。
...タイプが text である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
text_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="text" NAME="name" VALUE="value">... -
CGI
:: HtmlExtension # textarea(attributes) -> String (9201.0) -
textarea 要素を生成します。
...textarea 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
textarea("name", 40, 5)
# = textarea({ "NAME" => "name", "COLS" => 40, "ROWS" => 5 })... -
Complex
# numerator -> Complex (9201.0) -
分子を返します。
...分子を返します。
//emlist[例][ruby]{
Complex('1/2+2/3i').numerator # => (3+4i)
Complex(3).numerator # => (3+0i)
//}
@see Complex#denominator... -
Complex
# rationalize -> Rational (9201.0) -
自身を Rational に変換します。
...自身を Rational に変換します。
@param eps 許容する誤差。常に無視されます。
@raise RangeError 虚部が実数か、0 ではない場合に発生します。
//emlist[例][ruby]{
Complex(3).to_r # => (3/1)
Complex(3, 2).to_r # => RangeError
//}... -
Complex
# rationalize(eps) -> Rational (9201.0) -
自身を Rational に変換します。
...自身を Rational に変換します。
@param eps 許容する誤差。常に無視されます。
@raise RangeError 虚部が実数か、0 ではない場合に発生します。
//emlist[例][ruby]{
Complex(3).to_r # => (3/1)
Complex(3, 2).to_r # => RangeError
//}... -
Matrix
# tr -> Integer | Float | Rational | Complex (9201.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
Matrix
# trace -> Integer | Float | Rational | Complex (9201.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
CGI
:: HtmlExtension # caption(align = nil) -> String (9101.0) -
caption 要素を生成します。
...caption 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param align 配置を文字列で指定します。(top, bottom, left right が指定可能です)
属性をハッシュで指定することもできます......。
例:
caption("left") { "Capital Cities" }
# => <CAPTION ALIGN=\"left\">Capital Cities</CAPTION>...