1160件ヒット
[1-100件を表示]
(0.074秒)
ライブラリ
- ビルトイン (577)
-
cgi
/ html (517) -
json
/ add / complex (11) - matrix (22)
-
ripper
/ lexer (33)
クラス
- Bignum (3)
- Complex (494)
- Fixnum (3)
- Matrix (22)
- NilClass (11)
- Numeric (44)
-
Ripper
:: Lexer (33) - SignalException (22)
- String (11)
モジュール
-
CGI
:: HtmlExtension (517)
キーワード
- * (11)
- ** (11)
- + (11)
- - (11)
- -@ (11)
-
/ (11) - < (11)
- <= (11)
- <=> (5)
- == (11)
- > (11)
- >= (11)
- a (22)
- abs (11)
- abs2 (11)
- angle (11)
- arg (11)
- base (11)
- between? (11)
- blockquote (22)
- checkbox (22)
-
checkbox
_ group (22) - clamp (11)
- coerce (11)
- conj (11)
- conjugate (11)
- denominator (11)
- fdiv (28)
-
file
_ field (22) - finite? (8)
- form (44)
- hidden (22)
- html (22)
- i (11)
- imag (11)
- imaginary (11)
- img (22)
- infinite? (8)
- inspect (11)
- magnitude (11)
-
marshal
_ dump (11) -
multipart
_ form (44) - numerator (11)
- parse (11)
-
password
_ field (22) - phase (11)
- polar (11)
- quo (22)
-
radio
_ group (22) - rationalize (22)
- real (11)
- real? (11)
- rect (11)
- rectangular (11)
- reset (22)
-
scrolling
_ list (22) - signm (11)
- signo (11)
- submit (22)
-
text
_ field (22) - textarea (22)
-
to
_ c (44) -
to
_ f (11) -
to
_ i (11) -
to
_ json (11) -
to
_ r (11) -
to
_ s (11) - tokenize (11)
- tr (11)
- trace (11)
検索結果
先頭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... -
Complex
# conj -> Complex (3101.0) -
自身の共役複素数を返します。
...自身の共役複素数を返します。
//emlist[例][ruby]{
Complex(1, 2).conj # => (1-2i)
//}...