|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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<M,E>
M - 行列の型E - 成分の型public class BaseMatrix<M extends BaseMatrix<M,E>,E extends Scalar<E>>
Scalarを成分とする行列を表わすクラスです。
| コンストラクタの概要 | |
|---|---|
BaseMatrix()
0*0の行列を生成します。 |
|
BaseMatrix(E[] elements)
elementsで与えられた成分をもつ行ベクトルを生成します。 |
|
BaseMatrix(E[][] elements)
elementsで与えられた成分をもつ行列を生成します。 |
|
BaseMatrix(int rowSize,
int columnSize)
新しく生成された MatrixObjectオブジェクトを初期化します。 |
|
BaseMatrix(int rowSize,
int columnSize,
Scalar<?>[][] elements)
elementsで与えられた成分をもつrowSize*columnSizeの行列を生成します。 |
|
| メソッドの概要 | ||
|---|---|---|
BaseMatrix<?,?> |
add(BaseMatrix<?,?> value)
行列 valueとの和を求めます。 |
|
BaseMatrix<?,?> |
add(TransformableMatrix<?> value)
valueとの和を返します。 |
|
M |
addElementWise(double value)
成分毎に実数を加えます。 |
|
BaseMatrix<?,?> |
addElementWise(int value)
成分毎に整数を加えます。 |
|
BaseMatrix<?,?> |
addElementWise(Scalar<?> scalar)
成分毎にスカラーを加えます。 |
|
BaseMatrix<?,?> |
appendDown(BaseMatrix<?,?> value)
行列 valueを下側に連結した行列を生成します。 |
|
BaseMatrix<?,?> |
appendDown(TransformableMatrix<?> value)
下側に行列 valueを付けた行列を生成します。 |
|
BaseMatrix<?,?> |
appendRight(BaseMatrix<?,?> value)
valueを右側に連結した行列を生成します。 |
|
BaseMatrix<?,?> |
appendRight(TransformableMatrix<?> value)
右側に valueを付けた行列を生成します。 |
|
M |
ceilElementWise()
大きい整数に丸めます。 |
|
M |
clone()
Object#clone() |
|
BooleanMatrix |
compareElementWise(String operator,
BaseMatrix<?,?> opponent)
行列 opponentの各成分と成分毎にoperatorで指定された演算子で比較し,
それぞれの結果を成分とするBooleanMatrixを生成します。 |
|
BooleanMatrix |
compareElementWise(String operator,
double value)
各成分と valueをoperatorで指定された演算子で比較し,
BooleanMatrixで返します。 |
|
BooleanMatrix |
compareElementWise(String operator,
DoubleMatrix opponent)
行列 opponentの各成分と成分毎にoperatorで指定された演算子で比較し,
それぞれの結果を成分とするBooleanMatrixを生成します。 |
|
BooleanMatrix |
compareElementWise(String operator,
int value)
各成分と valueをoperatorで指定された演算子で比較し,
BooleanMatrixで返します。 |
|
BooleanMatrix |
compareElementWise(String operator,
IntMatrix opponent)
行列 opponentの各成分と成分毎にoperatorで指定された演算子で比較し,
それぞれの結果を成分とするBooleanMatrixを生成します。 |
|
BooleanMatrix |
compareElementWise(String operator,
Matrix opponent)
opponentと成分毎にoperatorで指定された演算子で比較した結果を
BooleanMatrixで返します。 |
|
BooleanMatrix |
compareElementWise(String operator,
Scalar<?> value)
各成分と valueをoperatorで指定された演算子で比較し,
BooleanMatrixで返します。 |
|
M |
conjugate()
共役複素行列を返します。 |
|
M |
conjugateTranspose()
各成分の共役複素数の転置行列を返します。 |
|
void |
copy(BaseMatrix<?,?> source)
各成分に行列 source各成分をコピーします。 |
|
void |
copy(DoubleMatrix source)
行列 sourceの成分をコピーします。 |
|
void |
copy(IntMatrix source)
行列 sourceの成分をコピーします。 |
|
void |
copy(Matrix source)
sourceの成分をコピーします。 |
|
BaseMatrix<?,?> |
covariance(BaseMatrix<?,?> opponent)
ベクトル opponentとの共分散行列を返します。 |
|
BaseMatrix<?,?> |
covariance(TransformableMatrix<?> value)
opponentとの共分散行列を返します。 |
|
M |
createOnes(int rowSize,
int columnSize)
rowSize*columnSizeの全成分が1である行列を生成します。 |
|
M |
createUnit(int rowSize,
int columnSize)
rowSize*columnSizeの単位行列を生成します。 |
|
M |
createZero(int rowSize,
int columnSize)
rowSize*columnSizeの零行列を生成します。 |
|
M |
cumulativeProduct()
各要の累積積からなる行列を返します。 |
|
M |
cumulativeProductColumnWise()
列毎の累積積行列を返します。 |
|
M |
cumulativeProductRowWise()
行毎の累積積行列を返します。 |
|
M |
cumulativeSum()
各要の累積和からなる行列を返します。 |
|
M |
cumulativeSumColumnWise()
列毎の累積和行列を返します。 |
|
M |
cumulativeSumRowWise()
行毎の累積和行列を返します。 |
|
E |
determinant()
行列式を返します。 |
|
static
|
diagonal(E[] diagonalElements)
対角行列を生成します。 |
|
M |
diagonalToVector()
対角成分をからなる列ベクトルを生成します。 |
|
BaseMatrix<?,?> |
divide(BaseMatrix<?,?> value)
行列 valueとの商を求めます。 |
|
BaseMatrix<?,?> |
divide(double value)
各成分と実数valueの商( this/value)を返します。 |
|
BaseMatrix<?,?> |
divide(int value)
各成分と整数valueの商( this/value)を返します。 |
|
BaseMatrix<?,?> |
divide(Scalar<?> value)
各成分とスカラーの商からなる行列を返します。 |
|
BaseMatrix<?,?> |
divide(TransformableMatrix<?> value)
行列 valueの逆行列との積(this*value -1 )を返します。 |
|
BaseMatrix<?,?> |
divideElementWise(BaseMatrix<?,?> value)
行列 valueとの成分毎の商を求めます。 |
|
BaseMatrix<?,?> |
divideElementWise(TransformableMatrix<?> value)
valueとの成分毎の商を成分にもつ行列を返します。 |
|
boolean |
equals(BaseMatrix<?,?> opponent,
double tolerance)
行列 opponentと全ての成分の値が等しい(差の絶対値が許容誤差以下である)か判定します。 |
|
boolean |
equals(Matrix opponent,
double tolerance)
行列 opponentと値が許容誤差以内で等しいか判定します。 |
|
boolean |
equals(Object opponent)
|
|
void |
exchangeColumn(int column1,
int column2)
column1列とcolumn2列を入れ替えます。 |
|
void |
exchangeRow(int row1,
int row2)
row1行とrow2行を入れ替えます。 |
|
M |
fixElementWise()
ゼロ方向の整数に丸めます。 |
|
M |
floorElementWise()
小さい整数に丸めます。 |
|
E |
getElement(int index)
成分を行毎に数え indexで指定した成分を返します。 |
|
E |
getElement(int row,
int column)
row行column列の成分を返します。 |
|
protected E[][] |
getElements()
全ての成分の2次元配列を返します。 |
|
Matrix |
getImaginaryPart()
虚部行列を返します。 |
|
Matrix |
getRealPart()
実部行列を返します。 |
|
M |
getSubMatrix(int rowMin,
int rowMax,
int columnMin,
int columnMax)
部分行列 this(rowMinimum:rowMaximum,columnMinimum:columnMaximum)を生成します。 |
|
M |
getSubMatrix(int rowMin,
int rowMax,
IntMatrix columnIndex)
rowMinimum行からrowMaximum行目で、columnIndex
で指定された列を成分とする部分行列を生成します。 |
|
M |
getSubMatrix(IntMatrix rowIndex,
int columnMin,
int columnMax)
columnMinimum列からcolumnMaximum列まで、
rowIndexで指定された行を成分とする部分行列を生成します。 |
|
M |
getSubMatrix(IntMatrix rowIndex,
IntMatrix columnIndex)
rowIndexで指定された行で、columnIndex
で指定された列を成分とする部分行列を生成します。 |
|
M |
getSubVector(IntMatrix index)
行毎に数え indexで指定した成分を成分とする部分行列を生成します。 |
|
int |
hashCode()
Override hashCode. |
|
M |
inverse()
逆行列( this -1 )を返します。 |
|
M |
inverse(double tolerance,
boolean stopIfSingular)
逆行列( this -1 )を返します。 |
|
BaseMatrix<?,?> |
inverseElementWise()
成分毎の逆数からなる行列を返します。 |
|
boolean |
isComplex()
複素成分をもつか判定します。 |
|
BooleanMatrix |
isFiniteElementWise()
各成分の有限性の真偽を成分にもつ行列を返します。 |
|
BooleanMatrix |
isInfiniteElementWise()
各成分の無限性の真偽を成分にもつ行列を返します。 |
|
BooleanMatrix |
isNanElementWise()
各成分の非数性の真偽を成分にもつ行列を返します。 |
|
boolean |
isReal()
実成分のみをもつか(複素成分をもたないか)判定します。 |
|
boolean |
isTransformableFrom(Matrix value)
引数で与えられた型から、この型へ変換可能か判定します。 |
|
boolean |
isTransformableTo(Matrix value)
この型から引数で与えられた型へ変換可能か判定します。 |
|
boolean |
isUnit(double tolerance)
単位行列であるか判定します。 |
|
boolean |
isZero()
零行列(全ての成分がデフォルトの初期値)であるか判定します。 |
|
boolean |
isZero(double tolerance)
零行列であるか判定します。 |
|
BaseMatrix<?,?> |
leftDivide(BaseMatrix<?,?> value)
行列 valueとの左商を求めます。 |
|
BaseMatrix<?,?> |
leftDivide(TransformableMatrix<?> value)
逆行列と行列 valueの積(this -1
*value)を返します。 |
|
BaseMatrix<?,?> |
leftDivideElementWise(BaseMatrix<?,?> value)
行列 valueとの成分毎の左商(this*value)を求めます。 |
|
BaseMatrix<?,?> |
leftDivideElementWise(TransformableMatrix<?> value)
valueとの成分毎の左からの商を成分にもつ行列を返します。 |
|
E |
mean()
全ての成分の平均値を返します。 |
|
M |
meanColumnWise()
各成分列毎の平均値行ベクトルを返します。 |
|
M |
meanRowWise()
各成分行毎の平均値列ベクトルを返します。 |
|
BaseMatrix<?,?> |
multiply(BaseMatrix<?,?> value)
行列 valueとの積を求めます。 |
|
M |
multiply(double value)
各成分と実数 valueの積を(this*value)を返します。 |
|
M |
multiply(int value)
各成分と整数 valueの積を(this*value)を返します。 |
|
BaseMatrix<?,?> |
multiply(Scalar<?> value)
各成分とスカラー valueの積を返します。 |
|
BaseMatrix<?,?> |
multiply(TransformableMatrix<?> value)
行列 valueとの積(this*value)を返します。 |
|
BaseMatrix<?,?> |
multiplyElementWise(BaseMatrix<?,?> value)
行列 valueとの成分毎の積を求めます。 |
|
BaseMatrix<?,?> |
multiplyElementWise(TransformableMatrix<?> value)
valueとの成分毎の積を成分にもつ行列を返します。 |
|
M |
powerElementWise(int num)
成分毎に累乗します。 |
|
M |
powerElementWise(IntMatrix matrix)
成分毎に累乗します。 |
|
void |
printElements(Writer output)
ライターに成分を出力します。 |
|
void |
printElements(Writer output,
int maxColumnSize)
ライターに成分を出力します。 |
|
E |
product()
全ての成分積を返します。 |
|
M |
productColumnWise()
列毎に掛けた行ベクトルを返します。 |
|
M |
productRowWise()
行毎に掛けた列ベクトルを返します。 |
|
void |
removeColumnVectors(int columnMin,
int columnMax)
columnMin列からcolumnMax列までを削除します。 |
|
void |
removeColumnVectors(IntMatrix columnIndex)
columnIndexで指定された列を削除します。 |
|
void |
removeRowVectors(int rowMin,
int rowMax)
rowMin行からrowMax行までを削除します。 |
|
void |
removeRowVectors(IntMatrix rowIndex)
rowIndexで指定された行を削除します。 |
|
M |
reshape(int newRowSize,
int newColumnSize)
サイズを newRowSize*newColumnSizeに変更した行列を生成します。 |
|
M |
resize(int newRowSize,
int newColumnSize)
newRowSize*newColumnSizeにサイズ変更します。 |
|
M |
roundElementWise()
最も近い整数に丸めます。 |
|
M |
roundToZeroElementWise(double tolerance)
絶対値が小さい成分を0に丸めます。 |
|
void |
setElement(int index,
double value)
成分を行毎に数え indexで指定した位置にvalueを代入します。 |
|
void |
setElement(int index,
int value)
成分を行毎に数え indexで指定した位置にvalueを代入します。 |
|
void |
setElement(int row,
int column,
double value)
指定した成分に value |
|
void |
setElement(int row,
int column,
int value)
指定した成分に valueを代入します。 |
|
void |
setElement(int row,
int column,
Scalar<?> value)
指定した成分に valueを代入します。 |
|
void |
setElement(int index,
Scalar<?> value)
成分を行毎に数え indexで指定した位置にvalueを代入します。 |
|
protected void |
setElements(E[][] elements)
全ての成分を設定します。 |
|
void |
setImaginaryPart(BaseMatrix<?,?> imaginaryPart)
虚部行列を設定します。 |
|
void |
setImaginaryPart(DoubleMatrix imaginaryPart)
虚部行列を設定します。 |
|
void |
setImaginaryPart(IntMatrix imaginaryPart)
虚部行列を設定します。 |
|
void |
setImaginaryPart(Matrix imagPart)
虚部行列を設定します。 |
|
void |
setRealPart(BaseMatrix<?,?> realPart)
実部行列を設定します。 |
|
void |
setRealPart(DoubleMatrix realPart)
実部行列を設定します。 |
|
void |
setRealPart(IntMatrix realPart)
実部行列を設定します。 |
|
void |
setRealPart(Matrix realPart)
実部行列を設定します。 |
|
void |
setSubMatrix(int rowMin,
int rowMax,
int columnMin,
int columnMax,
Matrix source)
指定した成分に行列 sourceを代入します。 |
|
void |
setSubMatrix(int rowMin,
int rowMax,
IntMatrix columnIndex,
Matrix source)
rowMinimum列目からrowMaximum列目の成分のcolumnIndex
で指定された行の成分に行列sourceを代入します。 |
|
void |
setSubMatrix(IntMatrix rowIndex,
int columnMin,
int columnMax,
Matrix source)
rowIndexで指定した行のcolumnMinimum列からcolumnMaximum
列までの行列sourceを代入します。 |
|
void |
setSubMatrix(IntMatrix rowIndex,
IntMatrix columnIndex,
Matrix source)
rowIndexで指定した行のcolumnIndexで指定した列に行列sourceを代入します。 |
|
void |
setSubVector(int min,
int max,
Matrix source)
成分を行毎に数え、 minimumからmaximumまでにsourceの成分を代入します。 |
|
void |
setSubVector(IntMatrix index,
Matrix source)
indexで指定した各成分に行列sourceの成分を代入します。 |
|
BaseMatrix<?,?> |
subtract(BaseMatrix<?,?> value)
行列 valueとの差を求めます。 |
|
BaseMatrix<?,?> |
subtract(TransformableMatrix<?> value)
valueとの差を返します。 |
|
M |
subtractElementWise(double value)
成分毎に実数を引きます。 |
|
BaseMatrix<?,?> |
subtractElementWise(int value)
成分毎に実数を引きます。 |
|
BaseMatrix<?,?> |
subtractElementWise(Scalar<?> value)
成分毎にスカラーを引きます。 |
|
E |
sum()
全ての成分の合計を返します。 |
|
M |
sumColumnWise()
列毎に加えた行ベクトルを返します。 |
|
M |
sumRowWise()
行毎に加えた列ベクトルを返します。 |
|
Matrix |
toComplex()
複素成分行列へ変換します。 |
|
E |
trace()
全対角成分の和を返します。 |
|
Matrix |
transformFrom(Matrix value)
引数で与えられた型からこの型へ変換します。 |
|
Matrix |
transformTo(Matrix value)
この型から引数で与えられた型へ変換します。 |
|
M |
transpose()
転置行列( this T )を生成します。 |
|
M |
unaryMinus()
符号を反転した値(-this)を返します。 |
|
E |
variance()
全ての成分の分散を返します。 |
|
M |
vectorToDiagonal()
列ベクトルまたは行ベクトルの各成分を対角成分に持つ行列を生成します。 |
|
| クラス 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, powerElementWise, roundToZeroElementWise, shiftLeft, shiftUp, subtract, transformToSameClass |
| クラス java.lang.Object から継承されたメソッド |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| インタフェース org.mklab.nfc.matrix.Matrix から継承されたメソッド |
|---|
add, covariance, createOnes, createOnes, createOnes, createUnit, createUnit, createUnit, createZero, createZero, createZero, divide, isUnit, leftDivide, leftDivide, leftDivide, leftDivide, multiply, power, shiftLeft, shiftUp, subtract |
| インタフェース org.mklab.nfc.matrix.FundamentalMatrix から継承されたメソッド |
|---|
appendDown, appendRight, flipLeftRight, flipUpDown, getColumnVector, getColumnVectors, getColumnVectors, getRowVector, getRowVectors, getRowVectors, getSubMatrix, getSubMatrix, getSubMatrix, getSubVector, getSubVector, rotateLeft, rotateUp, setColumnVector, setColumnVectors, setColumnVectors, setRowVector, setRowVectors, setRowVectors, setSubMatrix, setSubMatrix, setSubMatrix, setSubVector |
| インタフェース org.mklab.nfc.matrix.Grid から継承されたメソッド |
|---|
count, getColumnSize, getElementAlignment, getElementFormat, getPrintingElementsString, getPrintingString, getRowSize, hasSameColumnSize, hasSameRowSize, isEmpty, isSameSize, isSquare, length, print, print, print, removeColumnVector, removeRowVector, setElementAlignment, setElementFormat |
| インタフェース org.mklab.nfc.matrix.MatrixElementWiseOperator から継承されたメソッド |
|---|
divideElementWise, leftDivideElementWise, multiplyElementWise, powerElementWise, roundToZeroElementWise |
| コンストラクタの詳細 |
|---|
public BaseMatrix()
public BaseMatrix(int rowSize,
int columnSize)
MatrixObjectオブジェクトを初期化します。
rowSize - 行の数columnSize - 列の数public BaseMatrix(E[] elements)
elementsで与えられた成分をもつ行ベクトルを生成します。
elements - ベクトルの成分をもつ配列public BaseMatrix(E[][] elements)
elementsで与えられた成分をもつ行列を生成します。
elements - 行列の成分をもつ配列
public BaseMatrix(int rowSize,
int columnSize,
Scalar<?>[][] elements)
elementsで与えられた成分をもつrowSize*columnSizeの行列を生成します。
rowSize - 行の数columnSize - 列の数elements - 成分を含む配列| メソッドの詳細 |
|---|
public boolean equals(Object opponent)
Object 内の equalsObject.equals(java.lang.Object)public int hashCode()
AbstractGrid<M extends BaseMatrix<M,E>> 内の hashCodeObject.hashCode()
public boolean equals(Matrix opponent,
double tolerance)
FundamentalMatrix の記述:opponentと値が許容誤差以内で等しいか判定します。
FundamentalMatrix 内の equalsopponent - 比較する行列tolerance - 許容誤差
FundamentalMatrix.equals(org.mklab.nfc.matrix.Matrix, double)
public boolean equals(BaseMatrix<?,?> opponent,
double tolerance)
opponentと全ての成分の値が等しい(差の絶対値が許容誤差以下である)か判定します。
opponent - 比較対象の行列tolerance - 許容誤差
public M clone()
AbstractGrid の記述:
Grid 内の cloneAbstractGrid<M extends BaseMatrix<M,E>> 内の cloneAbstractGrid.clone()
public void exchangeRow(int row1,
int row2)
Grid の記述:row1行とrow2行を入れ替えます。
Grid 内の exchangeRowrow1 - 行番号1row2 - 行番号1Grid.exchangeRow(int, int)
public void exchangeColumn(int column1,
int column2)
Grid の記述:column1列とcolumn2列を入れ替えます。
Grid 内の exchangeColumncolumn1 - 列番号1column2 - 列番号2Grid.exchangeColumn(int, int)public void copy(IntMatrix source)
MatrixElementOperator の記述:sourceの成分をコピーします。
MatrixElementOperator<E extends Scalar<E>> 内の copysource - コピー元の整数行列MatrixElementOperator.copy(org.mklab.nfc.matrix.IntMatrix)public void copy(DoubleMatrix source)
MatrixElementOperator の記述:sourceの成分をコピーします。
MatrixElementOperator<E extends Scalar<E>> 内の copysource - コピー元の実数行列MatrixElementOperator.copy(org.mklab.nfc.matrix.DoubleMatrix)public void copy(BaseMatrix<?,?> source)
source各成分をコピーします。
source - コピー元の行列public void copy(Matrix source)
FundamentalMatrix の記述:sourceの成分をコピーします。
FundamentalMatrix 内の copysource - コピー元の行列FundamentalMatrix.copy(org.mklab.nfc.matrix.Matrix)public boolean isZero()
Grid の記述:
Grid 内の isZeroAbstractMatrix<M extends BaseMatrix<M,E>> 内の isZeroGrid.isZero()public BaseMatrix<?,?> appendDown(TransformableMatrix<?> value)
TransformableMatrix の記述:valueを付けた行列を生成します。
TransformableMatrix<BaseMatrix<?,?>> 内の appendDownvalue - 付ける行列
valueをつけた行列TransformableMatrix.appendDown(org.mklab.nfc.matrix.TransformableMatrix)public BaseMatrix<?,?> appendDown(BaseMatrix<?,?> value)
valueを下側に連結した行列を生成します。
value - 連結する行列
public BaseMatrix<?,?> appendRight(TransformableMatrix<?> value)
TransformableMatrix の記述:valueを付けた行列を生成します。
TransformableMatrix<BaseMatrix<?,?>> 内の appendRightvalue - 付ける複素数
valueを付けた行列TransformableMatrix.appendRight(org.mklab.nfc.matrix.TransformableMatrix)public BaseMatrix<?,?> appendRight(BaseMatrix<?,?> value)
valueを右側に連結した行列を生成します。
value - 連結する行列
valueを右側に連結した行列public M transpose()
FundamentalMatrix の記述:this T )を生成します。
FundamentalMatrix 内の transposeFundamentalMatrix.transpose()
public void removeRowVectors(int rowMin,
int rowMax)
Grid の記述:rowMin行からrowMax行までを削除します。
Grid 内の removeRowVectorsrowMin - 行の始まりrowMax - 行の終わりGrid.removeRowVectors(int, int)public void removeRowVectors(IntMatrix rowIndex)
Grid の記述:rowIndexで指定された行を削除します。
Grid 内の removeRowVectorsrowIndex - 行指定ベクトルGrid.removeRowVectors(org.mklab.nfc.matrix.IntMatrix)
public void removeColumnVectors(int columnMin,
int columnMax)
Grid の記述:columnMin列からcolumnMax列までを削除します。
Grid 内の removeColumnVectorscolumnMin - 列の始まりcolumnMax - 列の終わりGrid.removeColumnVectors(int, int)public void removeColumnVectors(IntMatrix columnIndex)
Grid の記述:columnIndexで指定された列を削除します。
Grid 内の removeColumnVectorscolumnIndex - 列指定ベクトルGrid.removeColumnVectors(org.mklab.nfc.matrix.IntMatrix)
public M getSubMatrix(int rowMin,
int rowMax,
int columnMin,
int columnMax)
FundamentalMatrix の記述:this(rowMinimum:rowMaximum,columnMinimum:columnMaximum)を生成します。
FundamentalMatrix 内の getSubMatrixrowMin - 開始行番号(1から始まります)rowMax - 終了行番号(1から始まります)columnMin - 開始列番号(1から始まります)columnMax - 終了列番号(1から始まります)
FundamentalMatrix.getSubMatrix(int, int, int, int)
public M getSubMatrix(IntMatrix rowIndex,
int columnMin,
int columnMax)
FundamentalMatrix の記述:columnMinimum列からcolumnMaximum列まで、
rowIndexで指定された行を成分とする部分行列を生成します。
FundamentalMatrix 内の getSubMatrixrowIndex - 行指定ベクトルcolumnMin - 開始列番号(1から始まります)columnMax - 終了列番号(1から始まります)
FundamentalMatrix.getSubMatrix(org.mklab.nfc.matrix.IntMatrix,
int, int)
public M getSubMatrix(int rowMin,
int rowMax,
IntMatrix columnIndex)
FundamentalMatrix の記述:rowMinimum行からrowMaximum行目で、columnIndex
で指定された列を成分とする部分行列を生成します。
FundamentalMatrix 内の getSubMatrixrowMin - 開始行番号(1から始まります)rowMax - 終了行番号(1から始まります)columnIndex - 列指定ベクトル
FundamentalMatrix.getSubMatrix(int, int,
org.mklab.nfc.matrix.IntMatrix)
public M getSubMatrix(IntMatrix rowIndex,
IntMatrix columnIndex)
FundamentalMatrix の記述:rowIndexで指定された行で、columnIndex
で指定された列を成分とする部分行列を生成します。
FundamentalMatrix 内の getSubMatrixrowIndex - 行指定ベクトルcolumnIndex - 列指定ベクトル
FundamentalMatrix.getSubMatrix(org.mklab.nfc.matrix.IntMatrix,
org.mklab.nfc.matrix.IntMatrix)public M getSubVector(IntMatrix index)
FundamentalMatrix の記述:indexで指定した成分を成分とする部分行列を生成します。
FundamentalMatrix 内の getSubVectorindex - 行番号を含むベクトル
FundamentalMatrix.getSubVector(org.mklab.nfc.matrix.IntMatrix)public M diagonalToVector()
FundamentalMatrix の記述:
FundamentalMatrix 内の diagonalToVectorFundamentalMatrix.diagonalToVector()public M vectorToDiagonal()
FundamentalMatrix の記述:
FundamentalMatrix 内の vectorToDiagonalFundamentalMatrix.vectorToDiagonal()public static <E extends Scalar<E>> BaseMatrix<?,E> diagonal(E[] diagonalElements)
E - 成分の型diagonalElements - 対角成分
public M reshape(int newRowSize,
int newColumnSize)
FundamentalMatrix の記述:newRowSize*newColumnSizeに変更した行列を生成します。
成分は、行方向の成分順に並べ替えられます。 newRowSize *
newColumnSize個の成分を持っていないと、エラーになる。
FundamentalMatrix 内の reshapenewRowSize - 行の数newColumnSize - 列の数
FundamentalMatrix.reshape(int, int)
public M resize(int newRowSize,
int newColumnSize)
FundamentalMatrix の記述:newRowSize*newColumnSizeにサイズ変更します。
FundamentalMatrix.reshape(int, int)とは異なり、成分位置の変更はせず, 自身より大きなサイズに変更する時は、0で埋められ、
自身より小さなサイズに変更する時は余分な成分は切り取られます。
FundamentalMatrix 内の resizenewRowSize - 指定行の数newColumnSize - 指定列の数
FundamentalMatrix.resize(int, int)
public BooleanMatrix compareElementWise(String operator,
BaseMatrix<?,?> opponent)
opponentの各成分と成分毎にoperatorで指定された演算子で比較し,
それぞれの結果を成分とするBooleanMatrixを生成します。
operator - 比較演算子(".==", ".!=")opponent - 比較対象
BooleanMatrix
public BooleanMatrix compareElementWise(String operator,
DoubleMatrix opponent)
opponentの各成分と成分毎にoperatorで指定された演算子で比較し,
それぞれの結果を成分とするBooleanMatrixを生成します。
operator - 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")opponent - 比較対象
BooleanMatrix
public BooleanMatrix compareElementWise(String operator,
IntMatrix opponent)
opponentの各成分と成分毎にoperatorで指定された演算子で比較し,
それぞれの結果を成分とするBooleanMatrixを生成します。
operator - 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")opponent - 比較対象
BooleanMatrix
public BooleanMatrix compareElementWise(String operator,
Matrix opponent)
FundamentalMatrix の記述:opponentと成分毎にoperatorで指定された演算子で比較した結果を
BooleanMatrixで返します。
FundamentalMatrix 内の compareElementWiseoperator - 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")opponent - 比較対象
BooleanMatrixFundamentalMatrix.compareElementWise(java.lang.String,
org.mklab.nfc.matrix.Matrix)
public void setSubMatrix(int rowMin,
int rowMax,
int columnMin,
int columnMax,
Matrix source)
FundamentalMatrix の記述:sourceを代入します。
FundamentalMatrix 内の setSubMatrixrowMin - 開始行番号(1から始まります)rowMax - 終了行番号(1から始まります)columnMin - 開始列番号(1から始まります)columnMax - 終了列番号(1から始まります)source - 代入する行列FundamentalMatrix.setSubMatrix(int, int, int, int, org.mklab.nfc.matrix.Matrix)
public void setSubMatrix(IntMatrix rowIndex,
int columnMin,
int columnMax,
Matrix source)
FundamentalMatrix の記述:rowIndexで指定した行のcolumnMinimum列からcolumnMaximum
列までの行列sourceを代入します。
FundamentalMatrix 内の setSubMatrixrowIndex - 行番号のリストcolumnMin - 開始列番号(1から始まります)columnMax - 終了列番号(1から始まります)source - 代入する行列FundamentalMatrix.setSubMatrix(org.mklab.nfc.matrix.IntMatrix,
int, int, org.mklab.nfc.matrix.Matrix)
public void setSubMatrix(int rowMin,
int rowMax,
IntMatrix columnIndex,
Matrix source)
FundamentalMatrix の記述:rowMinimum列目からrowMaximum列目の成分のcolumnIndex
で指定された行の成分に行列sourceを代入します。
FundamentalMatrix 内の setSubMatrixrowMin - 開始行番号(1から始まります)rowMax - 終了行番号(1から始まります)columnIndex - 列番号のリストsource - 代入する行列FundamentalMatrix.setSubMatrix(int, int,
org.mklab.nfc.matrix.IntMatrix, org.mklab.nfc.matrix.Matrix)
public void setSubMatrix(IntMatrix rowIndex,
IntMatrix columnIndex,
Matrix source)
FundamentalMatrix の記述:rowIndexで指定した行のcolumnIndexで指定した列に行列sourceを代入します。
FundamentalMatrix 内の setSubMatrixrowIndex - 行番号のリストcolumnIndex - 列番号のリストsource - 代入する行列FundamentalMatrix.setSubMatrix(org.mklab.nfc.matrix.IntMatrix,
org.mklab.nfc.matrix.IntMatrix, org.mklab.nfc.matrix.Matrix)
public void setSubVector(IntMatrix index,
Matrix source)
FundamentalMatrix の記述:indexで指定した各成分に行列sourceの成分を代入します。
FundamentalMatrix 内の setSubVectorindex - 成分の番号のリストsource - 代入する行列FundamentalMatrix.setSubVector(org.mklab.nfc.matrix.IntMatrix,
org.mklab.nfc.matrix.Matrix)
public void setSubVector(int min,
int max,
Matrix source)
FundamentalMatrix の記述:minimumからmaximumまでにsourceの成分を代入します。
FundamentalMatrix 内の setSubVectormin - 開始位置(1から始まります)max - 終了位置(1から始まります)source - 代入するベクトルFundamentalMatrix.setSubVector(int, int, org.mklab.nfc.matrix.Matrix)
public E getElement(int row,
int column)
MatrixElementOperator の記述:row行column列の成分を返します。
MatrixElementOperator<E extends Scalar<E>> 内の getElementrow - 行番号(1から始まる)column - 列番号(1から始まる)
MatrixElementOperator.getElement(int, int)public E getElement(int index)
MatrixElementOperator の記述:indexで指定した成分を返します。
MatrixElementOperator<E extends Scalar<E>> 内の getElementindex - 成分の番号(1から始まる)
MatrixElementOperator.getElement(int)protected final E[][] getElements()
protected final void setElements(E[][] elements)
elements - 全ての成分の2次元配列
public void setElement(int row,
int column,
int value)
MatrixElementOperator の記述:valueを代入します。
MatrixElementOperator<E extends Scalar<E>> 内の setElementrow - 行番号(1から始まる)column - 列番号(1から始まる)value - 代入する値MatrixElementOperator.setElement(int, int, int)
public void setElement(int row,
int column,
double value)
MatrixElementOperator の記述:valueを代入します。
- 定義:
- インタフェース
MatrixElementOperator<E extends Scalar<E>> 内の setElement
- パラメータ:
row - 行番号(1から始まる)column - 列番号(1から始まる)value - 代入する値- 関連項目:
MatrixElementOperator.setElement(int, int, double)
public void setElement(int row,
int column,
Scalar<?> value)
MatrixElementOperator の記述:valueを代入します。
MatrixElementOperator<E extends Scalar<E>> 内の setElementrow - 行番号(1から始まる)column - 列番号(1から始まる)value - 代入する値MatrixElementOperator.setElement(int, int,
org.mklab.nfc.scalar.Scalar)
public void setElement(int index,
int value)
MatrixElementOperator の記述:indexで指定した位置にvalueを代入します。
MatrixElementOperator<E extends Scalar<E>> 内の setElementindex - 成分の番号(1から始まる)value - 代入する値MatrixElementOperator.setElement(int, int)
public void setElement(int index,
double value)
MatrixElementOperator の記述:indexで指定した位置にvalueを代入します。
MatrixElementOperator<E extends Scalar<E>> 内の setElementindex - 成分の番号(1から始まる)value - 代入する値MatrixElementOperator.setElement(int, double)
public void setElement(int index,
Scalar<?> value)
MatrixElementOperator の記述:indexで指定した位置にvalueを代入します。
MatrixElementOperator<E extends Scalar<E>> 内の setElementindex - 成分の番号(1から始まる)value - 代入する値MatrixElementOperator.setElement(int,
org.mklab.nfc.scalar.Scalar)public BaseMatrix<?,?> add(TransformableMatrix<?> value)
TransformableMatrix の記述:valueとの和を返します。
TransformableMatrix<BaseMatrix<?,?>> 内の addvalue - 行列
valueとの和TransformableMatrix.add(org.mklab.nfc.matrix.TransformableMatrix)public BaseMatrix<?,?> add(BaseMatrix<?,?> value)
valueとの和を求めます。
value - 足す行列
valueとの和public BaseMatrix<?,?> subtract(TransformableMatrix<?> value)
TransformableMatrix の記述:valueとの差を返します。
TransformableMatrix<BaseMatrix<?,?>> 内の subtractvalue - 引く行列
valueとの差TransformableMatrix.subtract(org.mklab.nfc.matrix.TransformableMatrix)public BaseMatrix<?,?> subtract(BaseMatrix<?,?> value)
valueとの差を求めます。
value - 引く行列
valueとの差public BaseMatrix<?,?> multiply(Scalar<?> value)
Matrix の記述:valueの積を返します。
Matrix 内の multiplyvalue - スカラー
valueの積Matrix.multiply(org.mklab.nfc.scalar.Scalar)public M multiply(int value)
Matrix の記述:valueの積を(this*value)を返します。
Matrix 内の multiplyvalue - 整数
valueの積Matrix.multiply(int)public M multiply(double value)
Matrix の記述:valueの積を(this*value)を返します。
Matrix 内の multiplyvalue - 実数
valueの積Matrix.multiply(double)public BaseMatrix<?,?> multiply(TransformableMatrix<?> value)
TransformableMatrix の記述:valueとの積(this*value)を返します。
TransformableMatrix<BaseMatrix<?,?>> 内の multiplyvalue - 行列
valueとの積TransformableMatrix.multiply(org.mklab.nfc.matrix.TransformableMatrix)public BaseMatrix<?,?> multiply(BaseMatrix<?,?> value)
valueとの積を求めます。
value - 掛ける行列
valueとの積public BaseMatrix<?,?> divide(Scalar<?> value)
Matrix の記述:
Matrix 内の dividevalue - スカラー
valueの商Matrix.divide(org.mklab.nfc.scalar.Scalar)public BaseMatrix<?,?> divide(int value)
Matrix の記述:this/value)を返します。
Matrix 内の dividevalue - 割る整数
valueとの商Matrix.divide(int)public BaseMatrix<?,?> divide(double value)
Matrix の記述:this/value)を返します。
Matrix 内の dividevalue - 割る実数
valueとの商Matrix.divide(double)public BaseMatrix<?,?> divide(TransformableMatrix<?> value)
TransformableMatrix の記述:valueの逆行列との積(this*value -1 )を返します。
TransformableMatrix<BaseMatrix<?,?>> 内の dividevalue - 割る行列
valueの逆行列との積TransformableMatrix.divide(org.mklab.nfc.matrix.TransformableMatrix)public BaseMatrix<?,?> divide(BaseMatrix<?,?> value)
valueとの商を求めます。
value - 割る行列
valueとの商public BaseMatrix<?,?> leftDivide(TransformableMatrix<?> value)
TransformableMatrix の記述:valueの積(this -1
*value)を返します。
TransformableMatrix<BaseMatrix<?,?>> 内の leftDividevalue - 割る行列
valueとの積TransformableMatrix.leftDivide(org.mklab.nfc.matrix.TransformableMatrix)public BaseMatrix<?,?> leftDivide(BaseMatrix<?,?> value)
valueとの左商を求めます。
value - 割られる行列
valueとの左商public M unaryMinus()
Matrix の記述:
Matrix 内の unaryMinusMatrix.unaryMinus()public M inverse()
Matrix の記述:this -1 )を返します。
Matrix 内の inverseMatrix.inverse()
public M inverse(double tolerance,
boolean stopIfSingular)
Matrix の記述:this -1 )を返します。
Matrix 内の inversetolerance - 許容誤差stopIfSingular - trueならば、正則でない場合、処理を中止し、例外を投げます。
Matrix.inverse(double, boolean)public M conjugate()
Matrix の記述:
Matrix 内の conjugateMatrix.conjugate()public M conjugateTranspose()
Matrix の記述:
Matrix 内の conjugateTransposeMatrix.conjugateTranspose()public boolean isZero(double tolerance)
Matrix の記述:
Matrix 内の isZerotolerance - 許容誤差
Matrix.isZero(double)public boolean isUnit(double tolerance)
Matrix の記述:
Matrix 内の isUnittolerance - 許容誤差
Matrix.isUnit(double)public BaseMatrix<?,?> addElementWise(Scalar<?> scalar)
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の addElementWisescalar - 加えるスカラー
MatrixElementWiseOperator.addElementWise(org.mklab.nfc.scalar.Scalar)public BaseMatrix<?,?> addElementWise(int value)
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の addElementWisevalue - 加える整数
MatrixElementWiseOperator.addElementWise(int)public M addElementWise(double value)
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の addElementWisevalue - 加える実数
MatrixElementWiseOperator.addElementWise(double)public BaseMatrix<?,?> subtractElementWise(int value)
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の subtractElementWisevalue - 引く実数
MatrixElementWiseOperator.subtractElementWise(int)public BaseMatrix<?,?> subtractElementWise(Scalar<?> value)
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の subtractElementWisevalue - 引くスカラー
MatrixElementWiseOperator.subtractElementWise(org.mklab.nfc.scalar.Scalar)public M subtractElementWise(double value)
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の subtractElementWisevalue - 引く実数
MatrixElementWiseOperator.subtractElementWise(double)public BaseMatrix<?,?> multiplyElementWise(TransformableMatrix<?> value)
TransformableMatrix の記述:valueとの成分毎の積を成分にもつ行列を返します。
TransformableMatrix<BaseMatrix<?,?>> 内の multiplyElementWisevalue - 乗じる行列
TransformableMatrix.multiplyElementWise(org.mklab.nfc.matrix.TransformableMatrix)public BaseMatrix<?,?> multiplyElementWise(BaseMatrix<?,?> value)
valueとの成分毎の積を求めます。
value - 掛ける行列
valueとの成分毎の積public BaseMatrix<?,?> divideElementWise(TransformableMatrix<?> value)
TransformableMatrix の記述:valueとの成分毎の商を成分にもつ行列を返します。
TransformableMatrix<BaseMatrix<?,?>> 内の divideElementWisevalue - 割る行列
TransformableMatrix.divideElementWise(org.mklab.nfc.matrix.TransformableMatrix)public BaseMatrix<?,?> divideElementWise(BaseMatrix<?,?> value)
valueとの成分毎の商を求めます。
value - 割る行列
valueとの成分毎の商public BaseMatrix<?,?> leftDivideElementWise(TransformableMatrix<?> value)
TransformableMatrix の記述:valueとの成分毎の左からの商を成分にもつ行列を返します。
TransformableMatrix<BaseMatrix<?,?>> 内の leftDivideElementWisevalue - 割られる行列
TransformableMatrix.leftDivideElementWise(org.mklab.nfc.matrix.TransformableMatrix)public BaseMatrix<?,?> leftDivideElementWise(BaseMatrix<?,?> value)
valueとの成分毎の左商(this*value)を求めます。
value - 割られる行列
valueとの成分毎の左商public BaseMatrix<?,?> inverseElementWise()
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の inverseElementWiseMatrixElementWiseOperator.inverseElementWise()public M powerElementWise(int num)
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の powerElementWisenum - 累乗の指数
MatrixElementWiseOperator.powerElementWise(int)public M powerElementWise(IntMatrix matrix)
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の powerElementWisematrix - 累乗の指数を成分とする行列
MatrixElementWiseOperator.powerElementWise(org.mklab.nfc.matrix.IntMatrix)public BooleanMatrix isNanElementWise()
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の isNanElementWiseMatrixElementWiseOperator.isNanElementWise()public BooleanMatrix isFiniteElementWise()
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の isFiniteElementWiseMatrixElementWiseOperator.isFiniteElementWise()public BooleanMatrix isInfiniteElementWise()
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の isInfiniteElementWiseMatrixElementWiseOperator.isInfiniteElementWise()
public BooleanMatrix compareElementWise(String operator,
int value)
MatrixElementWiseOperator の記述:valueをoperatorで指定された演算子で比較し,
BooleanMatrixで返します。
MatrixElementWiseOperator 内の compareElementWiseoperator - 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")value - 比較対象
MatrixElementWiseOperator.compareElementWise(java.lang.String, int)
public BooleanMatrix compareElementWise(String operator,
double value)
MatrixElementWiseOperator の記述:valueをoperatorで指定された演算子で比較し,
BooleanMatrixで返します。
MatrixElementWiseOperator 内の compareElementWiseoperator - 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")value - 比較対象
MatrixElementWiseOperator.compareElementWise(java.lang.String, double)
public BooleanMatrix compareElementWise(String operator,
Scalar<?> value)
MatrixElementWiseOperator の記述:valueをoperatorで指定された演算子で比較し,
BooleanMatrixで返します。
MatrixElementWiseOperator 内の compareElementWiseoperator - 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")value - 比較対象
MatrixElementWiseOperator.compareElementWise(java.lang.String,
org.mklab.nfc.scalar.Scalar)public M sumColumnWise()
Matrix の記述:
Matrix 内の sumColumnWiseMatrix.sumColumnWise()public M sumRowWise()
Matrix の記述:
Matrix 内の sumRowWiseMatrix.sumRowWise()public M cumulativeSum()
Matrix の記述:
Matrix 内の cumulativeSumMatrix.cumulativeSum()public M cumulativeSumRowWise()
Matrix の記述:
Matrix 内の cumulativeSumRowWiseMatrix.cumulativeSumRowWise()public M cumulativeSumColumnWise()
Matrix の記述:
Matrix 内の cumulativeSumColumnWiseMatrix.cumulativeSumColumnWise()public M productRowWise()
Matrix の記述:
Matrix 内の productRowWiseMatrix.productRowWise()public M productColumnWise()
Matrix の記述:
Matrix 内の productColumnWiseMatrix.productColumnWise()public M cumulativeProduct()
Matrix の記述:
Matrix 内の cumulativeProductMatrix.cumulativeProduct()public M cumulativeProductRowWise()
Matrix の記述:
Matrix 内の cumulativeProductRowWiseMatrix.cumulativeProductRowWise()public M cumulativeProductColumnWise()
Matrix の記述:
Matrix 内の cumulativeProductColumnWiseMatrix.cumulativeProductColumnWise()public M meanRowWise()
Matrix の記述:
Matrix 内の meanRowWiseMatrix.meanRowWise()public M meanColumnWise()
Matrix の記述:
Matrix 内の meanColumnWiseMatrix.meanColumnWise()public BaseMatrix<?,?> covariance(TransformableMatrix<?> value)
TransformableMatrix の記述:opponentとの共分散行列を返します。
TransformableMatrix<BaseMatrix<?,?>> 内の covariancevalue - 対となるベクトル
TransformableMatrix.covariance(org.mklab.nfc.matrix.TransformableMatrix)public BaseMatrix<?,?> covariance(BaseMatrix<?,?> opponent)
opponentとの共分散行列を返します。
opponent - 対となるベクトル
public E sum()
MatrixElementOperator の記述:
MatrixElementOperator<E extends Scalar<E>> 内の sumMatrixElementOperator.sum()public E mean()
MatrixElementOperator の記述:
MatrixElementOperator<E extends Scalar<E>> 内の meanMatrixElementOperator.mean()public E variance()
MatrixElementOperator の記述:
MatrixElementOperator<E extends Scalar<E>> 内の varianceMatrixElementOperator.variance()public E trace()
MatrixElementOperator の記述:
MatrixElementOperator<E extends Scalar<E>> 内の traceMatrixElementOperator.trace()public E product()
MatrixElementOperator の記述:
MatrixElementOperator<E extends Scalar<E>> 内の productMatrixElementOperator.product()public E determinant()
MatrixElementOperator の記述:
MatrixElementOperator<E extends Scalar<E>> 内の determinantMatrixElementOperator.determinant()public M ceilElementWise()
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の ceilElementWiseMatrixElementWiseOperator.ceilElementWise()public M floorElementWise()
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の floorElementWiseMatrixElementWiseOperator.floorElementWise()public M fixElementWise()
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の fixElementWiseMatrixElementWiseOperator.fixElementWise()public M roundToZeroElementWise(double tolerance)
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の roundToZeroElementWisetolerance - 許容誤差
MatrixElementWiseOperator.roundToZeroElementWise(double)public M roundElementWise()
MatrixElementWiseOperator の記述:
MatrixElementWiseOperator 内の roundElementWiseMatrixElementWiseOperator.roundElementWise()
public M createUnit(int rowSize,
int columnSize)
Matrix の記述:rowSize*columnSizeの単位行列を生成します。
Matrix 内の createUnitrowSize - 行の数columnSize - 列の数
rowSize*columnSizeの単位行列Matrix.createUnit(int, int)
public M createZero(int rowSize,
int columnSize)
Matrix の記述:rowSize*columnSizeの零行列を生成します。
Matrix 内の createZerorowSize - 行の数columnSize - 列の数
rowSize*columnSizeの零行列Matrix.createZero(int, int)
public M createOnes(int rowSize,
int columnSize)
Matrix の記述:rowSize*columnSizeの全成分が1である行列を生成します。
Matrix 内の createOnesrowSize - 行の数columnSize - 列の数
rowSize*columnSizeの全成分が1である行列Matrix.createOnes(int, int)public boolean isComplex()
Matrix の記述:
Matrix 内の isComplexMatrix.isComplex()public boolean isReal()
Matrix の記述:
Matrix 内の isRealMatrix.isReal()public Matrix getRealPart()
Matrix の記述:
Matrix 内の getRealPartMatrix.getRealPart()public Matrix getImaginaryPart()
Matrix の記述:
Matrix 内の getImaginaryPartMatrix.getImaginaryPart()public void setRealPart(Matrix realPart)
Matrix の記述:
Matrix 内の setRealPartrealPart - 実部行列Matrix.setRealPart(org.mklab.nfc.matrix.Matrix)public void setRealPart(IntMatrix realPart)
Matrix の記述:
Matrix 内の setRealPartrealPart - 実部行列Matrix.setRealPart(org.mklab.nfc.matrix.IntMatrix)public void setRealPart(DoubleMatrix realPart)
Matrix の記述:
Matrix 内の setRealPartrealPart - 実部行列Matrix.setRealPart(org.mklab.nfc.matrix.DoubleMatrix)public void setRealPart(BaseMatrix<?,?> realPart)
Matrix の記述:
Matrix 内の setRealPartrealPart - 実部行列Matrix.setRealPart(org.mklab.nfc.matrix.BaseMatrix)public void setImaginaryPart(Matrix imagPart)
Matrix の記述:
Matrix 内の setImaginaryPartimagPart - 虚部行列Matrix.setImaginaryPart(org.mklab.nfc.matrix.Matrix)public void setImaginaryPart(IntMatrix imaginaryPart)
Matrix の記述:
Matrix 内の setImaginaryPartimaginaryPart - 虚部行列Matrix.setImaginaryPart(org.mklab.nfc.matrix.IntMatrix)public void setImaginaryPart(DoubleMatrix imaginaryPart)
Matrix の記述:
Matrix 内の setImaginaryPartimaginaryPart - 虚部行列Matrix.setImaginaryPart(org.mklab.nfc.matrix.DoubleMatrix)public void setImaginaryPart(BaseMatrix<?,?> imaginaryPart)
Matrix の記述:
Matrix 内の setImaginaryPartimaginaryPart - 虚部行列Matrix.setImaginaryPart(org.mklab.nfc.matrix.BaseMatrix)public Matrix toComplex()
Matrix の記述:
Matrix 内の toComplexMatrix.toComplex()public void printElements(Writer output)
Grid の記述:
Grid 内の printElementsoutput - ライターGrid.printElements(java.io.Writer)
public void printElements(Writer output,
int maxColumnSize)
Grid の記述:
Grid 内の printElementsoutput - ライターmaxColumnSize - 1行の出力する列の最大数Grid.printElements(java.io.Writer, int)public boolean isTransformableFrom(Matrix value)
Matrix の記述:
Matrix 内の isTransformableFromAbstractMatrix<M extends BaseMatrix<M,E>> 内の isTransformableFromvalue - 変換元
Matrix.isTransformableFrom(org.mklab.nfc.matrix.Matrix)public Matrix transformFrom(Matrix value)
Matrix の記述:
Matrix 内の transformFromAbstractMatrix<M extends BaseMatrix<M,E>> 内の transformFromvalue - 変換元
Matrix.transformFrom(org.mklab.nfc.matrix.Matrix)public boolean isTransformableTo(Matrix value)
Matrix の記述:
Matrix 内の isTransformableToAbstractMatrix<M extends BaseMatrix<M,E>> 内の isTransformableTovalue - 変換先
Matrix.isTransformableTo(org.mklab.nfc.matrix.Matrix)public Matrix transformTo(Matrix value)
Matrix の記述:
Matrix 内の transformToAbstractMatrix<M extends BaseMatrix<M,E>> 内の transformTovalue - 変換先
Matrix.transformTo(org.mklab.nfc.matrix.Matrix)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||