るりまサーチ

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

別のキーワード

  1. numeric step
  2. _builtin numeric
  3. numeric -@
  4. numeric %
  5. numeric i

ライブラリ

キーワード

検索結果

Matrix#det -> Numeric (110.0)

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

...オブジェクトを使用することを検討してください。

@
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 (110.0)

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

...オブジェクトを使用することを検討してください。

@
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#/(m) -> Matrix (22.0)

self に行列 m の逆行列を右から乗じた行列を返します。

...じた行列を返します。

@
param m 逆行列を右から乗算する行列。可逆行列でselfと乗算可能な行列を指定します。

@
raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します
@
raise ExceptionForMatrix::ErrNotRegular m が正則で...

Matrix#/(other) -> Matrix (17.0)

self の各成分を数 other で割った行列を返します。

...self の各成分を数 other で割った行列を返します。

@
param other self の各成分を割る Numeric オブジェクトを指定します。...

Matrix#*(m) -> Matrix | Vector (16.0)

self に行列またはベクトル m を右から乗じた行列を返します。

...を返します。

m が Vector オブジェクトなら返り値も Vector オブジェクトになります。

@
param m 右からの乗算が定義可能な行列やベクトルを指定します。

@
raise ExceptionForMatrix::ErrDimensionMismatch 次元が合わない場合に発生します...

絞り込み条件を変える

Matrix#*(other) -> Matrix (16.0)

self の各成分に数 other を掛けた行列を返します。

...self の各成分に数 other を掛けた行列を返します。

@
param other self の各成分に掛ける Numeric オブジェクトを指定します。...