別のキーワード
ライブラリ
- ビルトイン (324)
- benchmark (120)
- etc (36)
- fiddle (12)
- matrix (48)
- openssl (12)
- pathname (72)
-
rubygems
/ config _ file (12) - shell (18)
-
shell
/ command-processor (18) -
shell
/ filter (18) - tempfile (12)
-
webrick
/ httpauth (24) -
webrick
/ httpauth / authenticator (12) -
webrick
/ httpauth / basicauth (24) -
webrick
/ httpauth / digestauth (12) -
webrick
/ httpauth / htdigest (48) -
webrick
/ httpauth / htpasswd (36) -
webrick
/ httpauth / userdb (36)
クラス
-
Benchmark
:: Tms (48) - Complex (60)
- File (60)
-
File
:: Stat (36) -
Gem
:: ConfigFile (12) - Matrix (48)
- Numeric (60)
- Pathname (72)
- Shell (18)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (18) - Tempfile (12)
-
WEBrick
:: HTTPAuth :: BasicAuth (24) -
WEBrick
:: HTTPAuth :: DigestAuth (12) -
WEBrick
:: HTTPAuth :: Htdigest (48) -
WEBrick
:: HTTPAuth :: Htpasswd (36)
モジュール
- Benchmark (72)
- Etc (36)
- Fiddle (12)
- FileTest (36)
-
OpenSSL
:: ASN1 (12) - Process (60)
-
WEBrick
:: HTTPAuth (24) -
WEBrick
:: HTTPAuth :: Authenticator (12) -
WEBrick
:: HTTPAuth :: UserDB (36)
キーワード
-
CLOCK
_ REALTIME (12) -
CLOCK
_ REALTIME _ ALARM (12) -
CLOCK
_ REALTIME _ COARSE (12) -
CLOCK
_ REALTIME _ FAST (12) -
CLOCK
_ REALTIME _ PRECISE (12) - FORMAT (24)
-
NEWS for Ruby 2
. 5 . 0 (8) - Numeric (12)
-
REALLOC
_ N (12) -
SC
_ REALTIME _ SIGNALS (12) -
SC
_ XOPEN _ REALTIME (12) -
SC
_ XOPEN _ REALTIME _ THREADS (12) - abs (12)
- abs2 (12)
-
basic
_ auth (12) - benchmark (12)
- bigdecimal (12)
- bm (12)
- bmbm (12)
- close (12)
-
delete
_ passwd (24) - each (12)
-
executable
_ real? (66) - format (12)
-
get
_ passwd (36) - imag (12)
- imaginary (12)
- integer? (12)
- magnitude (12)
-
make
_ passwd (36) - measure (12)
- new (12)
-
proxy
_ basic _ auth (12) -
rb
_ class _ real (12) -
readable
_ real? (66) - real (48)
- real? (36)
- realdirpath (24)
- realloc (12)
-
really
_ verbose (12) - realm (24)
- realpath (36)
- realtime (12)
- rect (12)
- rectangular (12)
-
ruby
_ xrealloc (12) -
set
_ passwd (36) -
writable
_ real? (66) - 正規表現 (12)
検索結果
先頭5件
-
type* REALLOC
_ N(var , type , n) (26100.0) -
type 型のメモリ領域 var のサイズを n 個に変更する。
type 型のメモリ領域 var のサイズを n 個に変更する。 -
OpenSSL
:: ASN1 :: REAL -> Integer (18117.0) -
ASN.1 UNIVERSAL タグの、 REAL のタグ番号 9 を表す定数です。
...ASN.1 UNIVERSAL タグの、
REAL のタグ番号 9 を表す定数です。... -
Matrix
# real? -> bool (6135.0) -
行列の全要素が実(Numeric#real?)であれば true を返します。
...全要素が実(Numeric#real?)であれば true を返します。
Complexオブジェクトを要素に持つ場合は虚部が0でも偽を返します。
//emlist[例][ruby]{
require 'matrix'
Matrix[[1, 0], [0, 1]].real? # => true
Matrix[[Complex(0, 1), 0], [0, 1]].real? # => false
# 要素が......実数であっても Complex オブジェクトなら偽を返す。
Matrix[[Complex(1, 0), 0], [0, 1]].real? # => false
//}... -
Numeric
# real -> Numeric (6131.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... -
Numeric
# real? -> bool (6131.0) -
常に true を返します。(Complex またはそのサブクラスではないことを意味します。)
...eric のサブクラスは、このメソッドを適切に再定義しなければなりません。
//emlist[例][ruby]{
10.real? # => true
-10.real? # => true
0.1.real? # => true
Rational(2, 3).real? # => true
//}
@see Numeric#integer?、Complex#real?... -
Pathname
# executable _ real? -> bool (6123.0) -
FileTest.executable_real?(self.to_s) と同じです。
...FileTest.executable_real?(self.to_s) と同じです。
@see FileTest.#executable_real?... -
Pathname
# readable _ real? -> bool (6123.0) -
FileTest.readable_real?(self.to_s) と同じです。
...FileTest.readable_real?(self.to_s) と同じです。
@see FileTest.#readable_real?... -
Pathname
# writable _ real? -> bool (6123.0) -
FileTest.writable_real?(self.to_s) と同じです。
...FileTest.writable_real?(self.to_s) と同じです。
@see FileTest.#writable_real?... -
Complex
# real? -> false (6119.0) -
常に false を返します。
...常に false を返します。
//emlist[例][ruby]{
(2+3i).real? # => false
(2+0i).real? # => false
//}
@see Numeric#real?...