るりまサーチ

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

別のキーワード

  1. bigdecimal/util to_d
  2. float to_d
  3. rsa d
  4. rsa d=
  5. matrix d

キーワード

検索結果

<< 1 2 3 ... > >>

Matrix::EigenvalueDecomposition#d -> Matrix (21104.0)

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

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

Matrix::LUPDecomposition#p -> Matrix (21104.0)

LUP分解の置換行列部分を返します。

...LUP分解の置換行列部分を返します。...

Vector#independent?(*vectors) -> bool (18303.0)

self とベクトルの列 vectors が線形独立であれば true を返します。

...self とベクトルの列 vectors が線形独立であれば true を返します。

require 'matrix'
Vector.independent?(self, *vectors)

と同じです。

@param vectors 線形独立性を判定するベクトル列...

Matrix#entrywise_product(m) -> Matrix (12203.0)

アダマール積(要素ごとの積)を返します。

...ダマール積(要素ごとの積)を返します。

@raise ExceptionForMatrix::ErrDimensionMismatch 行や列の要素数が一致しない時に発生します。

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

Matrix
[[1,2], [3,4]].hadamard_product(Matrix[[1,2], [3,2]]) # => Matrix[[1, 4], [9, 8]]
//}...

Matrix#hadamard_product(m) -> Matrix (12203.0)

アダマール積(要素ごとの積)を返します。

...ダマール積(要素ごとの積)を返します。

@raise ExceptionForMatrix::ErrDimensionMismatch 行や列の要素数が一致しない時に発生します。

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

Matrix
[[1,2], [3,4]].hadamard_product(Matrix[[1,2], [3,2]]) # => Matrix[[1, 4], [9, 8]]
//}...

絞り込み条件を変える

Matrix::LUPDecomposition#det -> Numeric (12103.0)

元の行列の行列式の値を返します。 LUP 分解の結果を利用して計算します。

...元の行列の行列式の値を返します。
LUP 分解の結果を利用して計算します。

@see Matrix#determinant...

Matrix::LUPDecomposition#determinant -> Numeric (12103.0)

元の行列の行列式の値を返します。 LUP 分解の結果を利用して計算します。

...元の行列の行列式の値を返します。
LUP 分解の結果を利用して計算します。

@see Matrix#determinant...

Matrix#lup_decomposition -> Matrix::LUPDecomposition (9333.0)

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

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

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

//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...

Vector#inner_product(v) -> Float (9203.0)

ベクトル v との内積を返します。

...ベクトル v との内積を返します。

@param v 内積を求めるベクトル

@raise ExceptionForMatrix::ErrDimensionMismatch 自分自身と引数のベクト
ルの要素の数(次元)が異なっていたときに発生します。...

Matrix::LUPDecomposition#pivots -> [Integer] (9103.0)

ピボッティングを表す配列を返します。

ピボッティングを表す配列を返します。

絞り込み条件を変える

<< 1 2 3 ... > >>