るりまサーチ (Ruby 2.6.0)

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. pop n_bytes
  3. pop n_mails
  4. context prompt_n=
  5. context prompt_n

ライブラリ

クラス

検索結果

Matrix#antisymmetric? -> bool (72997.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 (18397.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], [...