るりまサーチ

最速Rubyリファレンスマニュアル検索!
218件ヒット [1-100件を表示] (0.014秒)
トップページ > クエリ:bool[x] > クラス:Matrix[x]

別のキーワード

  1. socket bool
  2. option bool
  3. variant vt_bool
  4. win32ole vt_bool
  5. bool socket

ライブラリ

キーワード

検索結果

<< 1 2 3 > >>

Matrix#==(other) -> bool (103.0)

自分自身と other を比較し、同値であれば真(true)を返します。

自分自身と other を比較し、同値であれば真(true)を返します。

@param other 比較対象のオブジェクト

Matrix#antisymmetric? -> bool (103.0)

行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば 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], [4, 5, 6]...
..., [7, 8, 9]].antisymmetric? # => false
# 対角要素が違う
Matrix
[[1, -2, 3], [2, 0, 6], [-3, -6, 0]].antisymmetric? # => false
# 符号が違う
Matrix
[[0, 2, -3], [2, 0, 6], [-3, 6, 0]].antisymmetric? # => false
//}...

Matrix#eql?(other) -> bool (103.0)

自分自身と other を比較し、同値であれば真(true)を返します。

自分自身と other を比較し、同値であれば真(true)を返します。

@param other 比較対象のオブジェクト

Matrix#skew_symmetric? -> bool (103.0)

行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば 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], [4, 5, 6]...
..., [7, 8, 9]].antisymmetric? # => false
# 対角要素が違う
Matrix
[[1, -2, 3], [2, 0, 6], [-3, -6, 0]].antisymmetric? # => false
# 符号が違う
Matrix
[[0, 2, -3], [2, 0, 6], [-3, 6, 0]].antisymmetric? # => false
//}...

Matrix#diagonal? -> bool (102.0)

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

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

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

絞り込み条件を変える

Matrix#empty? -> bool (102.0)

行列が要素を持たないならば true を返します。

...行列が要素を持たないならば true を返します。

要素を持たないとは、行数か列数のいずれかが0であることを意味します。

@see Matrix.empty...

Matrix#hermitian? -> bool (102.0)

行列がエルミートならば true を返します。

...行列がエルミートならば true を返します。

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

Matrix#lower_triangular? -> bool (102.0)

行列が下三角行列ならば true を返します。

行列が下三角行列ならば true を返します。

Matrix#normal? -> bool (102.0)

行列が正規行列ならば true を返します。

...行列が正規行列ならば true を返します。

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

Matrix#orthogonal? -> bool (102.0)

行列が直交行列ならば true を返します。

...行列が直交行列ならば true を返します。

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

絞り込み条件を変える

<< 1 2 3 > >>