るりまサーチ

最速Rubyリファレンスマニュアル検索!
1439件ヒット [1401-1439件を表示] (0.042秒)

別のキーワード

  1. bigdecimal/util to_d
  2. bigdecimal round
  3. bigdecimal div
  4. bigdecimal to_s
  5. bigdecimal mode

クラス

モジュール

キーワード

検索結果

<< < ... 13 14 15 >>

Matrix#det -> Numeric (106.0)

行列式 (determinant) の値を返します。

...りに、Rational や BigDecimal などの正確なオブジェクトを使用することを検討してください。

@raise ExceptionForMatrix::ErrDimensionMismatch 正方行列でない場合に発生します

//emlist[例][ruby]{
require 'matrix'

p Matrix[[2, 1], [-1, 2]].det #=> 5...
...p Matrix[[2.0, 1.0], [-1.0, 2.0]].det #=> 5.0
//}...

Matrix#determinant -> Numeric (106.0)

行列式 (determinant) の値を返します。

...りに、Rational や BigDecimal などの正確なオブジェクトを使用することを検討してください。

@raise ExceptionForMatrix::ErrDimensionMismatch 正方行列でない場合に発生します

//emlist[例][ruby]{
require 'matrix'

p Matrix[[2, 1], [-1, 2]].det #=> 5...
...p Matrix[[2.0, 1.0], [-1.0, 2.0]].det #=> 5.0
//}...

Matrix#rank -> Integer (106.0)

階数 (rank) を返します。

...と、精度が不足するため、誤った結果が生じる可能性があることに注意してください。
代わりに、Rational や BigDecimal などの正確なオブジェクトを使用することを検討してください。

//emlist[][ruby]{
require 'matrix'
m = Matrix[[2, 6],...

Newton.#nlsolve(f, x) -> Integer (106.0)

ニュートン法を用いて非線形方程式 f(x) = 0 の解 x を求めます。

...用いて非線形方程式 f(x) = 0 の解 x を求めます。

@param f 関数を表すオブジェクトを指定します。詳細は
bigdecimal
/newton をご覧ください。

@param x 探索を開始する点を数値の配列で指定します。解が複数ある場合、初...
<< < ... 13 14 15 >>