|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.mklab.nfc.matrix.AbstractGrid<M>
org.mklab.nfc.matrix.AbstractFundamentalMatrix<M>
org.mklab.nfc.matrix.AbstractMatrix<M>
org.mklab.nfc.matrix.BaseMatrix<NumericalMatrix<E>,E>
org.mklab.nfc.matrix.NumericalMatrix<DoubleComplexNumber>
org.mklab.nfc.matrix.DoubleComplexMatrix
public class DoubleComplexMatrix
倍精度(double)型の複素数DoubleComplexNumber
を成分とする行列を表すクラスです。
コンストラクタの概要 | |
---|---|
DoubleComplexMatrix()
新しく生成された DoubleComplexMatrix のオブジェクトを初期化します。 |
|
DoubleComplexMatrix(double[][] realPart,
double[][] imaginaryPart)
realPart を実部、imaginaryPart を虚部とする複素行列を生成します。 |
|
DoubleComplexMatrix(double[] realPart,
double[] imaginaryPart)
realPart を実部、imaginaryPart を虚部とする行ベクトルを生成します。 |
|
DoubleComplexMatrix(DoubleMatrix realPart)
コンストラクター |
|
DoubleComplexMatrix(DoubleMatrix realPart,
DoubleMatrix imaginaryPart)
realPart を実部、imaginaryPart を虚部とする複素行列を生成します。 |
|
DoubleComplexMatrix(int rowSize,
int columnSize)
rowSize *columnSize の複素数行列を生成します。 |
|
DoubleComplexMatrix(int rowSize,
int columnSize,
double[][] realPart,
double[][] imaginaryPart)
realPart を実部、imaginaryPart を虚部とするrowSize
code>* |
|
DoubleComplexMatrix(int rowSize,
int columnSize,
Scalar<?>[][] elements)
elements で与えられた成分をもつrowSize *columnSize の複素数行列を生成します。 |
|
DoubleComplexMatrix(IntMatrix realPart)
コンストラクター |
|
DoubleComplexMatrix(Scalar<?>[] elements)
elements で与えられた行ベクトルを生成します。 |
|
DoubleComplexMatrix(Scalar<?>[][] elements)
elements で与えられた成分を持つ複素数行列を生成します。 |
メソッドの概要 | |
---|---|
DoubleNumber |
conditionNumber()
条件数(2-ノルム)を返します。 |
EigenSolution<NumericalMatrix<?>> |
eigenDecompose()
固有値を対角成分とする対角行列D、固有値に対応する固有ベクトルを横方向に並べた行列Xを返します。 |
EigenSolution<NumericalMatrix<?>> |
eigenDecompose(DoubleComplexMatrix b)
一般化固有値を対角成分とする対角行列 D と対応する一般化固有ベクトルを列とする行列 X を成分とする配列を返します。 |
EigenSolution<NumericalMatrix<?>> |
eigenDecompose(DoubleMatrix b)
一般化固有値を対角成分とする対角行列 D と対応する一般化固有ベクトルを列とする行列 X を成分とする配列を返します。 |
EigenSolution<NumericalMatrix<?>> |
eigenDecompose(NumericalMatrixOperator<?> b)
一般化固有値を対角成分とする対角行列 D と対応する一般化固有ベクトルを列とする行列 X を返します。 |
DoubleComplexMatrix |
eigenValue()
固有値を成分とする列ベクトルを返します。 |
DoubleComplexMatrix |
eigenValue(DoubleComplexMatrix b)
一般化固有値からなる列ベクトルを返します。 |
DoubleComplexMatrix |
eigenValue(DoubleMatrix b)
一般化固有値からなる列ベクトルを返します。 |
DoubleComplexMatrix |
eigenValue(NumericalMatrixOperator<?> b)
一般化固有値からなる列ベクトルを返します。 |
DoubleComplexMatrix |
eigenVector()
(右)固有ベクトルを列とする行列を返します。 |
NumericalMatrix<DoubleComplexNumber> |
eigenVector(DoubleComplexMatrix b)
一般化固有ベクトルを返します。 |
NumericalMatrix<DoubleComplexNumber> |
eigenVector(DoubleMatrix b)
一般化固有ベクトルを返します。 |
NumericalMatrix<DoubleComplexNumber> |
eigenVector(NumericalMatrixOperator<?> b)
一般化固有ベクトルを返します。 |
DoubleComplexMatrix |
fft(int dataCount)
dataSize 点まで基底が 2 の高速フーリエ変換をします。 |
DoubleComplexMatrix |
fftRowWise(int dataCount)
行毎に dataSize 点まで,基底が 2 の高速フーリエ変換を計算します。 |
protected String |
getGridClassName()
出力するクラスの名前を返します。 |
int |
hashCode()
Override hashCode. |
HessenbergDecomposition<NumericalMatrix<DoubleComplexNumber>> |
hessenbergDecompose()
ヘッセンベルク分解を返します。 |
DoubleComplexMatrix |
ifft(int dataCount)
dataSize 点まで基底が2の逆高速フーリエ変換をします。 |
DoubleComplexMatrix |
ifftRowWise(int dataCount)
行毎に dataSize 点まで,基底が 2 の逆高速フーリエ変換を計算します。 |
boolean |
isFullRank(double tolerance)
フルランクであるか判定します。 |
boolean |
isFullRank(NumericalScalar<?> tolerance)
フルランクであるか判定します。 |
DoubleComplexMatrix |
kernel(double tolerance)
カーネル(零空間)を張るベクトルからなる行列を返します。 |
DoubleComplexMatrix |
kernel(NumericalScalar<?> tolerance)
カーネル(零空間)を張るベクトルからなる行列を返します。 |
DoubleNumber |
maxSingularValue()
最大特異値を返します。 |
DoubleNumber |
minSingularValue()
最小特異値を返します。 |
NumericalScalar<?> |
norm(NormType type)
norm( NormType.FROBENIUS )でフロベニウスノルム、 norm(
NormType.INFINITY )で無限大ノルム、 norm(
NormType.ONE )で1-ノルムを、 norm(NormType.TWO )で最大特異値を返します。 |
static DoubleComplexMatrix |
ones(Grid matrix)
行列 matrix と同サイズの全成分1の複素行列を生成します。 |
static DoubleComplexMatrix |
ones(int size)
size *size の全成分1の複素行列を生成します。 |
static DoubleComplexMatrix |
ones(int rowSize,
int columnSize)
rowSize *columnSize の全成分1の複素行列を生成します。 |
static DoubleComplexMatrix |
powerElementWise(DoubleComplexNumber scalar,
Matrix matrix)
複素数の累乗(行列成分毎)を成分とする行列を生成します。 |
static DoubleComplexMatrix |
powerElementWise(double scalar,
DoubleComplexMatrix matrix)
実数の成分毎の累乗を成分とする行列を生成します。 |
static DoubleComplexMatrix |
powerElementWise(int scalar,
DoubleComplexMatrix matrix)
整数の成分毎の累乗を成分とする行列を生成します。 |
void |
printElements(Writer output,
int maxColumnSize)
ライターに成分を出力します。 |
DoubleComplexMatrix |
pseudoInverse(double tolerance)
擬似逆行列を返します。 |
DoubleComplexMatrix |
pseudoInverse(NumericalScalar<?> tolerance)
擬似逆行列を返します。 |
QRDecomposition<NumericalMatrix<DoubleComplexNumber>> |
qrDecompose()
QR分解を返します。 |
QRDecomposition<NumericalMatrix<DoubleComplexNumber>> |
qrDecomposeWithPermutation()
並べ替え付きQR分解を返します。 |
QZDecomposition<NumericalMatrixOperator<?>> |
qzDecompose(DoubleComplexMatrix b)
QZ分解の実行結果を返します。 |
QZDecomposition<NumericalMatrixOperator<?>> |
qzDecompose(DoubleMatrix b)
QZ分解の実行結果を返します。 |
QZDecomposition<NumericalMatrixOperator<?>> |
qzDecompose(NumericalMatrixOperator<?> b)
QZ分解を返します。 |
int |
rank(double tolerance)
ランク(階数)( tolerance より大きい特異値の数)を返します。 |
int |
rank(NumericalScalar<?> tolerance)
ランク(階数)( tolerance より大きい特異値の数)を返します。 |
static DoubleComplexMatrix |
readMatFormat(int rowSize,
int columnSize,
StreamTokenizer st)
MatxMatrix.readMatFormat(String) 用の中間メソッドです。 |
static DoubleComplexMatrix |
readMxFormat(InputStream input,
MxDataHead head)
MatxMatrix.readMxFormat(InputStream)
から呼ばれる中間メソッドです。 |
SchurDecomposition<NumericalMatrix<DoubleComplexNumber>> |
schurDecompose()
Schur分解を返します。 |
DoubleMatrix |
singularValue()
特異値を成分とする列ベクトルを返します。 |
SingularValueDecomposition<NumericalMatrix<DoubleComplexNumber>> |
singularValueDecompose()
特異値分解で得られる各行列を返します。 |
String |
toMmString()
MM形式の文字列を生成します。 |
String |
toMmString(String format)
MM形式の文字列を生成します。 |
static DoubleComplexMatrix |
uniformRandom(int rowSize,
int columnSize)
一様分布の乱数を成分とする複素行列を生成します。 |
static DoubleComplexMatrix |
uniformRandom(int rowSize,
int columnSize,
long seed)
一様乱数の種を seed で指定し, その種によって生成される乱数成分をもつ
rowSize *columnSize の複素行列を生成します。 |
static DoubleComplexMatrix |
unit(Grid matrix)
行列 matrix と同サイズの単位複素行列を生成します。 |
static DoubleComplexMatrix |
unit(int size)
size *size の単位複素行列を生成します。 |
static DoubleComplexMatrix |
unit(int rowSize,
int columnSize)
rowSize *columnSize の単位複素行列を生成します。 |
void |
writeMatFormat(OutputStream output)
データをMATフォーマットで出力ストリームに出力します。 |
void |
writeMatFormat(String fileName)
データをMATフォーマットで指定したファイルに保存します。 |
void |
writeMmFormat(String fileName,
String name)
MMファイル形式で行列データをファイルに出力します。 |
void |
writeMmFormat(Writer output,
String name,
boolean withNewLine)
MMフォーマット行列データをライターに出力します。 |
void |
writeMxFormat(OutputStream output,
String name)
データをMX形式で出力ストリームへ出力します。 |
void |
writeMxFormat(String fileName,
String name)
データをMX形式でファイルへ出力します。 |
クラス org.mklab.nfc.matrix.AbstractMatrix から継承されたメソッド |
---|
add, covariance, createOnes, createOnes, createOnes, createUnit, createUnit, createUnit, createZero, createZero, createZero, divide, divideElementWise, isUnit, leftDivide, leftDivide, leftDivide, leftDivide, leftDivideElementWise, multiply, multiplyElementWise, power, shiftLeft, shiftUp, subtract, transformToSameClass |
クラス java.lang.Object から継承されたメソッド |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
インタフェース org.mklab.nfc.matrix.Grid から継承されたメソッド |
---|
clone, count, exchangeColumn, exchangeRow, getColumnSize, getElementAlignment, getElementFormat, getPrintingElementsString, getPrintingString, getRowSize, hasSameColumnSize, hasSameRowSize, isEmpty, isSameSize, isSquare, isZero, length, print, print, print, printElements, removeColumnVector, removeColumnVectors, removeColumnVectors, removeRowVector, removeRowVectors, removeRowVectors, setElementAlignment, setElementFormat |
インタフェース org.mklab.nfc.matrix.MatrixElementOperator から継承されたメソッド |
---|
copy, copy, determinant, getElement, getElement, mean, product, setElement, setElement, setElement, setElement, setElement, setElement, sum, trace, variance |
コンストラクタの詳細 |
---|
public DoubleComplexMatrix()
DoubleComplexMatrix
のオブジェクトを初期化します。
0*0の複素行列を生成します。
public DoubleComplexMatrix(int rowSize, int columnSize)
rowSize
*columnSize
の複素数行列を生成します。
rowSize
- 行の数columnSize
- 列の数public DoubleComplexMatrix(Scalar<?>[] elements)
elements
で与えられた行ベクトルを生成します。
elements
- 複素数の配列public DoubleComplexMatrix(Scalar<?>[][] elements)
elements
で与えられた成分を持つ複素数行列を生成します。
elements
- 成分を含む配列public DoubleComplexMatrix(int rowSize, int columnSize, Scalar<?>[][] elements)
elements
で与えられた成分をもつrowSize
*columnSize
の複素数行列を生成します。
rowSize
- 行の数columnSize
- 列の数elements
- 成分を含む配列public DoubleComplexMatrix(DoubleMatrix realPart, DoubleMatrix imaginaryPart)
realPart
を実部、imaginaryPart
を虚部とする複素行列を生成します。
realPart
- 実部行列imaginaryPart
- 虚部行列public DoubleComplexMatrix(IntMatrix realPart)
realPart
- 整数行列public DoubleComplexMatrix(DoubleMatrix realPart)
realPart
- 実数行列public DoubleComplexMatrix(double[][] realPart, double[][] imaginaryPart)
realPart
を実部、imaginaryPart
を虚部とする複素行列を生成します。
realPart
- 実部行列imaginaryPart
- 虚部行列public DoubleComplexMatrix(int rowSize, int columnSize, double[][] realPart, double[][] imaginaryPart)
realPart
を実部、imaginaryPart
を虚部とするrowSize
code>*columnSize
の複素行列を生成します。
- パラメータ:
rowSize
- 行の数columnSize
- 列の数realPart
- 実部行列imaginaryPart
- 虚部行列
public DoubleComplexMatrix(double[] realPart, double[] imaginaryPart)
realPart
を実部、imaginaryPart
を虚部とする行ベクトルを生成します。
realPart
- 実部ベクトルimaginaryPart
- 虚部ベクトルメソッドの詳細 |
---|
public int hashCode()
BaseMatrix
の記述:
BaseMatrix<NumericalMatrix<DoubleComplexNumber>,DoubleComplexNumber>
内の hashCode
BaseMatrix.hashCode()
public void printElements(Writer output, int maxColumnSize)
Grid
の記述:
Grid
内の printElements
BaseMatrix<NumericalMatrix<DoubleComplexNumber>,DoubleComplexNumber>
内の printElements
output
- ライターmaxColumnSize
- 1行の出力する列の最大数Grid.printElements(java.io.Writer, int)
protected String getGridClassName()
AbstractGrid
の記述:
AbstractGrid<NumericalMatrix<DoubleComplexNumber>>
内の getGridClassName
AbstractGrid.getGridClassName()
public void writeMatFormat(String fileName) throws IOException
fileName
- ファイル名
IOException
- ファイルに出力できない場合public void writeMatFormat(OutputStream output) throws IOException
output
- 出力ストリーム
IOException
- 入出力エラーが発生した場合public static DoubleComplexMatrix readMatFormat(int rowSize, int columnSize, StreamTokenizer st) throws IOException
MatxMatrix.readMatFormat(String)
用の中間メソッドです。
rowSize
- 行の数columnSize
- 列の数st
- matファイルから読み込んだ StreamTokenizer
IOException
- 入出力エラーが発生した場合public void writeMxFormat(OutputStream output, String name) throws IOException
MatxObject
の記述:
MatxObject
内の writeMxFormat
output
- 出力ストリームname
- データの名前
IOException
- 出力ストリームに出力できない場合MatxObject.writeMxFormat(java.io.OutputStream, java.lang.String)
public void writeMxFormat(String fileName, String name) throws IOException
MatxObject
の記述:
MatxObject
内の writeMxFormat
fileName
- ファイル名name
- データの名前
IOException
- ファイルに出力できない場合MatxObject.writeMxFormat(java.lang.String, java.lang.String)
public static DoubleComplexMatrix readMxFormat(InputStream input, MxDataHead head) throws IOException
MatxMatrix.readMxFormat(InputStream)
から呼ばれる中間メソッドです。
このメソッドを直接使わず
の形でMatrix
A = Matrix.MatxMatrix.readMxFormat(String)
Matrix
の
MatxMatrix.readMxFormat(String)
を使用して下さい。
input
- 入力ストリームhead
- ヘッダー
IOException
- 入力ストリームから読み込めない場合public String toMmString()
MatxObject
の記述:
MatxObject
内の toMmString
MatxObject.toMmString()
public String toMmString(String format)
MatxObject
の記述:
MatxObject
内の toMmString
format
- 出力フォーマット
MatxObject.toMmString(java.lang.String)
public void writeMmFormat(String fileName, String name) throws IOException
MatxObject
の記述:
MatxObject
内の writeMmFormat
fileName
- ファイル名name
- 名前
IOException
- ファイルに出力できない場合MatxObject.writeMmFormat(java.lang.String,
java.lang.String)
public void writeMmFormat(Writer output, String name, boolean withNewLine) throws IOException
MatxObject
の記述:
MatxObject
内の writeMmFormat
output
- ライターname
- 名前withNewLine
- セミコロンと改行コードを出力するならばtrue、そうでなければfalse
IOException
- ライターに出力できない場合MatxObject.writeMmFormat(java.io.Writer,
java.lang.String, boolean)
public static DoubleComplexMatrix unit(int size)
size
*size
の単位複素行列を生成します。
size
- 次数
size
*size
の単位複素行列public static DoubleComplexMatrix unit(int rowSize, int columnSize)
rowSize
*columnSize
の単位複素行列を生成します。
rowSize
- 行の数columnSize
- 列の数
public static DoubleComplexMatrix unit(Grid matrix)
matrix
と同サイズの単位複素行列を生成します。
matrix
- 行列
matrix
と同サイズの単位複素行列public static DoubleComplexMatrix ones(int size)
size
*size
の全成分1の複素行列を生成します。
size
- サイズ指定
size
*size
の全成分1の複素行列public static DoubleComplexMatrix ones(int rowSize, int columnSize)
rowSize
*columnSize
の全成分1の複素行列を生成します。
rowSize
- 行の数columnSize
- 列の数
rowSize
*columnSize
の全成分1の行列public static DoubleComplexMatrix ones(Grid matrix)
matrix
と同サイズの全成分1の複素行列を生成します。
matrix
- 行列
public static DoubleComplexMatrix uniformRandom(int rowSize, int columnSize)
rowSize
- 行の数columnSize
- 列の数
public static DoubleComplexMatrix uniformRandom(int rowSize, int columnSize, long seed)
seed
で指定し, その種によって生成される乱数成分をもつ
rowSize
*columnSize
の複素行列を生成します。
rowSize
- 行の数columnSize
- 列の数seed
- 一様乱数の種
public static DoubleComplexMatrix powerElementWise(DoubleComplexNumber scalar, Matrix matrix)
scalar
- 複素数matrix
- 累乗の指数を成分とする行列
public static DoubleComplexMatrix powerElementWise(int scalar, DoubleComplexMatrix matrix)
scalar
- 累乗の対象となる整数matrix
- 累乗の指数を成分とする行列
public static DoubleComplexMatrix powerElementWise(double scalar, DoubleComplexMatrix matrix)
scalar
- 累乗の対象となる実数matrix
- 累乗の指数を成分とする行列
public DoubleComplexMatrix eigenValue()
NumericalMatrixOperator
の記述:固有値は、実部の降順に並べられます。
NumericalMatrixOperator<DoubleComplexNumber>
内の eigenValue
NumericalMatrix<DoubleComplexNumber>
内の eigenValue
NumericalMatrixOperator.eigenValue()
public DoubleComplexMatrix eigenVector()
NumericalMatrixOperator
の記述:固有ベクトルはノルムが1.0となるよう正規化されます。 固有ベクトルは、固有値の実部の降順に並べられます。固有ベクトルは、固有値に対応して並べられます。
NumericalMatrixOperator<DoubleComplexNumber>
内の eigenVector
NumericalMatrix<DoubleComplexNumber>
内の eigenVector
NumericalMatrixOperator.eigenVector()
public EigenSolution<NumericalMatrix<?>> eigenDecompose()
NumericalMatrixOperator
の記述:これらの行列の間には、
A * X = X * Dの関係が成り立ちます。固有ベクトルはノルムが1.0となるよう正規化されます。 固有値は実部の降順に並べられます。固有ベクトルは、固有値に対応して並べられます。
NumericalMatrixOperator<DoubleComplexNumber>
内の eigenDecompose
NumericalMatrix<DoubleComplexNumber>
内の eigenDecompose
Matrix
の配列NumericalMatrixOperator.eigenDecompose()
public DoubleComplexMatrix eigenValue(NumericalMatrixOperator<?> b)
NumericalMatrixOperator
の記述:固有値は、実部の降順に並べられます。
NumericalMatrixOperator<DoubleComplexNumber>
内の eigenValue
NumericalMatrix<DoubleComplexNumber>
内の eigenValue
b
- 一般化固有値を求める対となる行列
NumericalMatrixOperator.eigenValue(org.mklab.nfc.matrix.NumericalMatrixOperator)
public DoubleComplexMatrix eigenValue(DoubleComplexMatrix b)
b
- 一般化固有値を求める対となる行列
NumericalMatrixOperator.eigenValue(org.mklab.nfc.matrix.NumericalMatrixOperator)
public DoubleComplexMatrix eigenValue(DoubleMatrix b)
b
- 一般化固有値を求める対となる行列
NumericalMatrixOperator.eigenValue(org.mklab.nfc.matrix.NumericalMatrixOperator)
public NumericalMatrix<DoubleComplexNumber> eigenVector(NumericalMatrixOperator<?> b)
NumericalMatrixOperator
の記述:
NumericalMatrixOperator<DoubleComplexNumber>
内の eigenVector
NumericalMatrix<DoubleComplexNumber>
内の eigenVector
b
- 一般化固有ベクトルを求める対となる行列
NumericalMatrixOperator.eigenVector(org.mklab.nfc.matrix.NumericalMatrixOperator)
public NumericalMatrix<DoubleComplexNumber> eigenVector(DoubleComplexMatrix b)
b
- 一般化固有ベクトルを求める対となる行列
NumericalMatrixOperator.eigenVector(org.mklab.nfc.matrix.NumericalMatrixOperator)
public NumericalMatrix<DoubleComplexNumber> eigenVector(DoubleMatrix b)
b
- 一般化固有ベクトルを求める対となる行列
NumericalMatrixOperator.eigenVector(org.mklab.nfc.matrix.NumericalMatrixOperator)
public EigenSolution<NumericalMatrix<?>> eigenDecompose(NumericalMatrixOperator<?> b)
NumericalMatrixOperator
の記述:これらの行列の間には、
A * X = X * Dの関係が成り立ちます。固有ベクトルはノルムが1.0となるよう正規化されます。 固有値は、実部の降順に並べられます。固有ベクトルは、固有値に対応して並べられます。
NumericalMatrixOperator<DoubleComplexNumber>
内の eigenDecompose
NumericalMatrix<DoubleComplexNumber>
内の eigenDecompose
b
- 一般化固有分解を求める対となる行列
Matrix
の配列NumericalMatrixOperator.eigenDecompose(org.mklab.nfc.matrix.NumericalMatrixOperator)
public EigenSolution<NumericalMatrix<?>> eigenDecompose(DoubleComplexMatrix b)
b
- 一般化固有分解を求める対となる行列
Matrix
の配列public EigenSolution<NumericalMatrix<?>> eigenDecompose(DoubleMatrix b)
b
- 一般化固有分解を求める対となる行列
Matrix
の配列public QRDecomposition<NumericalMatrix<DoubleComplexNumber>> qrDecompose()
NumericalMatrixOperator
の記述:行列Aを直交行列(ユニタリー行列)Qと上三角行列Rの積に分解します。これらの行列の間には、
A = Q * R
Q# * Q = Iの関係が成り立ちます。
NumericalMatrixOperator<DoubleComplexNumber>
内の qrDecompose
NumericalMatrix<DoubleComplexNumber>
内の qrDecompose
NumericalMatrix.qrDecompose()
public QRDecomposition<NumericalMatrix<DoubleComplexNumber>> qrDecomposeWithPermutation()
NumericalMatrixOperator
の記述:行列Aを置換行列 P、直交行列(ユニタリー行列)Q、上三角行列Rの積に分解します。これらの行列の間には、
A * P = Q * R
Q# * Q = Iの関係が成り立ちます。上三角行列 R の対角成分は、減少する順に並べられます。
NumericalMatrixOperator<DoubleComplexNumber>
内の qrDecomposeWithPermutation
NumericalMatrix<DoubleComplexNumber>
内の qrDecomposeWithPermutation
NumericalMatrixOperator.qrDecomposeWithPermutation()
public QZDecomposition<NumericalMatrixOperator<?>> qzDecompose(NumericalMatrixOperator<?> b)
NumericalMatrixOperator
の記述:行列Aと行列Bを上三角行列 AA, BB、左変換のための 行列 Q、右変換のための行列Zの積に分解します。 これらの行列の間には、
A = Q * AA * Z#
B = Q * BB * Z#
Q# * Q = I
Z# * Z = Iの関係が成り立ちます。
NumericalMatrixOperator<DoubleComplexNumber>
内の qzDecompose
NumericalMatrix<DoubleComplexNumber>
内の qzDecompose
b
- QZ分解をする対となる行列
NumericalMatrix.qzDecompose(org.mklab.nfc.matrix.NumericalMatrixOperator)
public QZDecomposition<NumericalMatrixOperator<?>> qzDecompose(DoubleComplexMatrix b)
b
- QZ分解をする対となる行列
public QZDecomposition<NumericalMatrixOperator<?>> qzDecompose(DoubleMatrix b)
b
- QZ分解をする対となる行列
public SchurDecomposition<NumericalMatrix<DoubleComplexNumber>> schurDecompose()
NumericalMatrixOperator
の記述:行列をAを直交行列(ユニタリ行列)U、Schur行列 Tの積に分解します。 Schur行列Tは対角成分に行列の実固有値を持っています。 これらの行列の間には、
A = U * T * U#
U# * U = Iの関係が成り立ちます。
NumericalMatrixOperator<DoubleComplexNumber>
内の schurDecompose
NumericalMatrix<DoubleComplexNumber>
内の schurDecompose
NumericalMatrixOperator.schurDecompose()
public DoubleComplexMatrix kernel(double tolerance)
NumericalMatrixOperator
の記述:tolerance
より小さい特異値をゼロと見なします。
NumericalMatrixOperator<DoubleComplexNumber>
内の kernel
NumericalMatrix<DoubleComplexNumber>
内の kernel
tolerance
- 許容誤差
NumericalMatrixOperator.kernel(double)
public DoubleComplexMatrix kernel(NumericalScalar<?> tolerance)
NumericalMatrixOperator
の記述:tolerance
より小さい特異値をゼロと見なします。
NumericalMatrixOperator<DoubleComplexNumber>
内の kernel
NumericalMatrix<DoubleComplexNumber>
内の kernel
tolerance
- 許容誤差
NumericalMatrix.kernel(org.mklab.nfc.scalar.NumericalScalar)
public HessenbergDecomposition<NumericalMatrix<DoubleComplexNumber>> hessenbergDecompose()
NumericalMatrixOperator
の記述:行列Aを直交行列(ユニタリ行列)Q、 ヘッセンベルグ行列 H の積に分解します。 これらの行列の間には、
A = Q * H * Q#
Q# * Q = Iの関係が成り立ちます。
NumericalMatrixOperator<DoubleComplexNumber>
内の hessenbergDecompose
NumericalMatrix<DoubleComplexNumber>
内の hessenbergDecompose
NumericalMatrixOperator.hessenbergDecompose()
public DoubleComplexMatrix pseudoInverse(double tolerance)
NumericalMatrixOperator
の記述:tolerance
より小さい A の特異値をゼロとみなし、行列 A のランクを決定し、 擬似逆行列を求めます。
NumericalMatrixOperator<DoubleComplexNumber>
内の pseudoInverse
NumericalMatrix<DoubleComplexNumber>
内の pseudoInverse
tolerance
- 許容誤差
NumericalMatrixOperator.pseudoInverse(double)
public DoubleComplexMatrix pseudoInverse(NumericalScalar<?> tolerance)
NumericalMatrixOperator
の記述:tolerance
より小さい A の特異値をゼロとみなし、行列 A のランクを決定し、 擬似逆行列を求めます。
NumericalMatrixOperator<DoubleComplexNumber>
内の pseudoInverse
NumericalMatrix<DoubleComplexNumber>
内の pseudoInverse
tolerance
- 許容誤差
NumericalMatrix.pseudoInverse(org.mklab.nfc.scalar.NumericalScalar)
public int rank(double tolerance)
NumericalMatrixOperator
の記述:tolerance
より大きい特異値の数)を返します。
NumericalMatrixOperator<DoubleComplexNumber>
内の rank
NumericalMatrix<DoubleComplexNumber>
内の rank
tolerance
- 許容誤差
NumericalMatrixOperator.rank(double)
public int rank(NumericalScalar<?> tolerance)
NumericalMatrixOperator
の記述:tolerance
より大きい特異値の数)を返します。
NumericalMatrixOperator<DoubleComplexNumber>
内の rank
NumericalMatrix<DoubleComplexNumber>
内の rank
tolerance
- 許容誤差
NumericalMatrix.rank(org.mklab.nfc.scalar.NumericalScalar)
public boolean isFullRank(double tolerance)
NumericalMatrixOperator
の記述:
NumericalMatrixOperator<DoubleComplexNumber>
内の isFullRank
NumericalMatrix<DoubleComplexNumber>
内の isFullRank
tolerance
- 許容誤差
NumericalMatrixOperator.isFullRank(double)
public boolean isFullRank(NumericalScalar<?> tolerance)
NumericalMatrixOperator
の記述:
NumericalMatrixOperator<DoubleComplexNumber>
内の isFullRank
NumericalMatrix<DoubleComplexNumber>
内の isFullRank
tolerance
- 許容誤差
NumericalMatrix.isFullRank(org.mklab.nfc.scalar.NumericalScalar)
public SingularValueDecomposition<NumericalMatrix<DoubleComplexNumber>> singularValueDecompose()
NumericalMatrixOperator
の記述:自身と同じ大きさで、負でない実数(特異値) を対角成分にもつ行列を Dとすると、
A = U * D * V#を満たす直交行列(ユニタリ 行列) U と V を求めます。
NumericalMatrixOperator<DoubleComplexNumber>
内の singularValueDecompose
NumericalMatrix<DoubleComplexNumber>
内の singularValueDecompose
NumericalMatrixOperator.singularValueDecompose()
public DoubleMatrix singularValue()
NumericalMatrixOperator
の記述:
NumericalMatrixOperator<DoubleComplexNumber>
内の singularValue
NumericalMatrix<DoubleComplexNumber>
内の singularValue
NumericalMatrixOperator.singularValue()
public DoubleNumber maxSingularValue()
NumericalMatrixOperator
の記述:
NumericalMatrixOperator<DoubleComplexNumber>
内の maxSingularValue
NumericalMatrix<DoubleComplexNumber>
内の maxSingularValue
NumericalMatrixOperator.maxSingularValue()
public DoubleNumber minSingularValue()
NumericalMatrixOperator
の記述:
NumericalMatrixOperator<DoubleComplexNumber>
内の minSingularValue
NumericalMatrix<DoubleComplexNumber>
内の minSingularValue
NumericalMatrixOperator.minSingularValue()
public DoubleNumber conditionNumber()
NumericalMatrixOperator
の記述:行列の2-ノルムに関する条件数を求めます。条件数は、 最大特異値と最小特異値の比で与えられ、1 以上です。
NumericalMatrixOperator<DoubleComplexNumber>
内の conditionNumber
NumericalMatrix<DoubleComplexNumber>
内の conditionNumber
NumericalMatrixOperator.conditionNumber()
public DoubleComplexMatrix fft(int dataCount)
NumericalMatrixOperator
の記述:dataSize
点まで基底が 2 の高速フーリエ変換をします。
自身 の長さがdataSize
より短いとき、ゼロが後ろに付け加えられ、 自身
の長さがdataSize
より長いとき、dataSize
番目以降が切り捨てられます。
NumericalMatrixOperator<DoubleComplexNumber>
内の fft
NumericalMatrix<DoubleComplexNumber>
内の fft
dataCount
- データの個数
NumericalMatrixOperator.fft(int)
public DoubleComplexMatrix fftRowWise(int dataCount)
NumericalMatrixOperator
の記述:dataSize
点まで,基底が 2 の高速フーリエ変換を計算します。
dataSize
は2のべき乗でなければならない。
NumericalMatrixOperator<DoubleComplexNumber>
内の fftRowWise
NumericalMatrix<DoubleComplexNumber>
内の fftRowWise
dataCount
- データの個数
NumericalMatrixOperator.fftRowWise(int)
public DoubleComplexMatrix ifft(int dataCount)
NumericalMatrixOperator
の記述:dataSize
点まで基底が2の逆高速フーリエ変換をします。
自身の長さがdataSize
より短いとき、ゼロが後ろに付け加えられ、 自身
の長さがdataSize
より長いとき、dataSize
番目以降が切り捨てられます。
NumericalMatrixOperator<DoubleComplexNumber>
内の ifft
NumericalMatrix<DoubleComplexNumber>
内の ifft
dataCount
- データの個数
NumericalMatrixOperator.ifft(int)
public DoubleComplexMatrix ifftRowWise(int dataCount)
NumericalMatrixOperator
の記述:dataSize
点まで,基底が 2 の逆高速フーリエ変換を計算します。
dataSize
は2のべき乗でなければならない。
NumericalMatrixOperator<DoubleComplexNumber>
内の ifftRowWise
NumericalMatrix<DoubleComplexNumber>
内の ifftRowWise
dataCount
- 変換するデータの数
NumericalMatrixOperator.ifftRowWise(int)
public NumericalScalar<?> norm(NormType type)
NumericalMatrixOperator
の記述:NormType.FROBENIUS
)でフロベニウスノルム、 norm(
NormType.INFINITY
)で無限大ノルム、 norm(
NormType.ONE
)で1-ノルムを、 norm(NormType.TWO
)で最大特異値を返します。
NumericalMatrixOperator<DoubleComplexNumber>
内の norm
NumericalMatrix<DoubleComplexNumber>
内の norm
type
- ノルムの種類を指定
NumericalMatrixOperator.norm(org.mklab.nfc.matrix.NormType)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |