240件ヒット
[201-240件を表示]
(0.046秒)
モジュール
- CMath (240)
キーワード
- acos (6)
- acos! (6)
- acosh (6)
- acosh! (6)
- asin (6)
- asin! (6)
- asinh (6)
- asinh! (6)
- atan (6)
- atan! (6)
- atan2 (6)
- atan2! (6)
- atanh (6)
- atanh! (6)
- cbrt (6)
- cbrt! (6)
- cos (6)
- cos! (6)
- cosh (6)
- cosh! (6)
- exp (6)
- exp! (6)
- log (12)
- log! (12)
- log10 (6)
- log10! (6)
- log2 (6)
- log2! (6)
- sin (6)
- sin! (6)
- sinh (6)
- sinh! (6)
- sqrt (6)
- sqrt! (6)
- tan (6)
- tan! (6)
- tanh (6)
- tanh! (6)
検索結果
先頭5件
-
CMath
. # sinh(z) -> Float | Complex (102.0) -
z の双曲線正弦関数の値を返します。
z の双曲線正弦関数の値を返します。
@param z 数値
@raise TypeError z に数値以外を指定した場合に発生します。 -
CMath
. # sqrt!(x) -> Float (102.0) -
実数 x の平方根を返します。Math.#sqrt のエイリアスです。
...に発生します。
@raise TypeError x に数値以外を指定した場合に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
//emlist[例][ruby]{
require "cmath"
CMath.sqrt!(4.0) # => 2.0
CMath.sqrt!(9.0) # => 3.0
//}
@see Math.#sqrt... -
CMath
. # sqrt(z) -> Float | Complex (102.0) -
z の平方根を返します。
...z の平方根を返します。
@param z 数値
@raise TypeError z に数値以外を指定した場合に発生します。
//emlist[例][ruby]{
require "cmath"
CMath.sqrt(-1) # => (0+1.0i)
CMath.sqrt(1)# => 1.0
CMath.sqrt(Complex(0, 8))# => (2.0+2.0i)
//}... -
CMath
. # tan!(x) -> Float (102.0) -
実数 x の正接関数の値を返します。Math.#tan のエイリアス です。
...定した場合に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
//emlist[例][ruby]{
require "cmath"
CMath.tan!(0 * Math::PI / 4) # => 0.0
CMath.tan!(1 * Math::PI / 4) # => 1.0
CMath.tan!(4 * Math::PI / 4) # => 0.0
//}
@see Math.#tan... -
CMath
. # tan(z) -> Float | Complex (102.0) -
z の正接関数の値を返します。
z の正接関数の値を返します。
@param z 数値(ラジアンで与えます)
@raise TypeError z に数値以外を指定した場合に発生します。 -
CMath
. # tanh!(x) -> Float (102.0) -
実数 x の双曲線正接関数の値を返します。Math.#tanh のエイリアスで す。
実数 x の双曲線正接関数の値を返します。Math.#tanh のエイリアスで
す。
@param x 実数
@raise TypeError x に数値以外を指定した場合に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
@see Math.#tanh -
CMath
. # tanh(z) -> Float | Complex (102.0) -
z の双曲線正接関数の値を返します。
z の双曲線正接関数の値を返します。
@param z 数値
@raise TypeError z に数値以外を指定した場合に発生します。