るりまサーチ

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

別のキーワード

  1. matrix []
  2. matrix *
  3. matrix map
  4. matrix each
  5. matrix index

キーワード

検索結果

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

Matrix::EigenvalueDecomposition#eigenvector_matrix -> Matrix (29306.0)

右固有ベクトルを横に並べた行列を返します。

右固有ベクトルを横に並べた行列を返します。

Matrix#column_count -> Integer (29203.0)

行列の列数を返します。

行列の列数を返します。

Matrix#permutation? -> bool (29203.0)

行列が置換行列ならば true を返します。

...行列が置換行列ならば true を返します。

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

Matrix#row_count -> Integer (29203.0)

行列の行数を返します。

行列の行数を返します。

Matrix#unitary? -> bool (29203.0)

行列がユニタリならば true を返します。

...行列がユニタリならば true を返します。

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

絞り込み条件を変える

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

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

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

Matrix#lup -> Matrix::LUPDecomposition (26459.0)

行列の LUP 分解を保持したオブジェクトを返します。

...の LUP 分解を保持したオブジェクトを返します。

Matrix
::LUPDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(下三角行列、上三角行列、置換行列)
を得ることができます。これを [L, U, P] と書くと、
L*U = P*s...
...します。

//emlist[例][ruby]{
require 'matrix'
a = Matrix[[1, 2], [3, 4]]
l, u, p = a.lup
l.lower_triangular? # => true
u
.upper_triangular? # => true
p.permutation? # => true
l * u == p * a # => true
a.lup.solve([2, 5]) # => Vector[(1/1), (1/2)]
//}

@see Matrix::LUPDecomposition...

Matrix#rectangular -> [Matrix, Matrix] (26419.0)

行列を実部と虚部に分解したものを返します。

...行列を実部と虚部に分解したものを返します。


//emlist[例][ruby]{
m.rect == [m.real, m.imag] # ==> true for all matrices m
//}

@see Matrix#imaginary, Matrix#real...

Matrix#conjugate -> Matrix (26323.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]].conjugate
# => 1-2i -i 0
# 1 2 3
//}...
<< < 1 2 3 4 ... > >>