1532件ヒット
[201-300件を表示]
(0.110秒)
ライブラリ
- ビルトイン (596)
-
cgi
/ html (576) - cmath (120)
-
json
/ add / complex (24) - matrix (24)
-
ripper
/ lexer (48) -
rubygems
/ exceptions (24) - socket (24)
クラス
モジュール
-
CGI
:: HtmlExtension (564) - CMath (120)
- Kernel (14)
-
Socket
:: Constants (12)
キーワード
- * (12)
- ** (12)
- + (12)
- - (12)
-
/ (12) - < (12)
- <= (12)
- <=> (6)
- == (12)
- > (12)
- >= (12)
- Complex (14)
- DependencyRemovalException (12)
- EndOfYAMLException (12)
- HtmlExtension (12)
-
IFF
_ SIMPLEX (24) - SignalException (12)
- a (24)
- acos (6)
- acosh (6)
- angle (12)
- arg (12)
- asin (6)
- asinh (6)
- atan (6)
- atan2 (6)
- atanh (6)
- base (12)
- between? (12)
- blockquote (24)
- caption (24)
- cbrt (6)
- checkbox (24)
-
checkbox
_ group (24) - clamp (12)
- coerce (12)
- conjugate (12)
- cos (6)
- cosh (6)
- denominator (12)
- exp (6)
- fdiv (30)
-
file
_ field (24) - finite? (9)
- form (48)
-
here
_ document (12) -
heredoc
_ identifier (12) -
heredoc
_ restore (12) - hidden (24)
- html (24)
- img (24)
- infinite? (9)
- inspect (12)
-
json
_ create (12) -
lex
_ get _ str (12) -
lex
_ getline (12) - log (12)
- log10 (6)
- log2 (6)
- magnitude (12)
-
multipart
_ form (48) - new (36)
- numerator (12)
- parse (12)
-
parse
_ string (12) -
password
_ field (24) - phase (12)
- polar (12)
- quo (24)
-
radio
_ group (24) - rationalize (24)
-
rb
_ reserved _ word (12) - rect (24)
- rectangular (24)
- reset (24)
-
scrolling
_ list (24) - signm (12)
- signo (12)
- sin (6)
- sinh (6)
- sqrt (6)
- submit (24)
- tan (6)
- tanh (6)
-
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)
- yylex (12)
検索結果
先頭5件
-
CGI
:: HtmlExtension # text _ field(attributes) -> String (9200.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 (9200.0) -
textarea 要素を生成します。
...textarea 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
textarea("name", 40, 5)
# = textarea({ "NAME" => "name", "COLS" => 40, "ROWS" => 5 })... -
Complex
# numerator -> Complex (9200.0) -
分子を返します。
...分子を返します。
//emlist[例][ruby]{
Complex('1/2+2/3i').numerator # => (3+4i)
Complex(3).numerator # => (3+0i)
//}
@see Complex#denominator... -
Complex
# rationalize -> Rational (9200.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 (9200.0) -
自身を Rational に変換します。
...自身を Rational に変換します。
@param eps 許容する誤差。常に無視されます。
@raise RangeError 虚部が実数か、0 ではない場合に発生します。
//emlist[例][ruby]{
Complex(3).to_r # => (3/1)
Complex(3, 2).to_r # => RangeError
//}... -
Complex
. json _ create(hash) -> Complex (9200.0) -
JSON のオブジェクトから Complex のオブジェクトを生成して返します。
...JSON のオブジェクトから Complex のオブジェクトを生成して返します。
@param hash 実部をキー 'r'、虚部をキー 'i' に持つハッシュを指定します。... -
Complex
. rect(r , i = 0) -> Complex (9200.0) -
実部が r、虚部が i である Complex クラスのオブジェクトを生成します。
...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 (9200.0) -
実部が r、虚部が i である Complex クラスのオブジェクトを生成します。
...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... -
Matrix
# tr -> Integer | Float | Rational | Complex (9200.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が...