1783件ヒット
[1-100件を表示]
(0.036秒)
ライブラリ
- ビルトイン (796)
- abbrev (12)
- benchmark (12)
- bigdecimal (24)
-
bigdecimal
/ math (72) -
bigdecimal
/ newton (12) - cmath (240)
- fileutils (79)
- find (12)
- json (84)
- mathn (8)
- objspace (72)
- open3 (48)
- openssl (60)
- rubygems (48)
- syslog (12)
-
webrick
/ accesslog (24) -
webrick
/ httpstatus (84) -
webrick
/ httputils (12) -
webrick
/ utils (12) -
win32
/ registry (24) -
win32
/ resolv (12) - zlib (24)
クラス
-
Win32
:: Resolv (12)
モジュール
- Abbrev (12)
- Benchmark (12)
- BigMath (96)
- CMath (240)
- FileTest (24)
- FileUtils (79)
- Find (12)
- Gem (48)
- JSON (84)
- Kernel (364)
- Math (332)
- Newton (12)
- ObjectSpace (108)
- Open3 (48)
-
OpenSSL
:: ASN1 (48) -
OpenSSL
:: Random (12) - Process (48)
- Syslog (12)
-
WEBrick
:: AccessLog (24) -
WEBrick
:: HTTPStatus (84) -
WEBrick
:: HTTPUtils (12) -
WEBrick
:: Utils (12) -
Win32
:: Registry :: API (24) - Zlib (24)
キーワード
- CreateKey (12)
- E (12)
- Enumerated (24)
- Float (12)
- PI (12)
- Rational (12)
- SetValue (12)
- abbrev (12)
- acos (18)
- acos! (6)
- acosh (18)
- acosh! (6)
-
allocation
_ sourcefile (12) -
allocation
_ sourceline (12) - asin (18)
- asin! (6)
- asinh (18)
- asinh! (6)
-
at
_ exit (12) - atan (30)
- atan! (6)
- atan2 (18)
- atan2! (6)
- atanh (18)
- atanh! (6)
- autoload (12)
- caller (36)
-
caller
_ locations (24) - capture2 (12)
- capture2e (12)
- capture3 (12)
- catch (24)
- cbrt (18)
- cbrt! (6)
-
clear
_ paths (12) -
client
_ error? (12) -
clock
_ gettime (12) - cos (30)
- cos! (6)
- cosh (18)
- cosh! (6)
-
count
_ tdata _ objects (12) -
cp
_ lr (7) -
create
_ listeners (12) - decode (12)
-
decode
_ all (12) - deflate (12)
-
each
_ object (24) - erf (12)
- erfc (12)
- error? (12)
- escape (12)
-
escape
_ path (12) - exit (12)
- exit! (12)
- exp (30)
- exp! (6)
-
fast
_ generate (12) -
fast
_ unparse (12) - find (12)
- fork (24)
- format (24)
- frexp (12)
- gamma (12)
-
garbage
_ collect (12) - generate (12)
-
get
_ hosts _ path (12) - gsub (36)
- hypot (12)
- inflate (12)
- info? (12)
- iterator? (12)
- ldexp (12)
- lgamma (12)
- log (60)
- log! (12)
- log10 (18)
- log10! (6)
- log2 (18)
- log2! (6)
- loop (12)
- mkpath (12)
- norm (12)
- parse! (12)
- path (12)
- pipeline (12)
-
pretty
_ generate (12) -
pretty
_ unparse (12) - printf (24)
- rand (24)
- realtime (12)
-
reason
_ phrase (12) - redirect? (12)
-
remove
_ dir (12) -
remove
_ entry (12) -
remove
_ entry _ secure (12) -
remove
_ file (12) - require (12)
-
require
_ relative (12) - rsqrt (4)
-
server
_ error? (12) -
set
_ paths (12) - sin (30)
- sin! (6)
- sinh (18)
- sinh! (6)
- sprintf (12)
- sqrt (34)
- sqrt! (6)
- status? (12)
- sub (24)
- success? (12)
- tan (18)
- tan! (6)
- tanh (18)
- tanh! (6)
-
trace
_ object _ allocations (12) -
trace
_ object _ allocations _ start (12) -
trace
_ object _ allocations _ stop (12) - unparse (12)
- uptodate? (12)
- wait2 (12)
- waitall (12)
- waitpid2 (12)
- warn (4)
-
win
_ platform? (12) -
world
_ readable? (12) -
world
_ writable? (12)
検索結果
先頭5件
-
CMath
. # atan!(x) -> Float (9201.0) -
実数 x の逆正接関数の値をラジアンで返します。Math.#atan のエイリ アスです。
...Math.#atan のエイリ
アスです。
@param x 実数。
@return 返される値の範囲は [-π/2, +π/2] です。
@raise TypeError x に数値以外を指定した場合に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
@see Math.#... -
CMath
. # atan(z) -> Float | Complex (9201.0) -
z の逆正接関数の値をラジアンで返します。
z の逆正接関数の値をラジアンで返します。
@param z 数値
@raise TypeError z に数値以外を指定した場合に発生します。 -
CMath
. # atan2!(y , x) -> Float (9201.0) -
実数 y / x の逆正接関数の値を返します。Math.#atan2 のエイリアスで す。
...実数 y / x の逆正接関数の値を返します。Math.#atan2 のエイリアスで
す。
@param y 実数。
@param x 実数。
@return 返される値の範囲は [-π, π] です。
@raise TypeError 引数のどちらかに数値以外を指定した場合に発生します。
@raise R......angeError 引数のどちらかに数値以外を指定した場合に発生します。
@see Math.#atan2... -
CMath
. # atan2(y , x) -> Float | Complex (9201.0) -
y / x の逆正接関数の値を返します。
y / x の逆正接関数の値を返します。
@param y 数値
@param x 数値
@raise TypeError 引数のどちらかに数値以外を指定した場合に発生します。 -
CMath
. # atanh!(x) -> Float (9201.0) -
実数 x の逆双曲線正接関数の値を返します。Math.#atanh のエイリアスです。
...数 x の逆双曲線正接関数の値を返します。Math.#atanh のエイリアスです。
@param x -1 < x < 1 の実数。
@return 実数。
@raise TypeError x に数値以外を指定した場合に発生します。
@raise Math::DomainError x に範囲外の実数を指定した場合......に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
@see Math.#atanh... -
CMath
. # atanh(z) -> Float | Complex (9201.0) -
z の逆双曲線正接関数の値を返します。
z の逆双曲線正接関数の値を返します。
@param z 数値
@raise TypeError z に数値以外を指定した場合に発生します。 -
Math
. # atan(x) -> Float (9201.0) -
x の逆正接関数(arctangent)の値をラジアンで返します。
...rn 返される値の範囲は [-π/2, +π/2] です。
@raise TypeError x に数値以外を指定した場合に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
//emlist[例][ruby]{
Math.atan(0) # => 0.0
//}
@see Math.#atan2, Math.#tan... -
Math
. # atan2(y , x) -> Float (9201.0) -
y / x の逆正接関数(arctangent)の値をラジアンで返します。
...list[例][ruby]{
Math.atan2(1,0) #=> 1.5707963267949
Math.atan2(-1,0) #=> -1.5707963267949
//}
@raise TypeError y, x に数値以外を指定した場合に発生します。
@raise RangeError y, x に実数以外の数値を指定した場合に発生します。
@see Math.#atan, Math.#tan... -
Math
. # atanh(x) -> Float (9201.0) -
x の逆双曲線正接関数(area hyperbolic tangent)の値を返します。
...perbolic tangent)の値を返します。
=== 定義
atanh(x) = log((1+x)/(1-x)) / 2 [-1 < x < 1]
@param x -1 < x < 1 の実数
@return 実数
@raise TypeError x に数値以外を指定した場合に発生します。
@raise Math::DomainError x に範囲外の実数を指定した......場合に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
@see Math.#tanh... -
BigMath
. # atan(x , prec) -> BigDecimal (9101.0) -
x の逆正接関数を prec で指定した精度で計算します。単位はラジアンです。 x に無限大や NaN を指定した場合には NaN を返します。
...します。
@raise ArgumentError prec に 0 以下が指定された場合に発生します。
//emlist[][ruby]{
require "bigdecimal/math"
puts BigMath::atan(BigDecimal('0.5'), 10) #=> 0.463647609000806116214256237466868871528608e0
//}
=== 注意
x の絶対値を 0.9999 のような 1 に近... -
Kernel
. # require _ relative(relative _ feature) -> bool (6301.0) -
現在のファイルからの相対パスで require します。
...re します。
require File.expand_path(relative_feature, File.dirname(__FILE__))
とほぼ同じです。
Kernel.#eval などで文字列を評価した場合に、そこから
require_relative を呼出すと必ず失敗します。
@param relative_feature ファイル名の文字列です... -
JSON
. # generate(object , state = nil) -> String (6213.0) -
与えられたオブジェクトを一行の JSON 形式の文字列に変換して返します。
...は将来削除される予定です。
@param object JSON 形式の文字列に変換するオブジェクトを指定します。
@param state JSON::State または、to_hash や to_h メソッドでハッシュに変換可能なオブジェクトを指定できます。
ハッシュを......。
: :space
a string that is put after, a : or , delimiter (default: '')
: :space_before
a string that is put before a : pair delimiter (default: '')
: :object_nl
a string that is put at the end of a JSON object (default: '')
: :array_nl
a string that is put at the end of a JSON array (defa......:GeneratorError JSON::NaN, JSON::Infinity,JSON::MinusInfinity
を生成しようとした場合に発生します。
@raise JSON::CircularDatastructure 与えられたオブジェクトが循環参照を持つ場合に発生します。
//emlist[例][ruby]{
require "json"
JSON.generate([1,...