Ruby 1.9.2 リファレンスマニュアル
> ライブラリ一覧
> matrixライブラリ
> Matrixクラス
> det_e
instance method Matrix#det_e
determinant_e -> Rational | Float
det_e -> Rational | Float
-
行列式 (determinant) を返します。
ユークリッドアルゴリズムに基づいて行列式を計算します。
行列の全成分が整数(Integer)の場合は正しい値を返します。
成分にFloatがあった場合には正しい値を返さないかもしれません。