1266件ヒット
[1-100件を表示]
(0.072秒)
ライブラリ
- ビルトイン (630)
-
cgi
/ html (564) -
json
/ add / complex (12) - matrix (24)
-
ripper
/ lexer (36)
クラス
- Bignum (3)
- Complex (540)
- Fixnum (3)
- Matrix (24)
- NilClass (12)
- Numeric (48)
-
Ripper
:: Lexer (36) - SignalException (24)
- String (12)
モジュール
-
CGI
:: HtmlExtension (564)
キーワード
- * (12)
- ** (12)
- + (12)
- - (12)
- -@ (12)
-
/ (12) - < (12)
- <= (12)
- <=> (6)
- == (12)
- > (12)
- >= (12)
- a (24)
- abs (12)
- abs2 (12)
- angle (12)
- arg (12)
- base (12)
- between? (12)
- blockquote (24)
- caption (24)
- checkbox (24)
-
checkbox
_ group (24) - clamp (12)
- coerce (12)
- conj (12)
- conjugate (12)
- denominator (12)
- fdiv (30)
-
file
_ field (24) - finite? (9)
- form (48)
- hidden (24)
- html (24)
- i (12)
- imag (12)
- imaginary (12)
- img (24)
- infinite? (9)
- inspect (12)
- magnitude (12)
-
marshal
_ dump (12) -
multipart
_ form (48) - numerator (12)
- parse (12)
-
password
_ field (24) - phase (12)
- polar (12)
- quo (24)
-
radio
_ group (24) - rationalize (24)
- real (12)
- real? (12)
- 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件
-
Ripper
:: Lexer # lex -> [[Integer , Integer] , Symbol , String , Ripper :: Lexer :: State] (21208.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
...自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
ライブラリ内部で使用します。 Ripper.lex を使用してください。... -
Ripper
:: Lexer # lex -> [[Integer , Integer] , Symbol , String] (21108.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
...自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
ライブラリ内部で使用します。 Ripper.lex を使用してください。... -
Complex
# coerce(other) -> [Complex , Complex] (3201.0) -
other を Complex に変換して [変換後の other, self] の配列を返します。
...other を Complex に変換して [変換後の other, self] の配列を返します。
@raise TypeError 変換できないオブジェクトを指定した場合に発生します。
//emlist[例][ruby]{
Complex(1).coerce(2) # => [(2+0i), (1+0i)]
//}... -
Ripper
:: Lexer # parse -> [[Integer , Integer] , Symbol , String , Ripper :: Lexer :: State] (3117.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た だし Ripper::Lexer#lex と違い、結果をソートしません。
...自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た
だし Ripper::Lexer#lex と違い、結果をソートしません。
ライブラリ内部で使用します。... -
Complex
# *(other) -> Complex (3101.0) -
積を計算します。
...積を計算します。
@param other 自身に掛ける数
//emlist[例][ruby]{
Complex(1, 2) * 2 # => (2+4i)
Complex(1, 2) * Complex(2, 3) # => (-4+7i)
Complex(1, 2) * Rational(1, 2) # => ((1/2)+(1/1)*i)
//}... -
Complex
# **(other) -> Complex (3101.0) -
冪(べき)乗を計算します。
...冪(べき)乗を計算します。
@param other 自身を other 乗する数
//emlist[例][ruby]{
Complex('i') ** 2 # => (-1+0i)
//}... -
Complex
# +(other) -> Complex (3101.0) -
和を計算します。
...和を計算します。
@param other 自身に足す数
//emlist[例][ruby]{
Complex(1, 2) + Complex(2, 3) # => (3+5i)
//}... -
Complex
# -(other) -> Complex (3101.0) -
差を計算します。
...差を計算します。
@param other 自身から引く数
//emlist[例][ruby]{
Complex(1, 2) - Complex(2, 3) # => (-1-1i)
//}... -
Complex
# -@ -> Complex (3101.0) -
自身の符号を反転させたものを返します。
...自身の符号を反転させたものを返します。
//emlist[例][ruby]{
-Complex(1) # => (-1+0i)
-Complex(-1, 1) # => (1-1i)
//}... -
Complex
# / (other) -> Complex (3101.0) -
商を計算します。
...商を計算します。
@param other 自身を割る数
//emlist[例][ruby]{
Complex(10.0) / 3 # => (3.3333333333333335+(0/1)*i)
Complex(10) / 3 # => ((10/3)+(0/1)*i)
//}
@see Numeric#quo...