|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
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
内の equals
Object.equals(java.lang.Object)
public int hashCode()
AbstractGrid<M extends BaseMatrix<M,E>>
内の hashCode
Object.hashCode()
public boolean equals(Matrix opponent, double tolerance)
FundamentalMatrix
の記述:opponent
と値が許容誤差以内で等しいか判定します。
FundamentalMatrix
内の equals
opponent
- 比較する行列tolerance
- 許容誤差
FundamentalMatrix.equals(org.mklab.nfc.matrix.Matrix, double)
public boolean equals(BaseMatrix<?,?> opponent, double tolerance)
opponent
と全ての成分の値が等しい(差の絶対値が許容誤差以下である)か判定します。
opponent
- 比較対象の行列tolerance
- 許容誤差
public M clone()
AbstractGrid
の記述:
Grid
内の clone
AbstractGrid<M extends BaseMatrix<M,E>>
内の clone
AbstractGrid.clone()
public void exchangeRow(int row1, int row2)
Grid
の記述:row1
行とrow2
行を入れ替えます。
Grid
内の exchangeRow
row1
- 行番号1row2
- 行番号1Grid.exchangeRow(int, int)
public void exchangeColumn(int column1, int column2)
Grid
の記述:column1
列とcolumn2
列を入れ替えます。
Grid
内の exchangeColumn
column1
- 列番号1column2
- 列番号2Grid.exchangeColumn(int, int)
public void copy(IntMatrix source)
MatrixElementOperator
の記述:source
の成分をコピーします。
MatrixElementOperator<E extends Scalar<E>>
内の copy
source
- コピー元の整数行列MatrixElementOperator.copy(org.mklab.nfc.matrix.IntMatrix)
public void copy(DoubleMatrix source)
MatrixElementOperator
の記述:source
の成分をコピーします。
MatrixElementOperator<E extends Scalar<E>>
内の copy
source
- コピー元の実数行列MatrixElementOperator.copy(org.mklab.nfc.matrix.DoubleMatrix)
public void copy(BaseMatrix<?,?> source)
source
各成分をコピーします。
source
- コピー元の行列public void copy(Matrix source)
FundamentalMatrix
の記述:source
の成分をコピーします。
FundamentalMatrix
内の copy
source
- コピー元の行列FundamentalMatrix.copy(org.mklab.nfc.matrix.Matrix)
public boolean isZero()
Grid
の記述:
Grid
内の isZero
AbstractMatrix<M extends BaseMatrix<M,E>>
内の isZero
Grid.isZero()
public BaseMatrix<?,?> appendDown(TransformableMatrix<?> value)
TransformableMatrix
の記述:value
を付けた行列を生成します。
TransformableMatrix<BaseMatrix<?,?>>
内の appendDown
value
- 付ける行列
value
をつけた行列TransformableMatrix.appendDown(org.mklab.nfc.matrix.TransformableMatrix)
public BaseMatrix<?,?> appendDown(BaseMatrix<?,?> value)
value
を下側に連結した行列を生成します。
value
- 連結する行列
public BaseMatrix<?,?> appendRight(TransformableMatrix<?> value)
TransformableMatrix
の記述:value
を付けた行列を生成します。
TransformableMatrix<BaseMatrix<?,?>>
内の appendRight
value
- 付ける複素数
value
を付けた行列TransformableMatrix.appendRight(org.mklab.nfc.matrix.TransformableMatrix)
public BaseMatrix<?,?> appendRight(BaseMatrix<?,?> value)
value
を右側に連結した行列を生成します。
value
- 連結する行列
value
を右側に連結した行列public M transpose()
FundamentalMatrix
の記述:this
T )を生成します。
FundamentalMatrix
内の transpose
FundamentalMatrix.transpose()
public void removeRowVectors(int rowMin, int rowMax)
Grid
の記述:rowMin
行からrowMax
行までを削除します。
Grid
内の removeRowVectors
rowMin
- 行の始まりrowMax
- 行の終わりGrid.removeRowVectors(int, int)
public void removeRowVectors(IntMatrix rowIndex)
Grid
の記述:rowIndex
で指定された行を削除します。
Grid
内の removeRowVectors
rowIndex
- 行指定ベクトルGrid.removeRowVectors(org.mklab.nfc.matrix.IntMatrix)
public void removeColumnVectors(int columnMin, int columnMax)
Grid
の記述:columnMin
列からcolumnMax
列までを削除します。
Grid
内の removeColumnVectors
columnMin
- 列の始まりcolumnMax
- 列の終わりGrid.removeColumnVectors(int, int)
public void removeColumnVectors(IntMatrix columnIndex)
Grid
の記述:columnIndex
で指定された列を削除します。
Grid
内の removeColumnVectors
columnIndex
- 列指定ベクトル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
内の getSubMatrix
rowMin
- 開始行番号(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
内の getSubMatrix
rowIndex
- 行指定ベクトル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
内の getSubMatrix
rowMin
- 開始行番号(1から始まります)rowMax
- 終了行番号(1から始まります)columnIndex
- 列指定ベクトル
FundamentalMatrix.getSubMatrix(int, int,
org.mklab.nfc.matrix.IntMatrix)
public M getSubMatrix(IntMatrix rowIndex, IntMatrix columnIndex)
FundamentalMatrix
の記述:rowIndex
で指定された行で、columnIndex
で指定された列を成分とする部分行列を生成します。
FundamentalMatrix
内の getSubMatrix
rowIndex
- 行指定ベクトルcolumnIndex
- 列指定ベクトル
FundamentalMatrix.getSubMatrix(org.mklab.nfc.matrix.IntMatrix,
org.mklab.nfc.matrix.IntMatrix)
public M getSubVector(IntMatrix index)
FundamentalMatrix
の記述:index
で指定した成分を成分とする部分行列を生成します。
FundamentalMatrix
内の getSubVector
index
- 行番号を含むベクトル
FundamentalMatrix.getSubVector(org.mklab.nfc.matrix.IntMatrix)
public M diagonalToVector()
FundamentalMatrix
の記述:
FundamentalMatrix
内の diagonalToVector
FundamentalMatrix.diagonalToVector()
public M vectorToDiagonal()
FundamentalMatrix
の記述:
FundamentalMatrix
内の vectorToDiagonal
FundamentalMatrix.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
内の reshape
newRowSize
- 行の数newColumnSize
- 列の数
FundamentalMatrix.reshape(int, int)
public M resize(int newRowSize, int newColumnSize)
FundamentalMatrix
の記述:newRowSize
*newColumnSize
にサイズ変更します。
FundamentalMatrix.reshape(int, int)
とは異なり、成分位置の変更はせず, 自身より大きなサイズに変更する時は、0で埋められ、
自身より小さなサイズに変更する時は余分な成分は切り取られます。
FundamentalMatrix
内の resize
newRowSize
- 指定行の数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
内の compareElementWise
operator
- 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")opponent
- 比較対象
BooleanMatrix
FundamentalMatrix.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
内の setSubMatrix
rowMin
- 開始行番号(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
内の setSubMatrix
rowIndex
- 行番号のリスト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
内の setSubMatrix
rowMin
- 開始行番号(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
内の setSubMatrix
rowIndex
- 行番号のリスト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
内の setSubVector
index
- 成分の番号のリスト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
内の setSubVector
min
- 開始位置(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>>
内の getElement
row
- 行番号(1から始まる)column
- 列番号(1から始まる)
MatrixElementOperator.getElement(int, int)
public E getElement(int index)
MatrixElementOperator
の記述:index
で指定した成分を返します。
MatrixElementOperator<E extends Scalar<E>>
内の getElement
index
- 成分の番号(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>>
内の setElement
row
- 行番号(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>>
内の setElement
row
- 行番号(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>>
内の setElement
index
- 成分の番号(1から始まる)value
- 代入する値MatrixElementOperator.setElement(int, int)
public void setElement(int index, double value)
MatrixElementOperator
の記述:index
で指定した位置にvalue
を代入します。
MatrixElementOperator<E extends Scalar<E>>
内の setElement
index
- 成分の番号(1から始まる)value
- 代入する値MatrixElementOperator.setElement(int, double)
public void setElement(int index, Scalar<?> value)
MatrixElementOperator
の記述:index
で指定した位置にvalue
を代入します。
MatrixElementOperator<E extends Scalar<E>>
内の setElement
index
- 成分の番号(1から始まる)value
- 代入する値MatrixElementOperator.setElement(int,
org.mklab.nfc.scalar.Scalar)
public BaseMatrix<?,?> add(TransformableMatrix<?> value)
TransformableMatrix
の記述:value
との和を返します。
TransformableMatrix<BaseMatrix<?,?>>
内の add
value
- 行列
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<?,?>>
内の subtract
value
- 引く行列
value
との差TransformableMatrix.subtract(org.mklab.nfc.matrix.TransformableMatrix)
public BaseMatrix<?,?> subtract(BaseMatrix<?,?> value)
value
との差を求めます。
value
- 引く行列
value
との差public BaseMatrix<?,?> multiply(Scalar<?> value)
Matrix
の記述:value
の積を返します。
Matrix
内の multiply
value
- スカラー
value
の積Matrix.multiply(org.mklab.nfc.scalar.Scalar)
public M multiply(int value)
Matrix
の記述:value
の積を(this
*value
)を返します。
Matrix
内の multiply
value
- 整数
value
の積Matrix.multiply(int)
public M multiply(double value)
Matrix
の記述:value
の積を(this
*value
)を返します。
Matrix
内の multiply
value
- 実数
value
の積Matrix.multiply(double)
public BaseMatrix<?,?> multiply(TransformableMatrix<?> value)
TransformableMatrix
の記述:value
との積(this
*value
)を返します。
TransformableMatrix<BaseMatrix<?,?>>
内の multiply
value
- 行列
value
との積TransformableMatrix.multiply(org.mklab.nfc.matrix.TransformableMatrix)
public BaseMatrix<?,?> multiply(BaseMatrix<?,?> value)
value
との積を求めます。
value
- 掛ける行列
value
との積public BaseMatrix<?,?> divide(Scalar<?> value)
Matrix
の記述:
Matrix
内の divide
value
- スカラー
value
の商Matrix.divide(org.mklab.nfc.scalar.Scalar)
public BaseMatrix<?,?> divide(int value)
Matrix
の記述:this
/value
)を返します。
Matrix
内の divide
value
- 割る整数
value
との商Matrix.divide(int)
public BaseMatrix<?,?> divide(double value)
Matrix
の記述:this
/value
)を返します。
Matrix
内の divide
value
- 割る実数
value
との商Matrix.divide(double)
public BaseMatrix<?,?> divide(TransformableMatrix<?> value)
TransformableMatrix
の記述:value
の逆行列との積(this
*value -1 )を返します。
TransformableMatrix<BaseMatrix<?,?>>
内の divide
value
- 割る行列
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<?,?>>
内の leftDivide
value
- 割る行列
value
との積TransformableMatrix.leftDivide(org.mklab.nfc.matrix.TransformableMatrix)
public BaseMatrix<?,?> leftDivide(BaseMatrix<?,?> value)
value
との左商を求めます。
value
- 割られる行列
value
との左商public M unaryMinus()
Matrix
の記述:
Matrix
内の unaryMinus
Matrix.unaryMinus()
public M inverse()
Matrix
の記述:this
-1 )を返します。
Matrix
内の inverse
Matrix.inverse()
public M inverse(double tolerance, boolean stopIfSingular)
Matrix
の記述:this
-1 )を返します。
Matrix
内の inverse
tolerance
- 許容誤差stopIfSingular
- trueならば、正則でない場合、処理を中止し、例外を投げます。
Matrix.inverse(double, boolean)
public M conjugate()
Matrix
の記述:
Matrix
内の conjugate
Matrix.conjugate()
public M conjugateTranspose()
Matrix
の記述:
Matrix
内の conjugateTranspose
Matrix.conjugateTranspose()
public boolean isZero(double tolerance)
Matrix
の記述:
Matrix
内の isZero
tolerance
- 許容誤差
Matrix.isZero(double)
public boolean isUnit(double tolerance)
Matrix
の記述:
Matrix
内の isUnit
tolerance
- 許容誤差
Matrix.isUnit(double)
public BaseMatrix<?,?> addElementWise(Scalar<?> scalar)
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の addElementWise
scalar
- 加えるスカラー
MatrixElementWiseOperator.addElementWise(org.mklab.nfc.scalar.Scalar)
public BaseMatrix<?,?> addElementWise(int value)
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の addElementWise
value
- 加える整数
MatrixElementWiseOperator.addElementWise(int)
public M addElementWise(double value)
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の addElementWise
value
- 加える実数
MatrixElementWiseOperator.addElementWise(double)
public BaseMatrix<?,?> subtractElementWise(int value)
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の subtractElementWise
value
- 引く実数
MatrixElementWiseOperator.subtractElementWise(int)
public BaseMatrix<?,?> subtractElementWise(Scalar<?> value)
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の subtractElementWise
value
- 引くスカラー
MatrixElementWiseOperator.subtractElementWise(org.mklab.nfc.scalar.Scalar)
public M subtractElementWise(double value)
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の subtractElementWise
value
- 引く実数
MatrixElementWiseOperator.subtractElementWise(double)
public BaseMatrix<?,?> multiplyElementWise(TransformableMatrix<?> value)
TransformableMatrix
の記述:value
との成分毎の積を成分にもつ行列を返します。
TransformableMatrix<BaseMatrix<?,?>>
内の multiplyElementWise
value
- 乗じる行列
TransformableMatrix.multiplyElementWise(org.mklab.nfc.matrix.TransformableMatrix)
public BaseMatrix<?,?> multiplyElementWise(BaseMatrix<?,?> value)
value
との成分毎の積を求めます。
value
- 掛ける行列
value
との成分毎の積public BaseMatrix<?,?> divideElementWise(TransformableMatrix<?> value)
TransformableMatrix
の記述:value
との成分毎の商を成分にもつ行列を返します。
TransformableMatrix<BaseMatrix<?,?>>
内の divideElementWise
value
- 割る行列
TransformableMatrix.divideElementWise(org.mklab.nfc.matrix.TransformableMatrix)
public BaseMatrix<?,?> divideElementWise(BaseMatrix<?,?> value)
value
との成分毎の商を求めます。
value
- 割る行列
value
との成分毎の商public BaseMatrix<?,?> leftDivideElementWise(TransformableMatrix<?> value)
TransformableMatrix
の記述:value
との成分毎の左からの商を成分にもつ行列を返します。
TransformableMatrix<BaseMatrix<?,?>>
内の leftDivideElementWise
value
- 割られる行列
TransformableMatrix.leftDivideElementWise(org.mklab.nfc.matrix.TransformableMatrix)
public BaseMatrix<?,?> leftDivideElementWise(BaseMatrix<?,?> value)
value
との成分毎の左商(this
*value
)を求めます。
value
- 割られる行列
value
との成分毎の左商public BaseMatrix<?,?> inverseElementWise()
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の inverseElementWise
MatrixElementWiseOperator.inverseElementWise()
public M powerElementWise(int num)
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の powerElementWise
num
- 累乗の指数
MatrixElementWiseOperator.powerElementWise(int)
public M powerElementWise(IntMatrix matrix)
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の powerElementWise
matrix
- 累乗の指数を成分とする行列
MatrixElementWiseOperator.powerElementWise(org.mklab.nfc.matrix.IntMatrix)
public BooleanMatrix isNanElementWise()
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の isNanElementWise
MatrixElementWiseOperator.isNanElementWise()
public BooleanMatrix isFiniteElementWise()
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の isFiniteElementWise
MatrixElementWiseOperator.isFiniteElementWise()
public BooleanMatrix isInfiniteElementWise()
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の isInfiniteElementWise
MatrixElementWiseOperator.isInfiniteElementWise()
public BooleanMatrix compareElementWise(String operator, int value)
MatrixElementWiseOperator
の記述:value
をoperator
で指定された演算子で比較し,
BooleanMatrix
で返します。
MatrixElementWiseOperator
内の compareElementWise
operator
- 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")value
- 比較対象
MatrixElementWiseOperator.compareElementWise(java.lang.String, int)
public BooleanMatrix compareElementWise(String operator, double value)
MatrixElementWiseOperator
の記述:value
をoperator
で指定された演算子で比較し,
BooleanMatrix
で返します。
MatrixElementWiseOperator
内の compareElementWise
operator
- 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")value
- 比較対象
MatrixElementWiseOperator.compareElementWise(java.lang.String, double)
public BooleanMatrix compareElementWise(String operator, Scalar<?> value)
MatrixElementWiseOperator
の記述:value
をoperator
で指定された演算子で比較し,
BooleanMatrix
で返します。
MatrixElementWiseOperator
内の compareElementWise
operator
- 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")value
- 比較対象
MatrixElementWiseOperator.compareElementWise(java.lang.String,
org.mklab.nfc.scalar.Scalar)
public M sumColumnWise()
Matrix
の記述:
Matrix
内の sumColumnWise
Matrix.sumColumnWise()
public M sumRowWise()
Matrix
の記述:
Matrix
内の sumRowWise
Matrix.sumRowWise()
public M cumulativeSum()
Matrix
の記述:
Matrix
内の cumulativeSum
Matrix.cumulativeSum()
public M cumulativeSumRowWise()
Matrix
の記述:
Matrix
内の cumulativeSumRowWise
Matrix.cumulativeSumRowWise()
public M cumulativeSumColumnWise()
Matrix
の記述:
Matrix
内の cumulativeSumColumnWise
Matrix.cumulativeSumColumnWise()
public M productRowWise()
Matrix
の記述:
Matrix
内の productRowWise
Matrix.productRowWise()
public M productColumnWise()
Matrix
の記述:
Matrix
内の productColumnWise
Matrix.productColumnWise()
public M cumulativeProduct()
Matrix
の記述:
Matrix
内の cumulativeProduct
Matrix.cumulativeProduct()
public M cumulativeProductRowWise()
Matrix
の記述:
Matrix
内の cumulativeProductRowWise
Matrix.cumulativeProductRowWise()
public M cumulativeProductColumnWise()
Matrix
の記述:
Matrix
内の cumulativeProductColumnWise
Matrix.cumulativeProductColumnWise()
public M meanRowWise()
Matrix
の記述:
Matrix
内の meanRowWise
Matrix.meanRowWise()
public M meanColumnWise()
Matrix
の記述:
Matrix
内の meanColumnWise
Matrix.meanColumnWise()
public BaseMatrix<?,?> covariance(TransformableMatrix<?> value)
TransformableMatrix
の記述:opponent
との共分散行列を返します。
TransformableMatrix<BaseMatrix<?,?>>
内の covariance
value
- 対となるベクトル
TransformableMatrix.covariance(org.mklab.nfc.matrix.TransformableMatrix)
public BaseMatrix<?,?> covariance(BaseMatrix<?,?> opponent)
opponent
との共分散行列を返します。
opponent
- 対となるベクトル
public E sum()
MatrixElementOperator
の記述:
MatrixElementOperator<E extends Scalar<E>>
内の sum
MatrixElementOperator.sum()
public E mean()
MatrixElementOperator
の記述:
MatrixElementOperator<E extends Scalar<E>>
内の mean
MatrixElementOperator.mean()
public E variance()
MatrixElementOperator
の記述:
MatrixElementOperator<E extends Scalar<E>>
内の variance
MatrixElementOperator.variance()
public E trace()
MatrixElementOperator
の記述:
MatrixElementOperator<E extends Scalar<E>>
内の trace
MatrixElementOperator.trace()
public E product()
MatrixElementOperator
の記述:
MatrixElementOperator<E extends Scalar<E>>
内の product
MatrixElementOperator.product()
public E determinant()
MatrixElementOperator
の記述:
MatrixElementOperator<E extends Scalar<E>>
内の determinant
MatrixElementOperator.determinant()
public M ceilElementWise()
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の ceilElementWise
MatrixElementWiseOperator.ceilElementWise()
public M floorElementWise()
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の floorElementWise
MatrixElementWiseOperator.floorElementWise()
public M fixElementWise()
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の fixElementWise
MatrixElementWiseOperator.fixElementWise()
public M roundToZeroElementWise(double tolerance)
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の roundToZeroElementWise
tolerance
- 許容誤差
MatrixElementWiseOperator.roundToZeroElementWise(double)
public M roundElementWise()
MatrixElementWiseOperator
の記述:
MatrixElementWiseOperator
内の roundElementWise
MatrixElementWiseOperator.roundElementWise()
public M createUnit(int rowSize, int columnSize)
Matrix
の記述:rowSize
*columnSize
の単位行列を生成します。
Matrix
内の createUnit
rowSize
- 行の数columnSize
- 列の数
rowSize
*columnSize
の単位行列Matrix.createUnit(int, int)
public M createZero(int rowSize, int columnSize)
Matrix
の記述:rowSize
*columnSize
の零行列を生成します。
Matrix
内の createZero
rowSize
- 行の数columnSize
- 列の数
rowSize
*columnSize
の零行列Matrix.createZero(int, int)
public M createOnes(int rowSize, int columnSize)
Matrix
の記述:rowSize
*columnSize
の全成分が1である行列を生成します。
Matrix
内の createOnes
rowSize
- 行の数columnSize
- 列の数
rowSize
*columnSize
の全成分が1である行列Matrix.createOnes(int, int)
public boolean isComplex()
Matrix
の記述:
Matrix
内の isComplex
Matrix.isComplex()
public boolean isReal()
Matrix
の記述:
Matrix
内の isReal
Matrix.isReal()
public Matrix getRealPart()
Matrix
の記述:
Matrix
内の getRealPart
Matrix.getRealPart()
public Matrix getImaginaryPart()
Matrix
の記述:
Matrix
内の getImaginaryPart
Matrix.getImaginaryPart()
public void setRealPart(Matrix realPart)
Matrix
の記述:
Matrix
内の setRealPart
realPart
- 実部行列Matrix.setRealPart(org.mklab.nfc.matrix.Matrix)
public void setRealPart(IntMatrix realPart)
Matrix
の記述:
Matrix
内の setRealPart
realPart
- 実部行列Matrix.setRealPart(org.mklab.nfc.matrix.IntMatrix)
public void setRealPart(DoubleMatrix realPart)
Matrix
の記述:
Matrix
内の setRealPart
realPart
- 実部行列Matrix.setRealPart(org.mklab.nfc.matrix.DoubleMatrix)
public void setRealPart(BaseMatrix<?,?> realPart)
Matrix
の記述:
Matrix
内の setRealPart
realPart
- 実部行列Matrix.setRealPart(org.mklab.nfc.matrix.BaseMatrix)
public void setImaginaryPart(Matrix imagPart)
Matrix
の記述:
Matrix
内の setImaginaryPart
imagPart
- 虚部行列Matrix.setImaginaryPart(org.mklab.nfc.matrix.Matrix)
public void setImaginaryPart(IntMatrix imaginaryPart)
Matrix
の記述:
Matrix
内の setImaginaryPart
imaginaryPart
- 虚部行列Matrix.setImaginaryPart(org.mklab.nfc.matrix.IntMatrix)
public void setImaginaryPart(DoubleMatrix imaginaryPart)
Matrix
の記述:
Matrix
内の setImaginaryPart
imaginaryPart
- 虚部行列Matrix.setImaginaryPart(org.mklab.nfc.matrix.DoubleMatrix)
public void setImaginaryPart(BaseMatrix<?,?> imaginaryPart)
Matrix
の記述:
Matrix
内の setImaginaryPart
imaginaryPart
- 虚部行列Matrix.setImaginaryPart(org.mklab.nfc.matrix.BaseMatrix)
public Matrix toComplex()
Matrix
の記述:
Matrix
内の toComplex
Matrix.toComplex()
public void printElements(Writer output)
Grid
の記述:
Grid
内の printElements
output
- ライターGrid.printElements(java.io.Writer)
public void printElements(Writer output, int maxColumnSize)
Grid
の記述:
Grid
内の printElements
output
- ライターmaxColumnSize
- 1行の出力する列の最大数Grid.printElements(java.io.Writer, int)
public boolean isTransformableFrom(Matrix value)
Matrix
の記述:
Matrix
内の isTransformableFrom
AbstractMatrix<M extends BaseMatrix<M,E>>
内の isTransformableFrom
value
- 変換元
Matrix.isTransformableFrom(org.mklab.nfc.matrix.Matrix)
public Matrix transformFrom(Matrix value)
Matrix
の記述:
Matrix
内の transformFrom
AbstractMatrix<M extends BaseMatrix<M,E>>
内の transformFrom
value
- 変換元
Matrix.transformFrom(org.mklab.nfc.matrix.Matrix)
public boolean isTransformableTo(Matrix value)
Matrix
の記述:
Matrix
内の isTransformableTo
AbstractMatrix<M extends BaseMatrix<M,E>>
内の isTransformableTo
value
- 変換先
Matrix.isTransformableTo(org.mklab.nfc.matrix.Matrix)
public Matrix transformTo(Matrix value)
Matrix
の記述:
Matrix
内の transformTo
AbstractMatrix<M extends BaseMatrix<M,E>>
内の transformTo
value
- 変換先
Matrix.transformTo(org.mklab.nfc.matrix.Matrix)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |