るりまサーチ (Ruby 3.3)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.133秒)
トップページ > クエリ:-[x] > クエリ:r[x] > バージョン:3.3[x] > クエリ:symmetric?[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils rm_r
  5. fileutils cp_r

ライブラリ

クラス

キーワード

検索結果

Matrix#symmetric? -> bool (81904.0)

行列が対称ならば true を返します。

行列が対称ならば true を返します。

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

Matrix#antisymmetric? -> bool (45994.0)

行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば true を返します。

行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば true を返します。

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

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

Matrix[[0, -2, Complex(1, 3)], [2, 0, 5], [-Complex(1, 3), -5, 0]].antisymmetric? # => true
Matrix.empty.antisymmetric? # => true

Matrix[[1, 2, 3], [...

Matrix#skew_symmetric? -> bool (45994.0)

行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば true を返します。

行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば true を返します。

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

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

Matrix[[0, -2, Complex(1, 3)], [2, 0, 5], [-Complex(1, 3), -5, 0]].antisymmetric? # => true
Matrix.empty.antisymmetric? # => true

Matrix[[1, 2, 3], [...