るりまサーチ

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

別のキーワード

  1. openssl g
  2. openssl g=
  3. dh g
  4. dsa g
  5. dh g=

キーワード

検索結果

<< < 1 2 3 4 ... > >>

Matrix#imag -> Matrix (6103.0)

行列の虚部を返します。

...行列の虚部を返します。

//emlist[例][ruby]{
require 'matrix'
Matrix
[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]]
# => 1+2i i 0
# 1 2 3
Matrix
[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]].imaginary
# => 2i i 0
# 0 0 0
//}...

Matrix#imaginary -> Matrix (6103.0)

行列の虚部を返します。

...行列の虚部を返します。

//emlist[例][ruby]{
require 'matrix'
Matrix
[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]]
# => 1+2i i 0
# 1 2 3
Matrix
[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]].imaginary
# => 2i i 0
# 0 0 0
//}...

Matrix#lower_triangular? -> bool (6103.0)

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

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

Matrix#orthogonal? -> bool (6103.0)

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

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

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

Matrix#regular? -> bool (6103.0)

行列が正方で正則なら true を、特異なら false を返します。

...eptionForMatrix::ErrDimensionMismatch を
発生させます。


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

a1 = [ 1, 2, 3]
a2 = [10, 15, 20]
a3 = [-1, -2, 1.5]
m = Matrix[a1, a2, a3]
p m.regular? # => true

a1 = [ 1, 2, 3]
a2 = [10, 15, 20]
a3 = [-1, -2, -3]
m = Matrix[a1, a2, a3]
p m.regular? # =...
...> false

a1 = [ 1, 2, 3]
a2 = [10, 15, 20]
a3 = [-1, -2, 1.5]
a4 = [1, 1, 1]
m = Matrix[a1, a2, a3, a4]
p m.regular? # => raise ExceptionForMatrix::ErrDimensionMismatch
//}

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

絞り込み条件を変える

Matrix#singular? -> bool (6103.0)

行列が正方で特異なら true を、正則なら false を返します。

...します。

行列が特異(singular)であるとは、正則でないことです。
行列式が0であること同値です。

正方行列でない場合には例外 ExceptionForMatrix::ErrDimensionMismatch を
発生させます。

@raise ExceptionForMatrix::ErrDimensionMismatch 行列が...

Matrix#upper_triangular? -> bool (6103.0)

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

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

Matrix::EigenvalueDecomposition#eigenvalue_matrix -> Matrix (6103.0)

固有値を対角成分に並べた行列を返します。

固有値を対角成分に並べた行列を返します。

Matrix::LUPDecomposition#singular? -> bool (6103.0)

元の行列が正方で特異なら true を、正則なら false を返します。 LUP 分解の結果を利用して判定します。

...元の行列が正方で特異なら true を、正則なら false を返します。
LUP 分解の結果を利用して判定します。

@see Matrix#singular?...
<< < 1 2 3 4 ... > >>