org.mklab.nfc.matrix
クラス IntMatrix

java.lang.Object
  上位を拡張 org.mklab.nfc.matrix.AbstractGrid<M>
      上位を拡張 org.mklab.nfc.matrix.AbstractFundamentalMatrix<M>
          上位を拡張 org.mklab.nfc.matrix.AbstractMatrix<IntMatrix>
              上位を拡張 org.mklab.nfc.matrix.IntMatrix
すべての実装されたインタフェース:
Serializable, Cloneable, FundamentalMatrix, Grid, Matrix, MatrixElementWiseOperator, MatxObject
直系の既知のサブクラス:
MatxIntegerArray

public class IntMatrix
extends AbstractMatrix<IntMatrix>
implements MatxObject

int型の値を成分とする行列を表すクラスです。

バージョン:
$Revision: 1.152 $
作成者:
Koga Laboratory
関連項目:
直列化された形式

コンストラクタの概要
IntMatrix()
          新しく生成されたIntMatrixオブジェクトを初期化します。
IntMatrix(byte[] elements)
          elementsで与えられた成分をもつ行ベクトルを生成します。
IntMatrix(byte[][] elements)
          elementsで与えられた成分をもつ整数行列を生成します。
IntMatrix(DoubleMatrix matrix)
          新しく生成されたIntMatrixオブジェクトを初期化します。
IntMatrix(int[] elements)
          elementsで与えられた成分をもつ行ベクトルを生成します。
IntMatrix(int[][] elements)
          elementsで与えられた成分をもつ整数行列を生成します。
IntMatrix(int rowSize, int columnSize)
          rowSize*columnSizeの成分0の整数行列を生成します。
IntMatrix(int rowSize, int columnSize, byte[][] elements)
          elementsで与えられた成分をもつrowSize*columnSizeの整数行列を生成します。
IntMatrix(int rowSize, int columnSize, int[][] elements)
          elementsで与えられた成分をもつrowSize*columnSizeの整数行列を生成します。
 
メソッドの概要
 BaseMatrix<?,?> add(BaseMatrix<?,?> value)
          行列valueとの和(this+value)を返します。
 DoubleMatrix add(DoubleMatrix value)
          行列valueとの和(this+value)を返します。
 IntMatrix add(IntMatrix value)
          行列valueとの和(this+value)を返します。
 Matrix addElementWise(double scalar)
          成分毎に実数を加えます。
 IntMatrix addElementWise(int value)
          成分毎に整数を加えます。
 Matrix addElementWise(Scalar<?> value)
          成分毎にスカラーを加えます。
 IntMatrix appendDown(IntMatrix value)
          下側に行列valueを連結した行列を返します。
 IntMatrix appendRight(IntMatrix value)
          右側にvalueを連結した行列を返します。
 IntMatrix ceilElementWise()
          大きい整数に丸めます。
 IntMatrix clone()
          Object#clone()
 BooleanMatrix compareElementWise(String operator, double opponent)
          各成分とvalueoperatorで指定された演算子で比較し, BooleanMatrixで返します。
 BooleanMatrix compareElementWise(String operator, int opponent)
          各成分とvalueoperatorで指定された演算子で比較し, BooleanMatrixで返します。
 BooleanMatrix compareElementWise(String operator, IntMatrix opponent)
          opponentと成分毎にoperatorで指定された演算子で比較し, BooleanMatrixで返します。
 BooleanMatrix compareElementWise(String operator, Matrix opponent)
          opponentと成分毎にoperatorで指定された演算子で比較した結果を BooleanMatrixで返します。
 BooleanMatrix compareElementWise(String operator, Scalar<?> opponent)
          各成分とvalueoperatorで指定された演算子で比較し, BooleanMatrixで返します。
 IntMatrix conjugate()
          複素共役を返します。
 IntMatrix conjugateTranspose()
          各成分の共役複素数の転置行列を返します。
 void copy(IntMatrix source)
          各成分に実数行列sourceの各成分をコピーします。
 void copy(Matrix source)
          sourceの成分をコピーします。
 IntMatrix covariance(IntMatrix opponent)
          opponentとの共分散行列を返します。
 IntMatrix createOnes(int rowSize, int columnSize)
          rowSize*columnSizeの全成分が1である行列を生成します。
 IntMatrix createUnit(int rowSize, int columnSize)
          rowSize*columnSizeの単位行列を生成します。
 IntMatrix createZero(int rowSize, int columnSize)
          rowSize*columnSizeの零行列を生成します。
 IntMatrix cumulativeProduct()
          各要の累積積からなる行列を返します。
 IntMatrix cumulativeProductColumnWise()
          列毎の累積積行列を返します。
 IntMatrix cumulativeProductRowWise()
          行毎の累積積行列を返します。
 IntMatrix cumulativeSum()
          各要の累積和からなる行列を返します。
 IntMatrix cumulativeSumColumnWise()
          列毎の累積和行列を返します。
 IntMatrix cumulativeSumRowWise()
          行毎の累積和行列を返します。
static IntMatrix diagonal(int[] diagonalElements)
          対角行列を生成します。
 IntMatrix diagonalToVector()
          対角成分をからなる列ベクトルを生成します。
 BaseMatrix<?,?> divide(BaseMatrix<?,?> value)
          行列valueとの逆行列の積(this*m -1 )を返します。
 DoubleMatrix divide(double value)
          各成分と実数valueの商(this/value)を返します。
 DoubleMatrix divide(DoubleMatrix value)
          行列valueの逆行列との積(this*value -1 )を返します。
 IntMatrix divide(int value)
          各成分と整数valueの商(this/value)を返します。
 DoubleMatrix divide(IntMatrix value)
          行列valueの逆行列との積(this*value -1 )を返します。
 Matrix divide(Scalar<?> value)
          各成分とスカラーの商からなる行列を返します。
 DoubleMatrix divideElementWise(IntMatrix value)
          valueとの成分毎の商を成分にもつ行列を返します。
 boolean equals(IntMatrix opponent)
          行列opponentと等しか判定します。
 boolean equals(IntMatrix opponent, double tolerance)
          許容誤差範囲内で全ての成分が等しか判定します。
 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行を入れ替えます。
 IntMatrix fixElementWise()
          ゼロ方向の整数に丸めます。
 IntMatrix floorElementWise()
          小さい整数に丸めます。
static String getDefaultElementFormat()
          成分のデフォルト出力フォーマットを返します。
 int getElement(int index)
          ベクトルの成分を返します。
 int getElement(int row, int column)
          行列の成分を返します。
 IntMatrix getImaginaryPart()
          虚部行列を返します。
 IntMatrix getRealPart()
          実部行列を返します。
 IntMatrix getSubMatrix(int rowMin, int rowMax, int columnMin, int columnMax)
          部分行列this(rowMinimum:rowMaximum,columnMinimum:columnMaximum)を生成します。
 IntMatrix getSubMatrix(int rowMin, int rowMax, IntMatrix columnIndex)
          rowMinimum行からrowMaximum行目で、columnIndex で指定された列を成分とする部分行列を生成します。
 IntMatrix getSubMatrix(IntMatrix rowIndex, int columnMin, int columnMax)
          columnMinimum列からcolumnMaximum列まで、 rowIndexで指定された行を成分とする部分行列を生成します。
 IntMatrix getSubMatrix(IntMatrix rowIndex, IntMatrix columnIndex)
          rowIndexで指定された行で、columnIndex で指定された列を成分とする部分行列を生成します。
 IntMatrix getSubVector(IntMatrix index)
          行毎に数えindexで指定した成分を成分とする部分行列を生成します。
 int hashCode()
           
 DoubleMatrix inverse()
          逆行列(this -1 )を返します。
 Matrix inverse(double tolerance, boolean stopIfSingular)
          逆行列(this -1 )を返します。
 Matrix inverseElementWise()
          成分毎の逆数からなる行列を返します。
 boolean isComplex()
          複素成分をもつか判定します。
 BooleanMatrix isFiniteElementWise()
          各成分の有限性の真偽を成分にもつ行列を返します。
 BooleanMatrix isInfiniteElementWise()
          各成分の無限性の真偽を成分にもつ行列を返します。
 BooleanMatrix isNanElementWise()
          各成分の非数性の真偽を成分にもつ行列を返します。
 boolean isReal()
          実成分のみをもつか(複素成分をもたないか)判定します。
 boolean isTransformableFrom(Matrix value)
          引数で与えられた型から、この型へ変換可能か判定します。
 boolean isUnit(double tolerance)
          単位行列であるか判定します。
 boolean isZero(double tolerance)
          零行列であるか判定します。
 DoubleMatrix leftDivide(IntMatrix value)
          逆行列と行列valueとの積(this*value -1 )を返します。
 DoubleMatrix leftDivideElementWise(IntMatrix value)
          自身とvalueの成分毎の左からの商を成分にもつ行列を返します。
 IntMatrix maxElementWise(IntMatrix opponent)
          各成分の最大値をもつ行列を生成して返します。
 IntMatrix meanColumnWise()
          各成分列毎の平均値行ベクトルを返します。
 IntMatrix meanRowWise()
          各成分行毎の平均値列ベクトルを返します。
 IntMatrix minElementWise(IntMatrix opponent)
          各成分の最小値をもつ行列を生成して返します。
 BaseMatrix<?,?> multiply(BaseMatrix<?,?> value)
          行列valueとの積(this*value)を返します。
 DoubleMatrix multiply(double value)
          各成分と実数valueの積を(this*value)を返します。
 DoubleMatrix multiply(DoubleMatrix value)
          行列valueとの積(this*value)を返します。
 IntMatrix multiply(int value)
          各成分と整数valueの積を(this*value)を返します。
 IntMatrix multiply(IntMatrix value)
          行列valueとの積(this*value)を返します。
 Matrix multiply(Scalar<?> value)
          各成分とスカラーvalueの積を返します。
 IntMatrix multiplyElementWise(IntMatrix value)
          valueとの成分毎の積を成分にもつ行列を返します。
static IntMatrix ones(int size)
          size*sizeの全成分1の行列を生成します。
static IntMatrix ones(int rowSize, int columnSize)
          rowSize*columnSizeの全成分1の行列を生成します。
static IntMatrix ones(int rowNumber, int columNumber, Matrix block)
          行列blockrowNumber*colNumber 倍の全成分1の行列を生成します。
static IntMatrix ones(Matrix matrix)
          行列matrixと同サイズの全成分1の行列を生成します。
 DoubleMatrix powerElementWise(double scalar)
          成分毎に累乗します。
 DoubleMatrix powerElementWise(DoubleMatrix matrix)
          成分毎に累乗します。
 IntMatrix powerElementWise(int scalar)
          成分毎に累乗します。
static IntMatrix powerElementWise(int scalar, IntMatrix matrix)
          1個の整数について、行列の各成分の累乗を求めます。
 IntMatrix powerElementWise(IntMatrix matrix)
          成分毎に累乗します。
static Matrix powerElementWise(int scalar, Matrix matrix)
          1個の整数について、行列の各成分の累乗を求めます。
 NumericalMatrix<?> powerElementWise(NumericalMatrix<?> matrix)
          成分毎に累乗します。
 NumericalMatrix<?> powerElementWise(NumericalScalar<?> scalar)
          成分毎に累乗します。
 void printElements(Writer output)
          ライターに成分を出力します。
 void printElements(Writer output, int maxColumnSize)
          ライターに成分を出力します。
 int product()
          全ての成分の積を求めます。
 IntMatrix productColumnWise()
          列毎に掛けた行ベクトルを返します。
 IntMatrix productRowWise()
          行毎に掛けた列ベクトルを返します。
static IntMatrix readMxFormat(InputStream input, MxDataHead head)
          MatxMatrix.readMxFormat(InputStream) から呼ばれる中間メソッドです。
 IntMatrix remElementWise(double scalar)
          成分毎の剰余の結果からなる行列を返します。
 void removeColumnVectors(int min, int max)
          columnMin列からcolumnMax列までを削除します。
 void removeColumnVectors(IntMatrix index)
          columnIndexで指定された列を削除します。
 void removeRowVectors(int min, int max)
          rowMin行からrowMax行までを削除します。
 void removeRowVectors(IntMatrix index)
          rowIndexで指定された行を削除します。
 IntMatrix reshape(int newRowSize, int newColumnSize)
          サイズをnewRowSize*newColumnSizeに変更した行列を生成します。
 IntMatrix resize(int newRowSize, int newColumnSize)
          newRowSize*newColumnSizeにサイズ変更します。
 IntMatrix roundElementWise()
          最も近い整数に丸めます。
 IntMatrix roundToZeroElementWise(double tolerance)
          絶対値が小さい成分を0に丸めます。
static IntMatrix series(int from, int to)
          sourceからtoまでの連続する整数を成分にもつ行ベクトルを返します。
static IntMatrix series(int from, int to, int by)
          sourceからtoまでのby飛びの整数を成分にもつ行ベクトルを返します 。
static void setDefaultElementFormat(String format)
          成分のデフォルト出力フォーマットを設定します。
 void setElement(int index, int value)
          成分を行毎に数えindexで指定した位置に整数valueを代入します。
 void setElement(int row, int column, int value)
          指定した位置に整数valueを代入します。
 void setImaginaryPart(BaseMatrix<?,?> imaginaryPart)
          虚部行列を設定します。
 void setImaginaryPart(DoubleMatrix imaginaryPart)
          虚部行列を設定します。
 void setImaginaryPart(IntMatrix imaginaryPart)
          虚部行列を設定します。
 void setImaginaryPart(Matrix imaginaryPart)
          虚部行列を設定します。
 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, IntMatrix source)
          指定した成分に行列sourceを代入します。
 void setSubMatrix(int rowMin, int rowMax, int columnMin, int columnMax, Matrix source)
          指定した成分に行列sourceを代入します。
 void setSubMatrix(int rowMin, int rowMax, IntMatrix columnIndex, IntMatrix source)
          rowMin列からrowMax列目の成分のcolumnIndex で指定された行に、 行列sourceの成分を代入します。
 void setSubMatrix(int rowMin, int rowMax, IntMatrix columnIndex, Matrix source)
          rowMinimum列目からrowMaximum列目の成分のcolumnIndex で指定された行の成分に行列sourceを代入します。
 void setSubMatrix(IntMatrix rowIndex, int columnMin, int columnMax, IntMatrix source)
          rowIndexで指定した行のcolumnMin列からcolumnMax 列までの 行列sourceを代入します。
 void setSubMatrix(IntMatrix rowIndex, int columnMin, int columnMax, Matrix source)
          rowIndexで指定した行のcolumnMinimum列からcolumnMaximum 列までの行列sourceを代入します。
 void setSubMatrix(IntMatrix rowIndex, IntMatrix columnIndex, IntMatrix source)
          rowIndexで指定した行のcolumnIndexで指定した列に行列sourceを代入します。
 void setSubMatrix(IntMatrix rowIndex, IntMatrix columnIndex, Matrix source)
          rowIndexで指定した行のcolumnIndexで指定した列に行列sourceを代入します。
 void setSubVector(int min, int max, IntMatrix source)
          成分を行毎に数え、minからmaxまでにsourceの成分を代入します。
 void setSubVector(int min, int max, Matrix source)
          成分を行毎に数え、minimumからmaximumまでにsourceの成分を代入します。
 void setSubVector(IntMatrix index, IntMatrix source)
          indexで指定した各成分に行列sourceの成分を代入します。
 void setSubVector(IntMatrix index, Matrix source)
          indexで指定した各成分に行列sourceの成分を代入します。
 IndexedMatrix<IntMatrix> sort()
          全ての成分を昇順に並び替えた行列 と、 元の位置を示す指数(IntMatrix)を返します。
 IndexedMatrix<IntMatrix> sortColumnWise()
          列毎に昇順に並び替えた行列 と、 元の位置を示す指数(IntMatrix)を返します。
 IndexedMatrix<IntMatrix> sortRowWise()
          行毎に昇順に並び替えた行列 と、 元の位置を示す指数(IntMatrix)を返します。
 BaseMatrix<?,?> subtract(BaseMatrix<?,?> value)
          行列valueとの差(this-value)を返します。
 DoubleMatrix subtract(DoubleMatrix value)
          行列valueとの差(this-value)を返します。
 IntMatrix subtract(IntMatrix value)
          行列valueとの差(this-value)を返します。
 Matrix subtractElementWise(double scalar)
          成分毎に実数を引きます。
 IntMatrix subtractElementWise(int value)
          成分毎に実数を引きます。
 Matrix subtractElementWise(Scalar<?> value)
          成分毎にスカラーを引きます。
 int sum()
          全ての成分の和を求めます。
 IntMatrix sumColumnWise()
          列毎に加えた行ベクトルを返します。
 IntMatrix sumRowWise()
          行毎に加えた列ベクトルを返します。
 DoubleComplexMatrix toComplex()
          複素成分行列へ変換します。
 String toMmString()
          MM形式の文字列を生成します。
 String toMmString(String format)
          MM形式の文字列を生成します。
 IntMatrix transformFrom(Matrix value)
          引数で与えられた型からこの型へ変換します。
 IntMatrix transpose()
          転置行列(this T )を生成します。
 IntMatrix unaryMinus()
          符号を反転した値(-this)を返します。
static IntMatrix unit(int size)
          size*sizeの単位行列を生成します。
static IntMatrix unit(int rowSize, int columnSize)
          rowSize*columnSizeの単位行列を生成します。
static IntMatrix unit(int rowNumber, int columnNumber, Matrix block)
          行列matrixrowNumber*colNumber 倍の実単位行列を返します。
static IntMatrix unit(Matrix matrix)
          行列matrixと同サイズの実単位行列を返します。
 int variance()
          ベクトルの成分の分散を返します。
 IntMatrix vectorToDiagonal()
          列ベクトルまたは行ベクトルの各成分を対角成分に持つ行列を生成します。
 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形式でファイルへ出力します。
static IntMatrix zero(int rowNumber, int columnNumber, Matrix block)
          行列blockrowNumber*colNumber 倍の零行列を生成します。
static IntMatrix zero(Matrix matrix)
          行列matrixと同サイズの零行列を生成します。
 
クラス org.mklab.nfc.matrix.AbstractMatrix から継承されたメソッド
add, covariance, createOnes, createOnes, createOnes, createUnit, createUnit, createUnit, createZero, createZero, createZero, divide, divideElementWise, isTransformableTo, isUnit, isZero, leftDivide, leftDivide, leftDivide, leftDivide, leftDivideElementWise, multiply, multiplyElementWise, power, powerElementWise, roundToZeroElementWise, shiftLeft, shiftUp, subtract, transformTo, transformToSameClass
 
クラス org.mklab.nfc.matrix.AbstractFundamentalMatrix から継承されたメソッド
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.AbstractGrid から継承されたメソッド
count, getColumnSize, getDefaultElementAlignment, getElementAlignment, getElementFormat, getGridClassName, getPrintingElementsString, getPrintingString, getRowSize, hasSameColumnSize, hasSameRowSize, isEmpty, isSameSize, isSquare, length, print, print, print, removeColumnVector, removeRowVector, setColumnSize, setDefaultElementAlignment, setElementAlignment, setElementFormat, setRowSize, toString
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 
インタフェース 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
 

コンストラクタの詳細

IntMatrix

public IntMatrix()
新しく生成されたIntMatrixオブジェクトを初期化します。

0*0の整数行列を生成します。


IntMatrix

public IntMatrix(int[] elements)
elementsで与えられた成分をもつ行ベクトルを生成します。

パラメータ:
elements - ベクトルの成分をもつ配列

IntMatrix

public IntMatrix(byte[] elements)
elementsで与えられた成分をもつ行ベクトルを生成します。

パラメータ:
elements - ベクトルの成分をもつ配列

IntMatrix

public IntMatrix(int rowSize,
                 int columnSize)
rowSize*columnSizeの成分0の整数行列を生成します。

パラメータ:
rowSize - 行の数
columnSize - 列の数

IntMatrix

public IntMatrix(int rowSize,
                 int columnSize,
                 int[][] elements)
elementsで与えられた成分をもつrowSize*columnSizeの整数行列を生成します。

パラメータ:
rowSize - 行の数
columnSize - 列の数
elements - 行列の成分をもつ配列

IntMatrix

public IntMatrix(int rowSize,
                 int columnSize,
                 byte[][] elements)
elementsで与えられた成分をもつrowSize*columnSizeの整数行列を生成します。

パラメータ:
rowSize - 行の数
columnSize - 列の数
elements - 行列の成分をもつ配列

IntMatrix

public IntMatrix(int[][] elements)
elementsで与えられた成分をもつ整数行列を生成します。

パラメータ:
elements - 行列の成分をもつ配列

IntMatrix

public IntMatrix(byte[][] elements)
elementsで与えられた成分をもつ整数行列を生成します。

パラメータ:
elements - 行列の成分をもつ配列

IntMatrix

public IntMatrix(DoubleMatrix matrix)
新しく生成されたIntMatrixオブジェクトを初期化します。

パラメータ:
matrix - 実数行列
メソッドの詳細

setDefaultElementFormat

public static void setDefaultElementFormat(String format)
成分のデフォルト出力フォーマットを設定します。

パラメータ:
format - 成分のデフォルト出力フォーマット

getDefaultElementFormat

public static String getDefaultElementFormat()
成分のデフォルト出力フォーマットを返します。

戻り値:
成分のデフォルト出力フォーマット

equals

public boolean equals(Object opponent)
オーバーライド:
クラス Object 内の equals
関連項目:
Object.equals(java.lang.Object)

equals

public boolean equals(Matrix opponent,
                      double tolerance)
インタフェース FundamentalMatrix の記述:
行列opponentと値が許容誤差以内で等しいか判定します。

定義:
インタフェース FundamentalMatrix 内の equals
パラメータ:
opponent - 比較する行列
tolerance - 許容誤差
戻り値:
等しければtrue、そうでなければfalse
関連項目:
FundamentalMatrix.equals(org.mklab.nfc.matrix.Matrix, double)

equals

public boolean equals(IntMatrix opponent)
行列opponentと等しか判定します。

パラメータ:
opponent - 整数行列
戻り値:
opponentと等しければtrue,そうでなければfalse

equals

public boolean equals(IntMatrix opponent,
                      double tolerance)
許容誤差範囲内で全ての成分が等しか判定します。

パラメータ:
opponent - 整数行列
tolerance - 許容誤差
戻り値:
許容誤差範囲内で全ての成分が等しければtrue、そうでなければfalse

hashCode

public int hashCode()
オーバーライド:
クラス AbstractGrid<IntMatrix> 内の hashCode
関連項目:
AbstractGrid.hashCode()

isTransformableFrom

public boolean isTransformableFrom(Matrix value)
インタフェース Matrix の記述:
引数で与えられた型から、この型へ変換可能か判定します。

定義:
インタフェース Matrix 内の isTransformableFrom
オーバーライド:
クラス AbstractMatrix<IntMatrix> 内の isTransformableFrom
パラメータ:
value - 変換元
戻り値:
変換可能ならtrue、そうでなければfalse
関連項目:
Matrix.isTransformableFrom(org.mklab.nfc.matrix.Matrix)

transformFrom

public IntMatrix transformFrom(Matrix value)
インタフェース Matrix の記述:
引数で与えられた型からこの型へ変換します。

定義:
インタフェース Matrix 内の transformFrom
オーバーライド:
クラス AbstractMatrix<IntMatrix> 内の transformFrom
パラメータ:
value - 変換元
戻り値:
変換で生成された値
関連項目:
Matrix.transformFrom(org.mklab.nfc.matrix.Matrix)

unit

public static IntMatrix unit(int size)
size*sizeの単位行列を生成します。

パラメータ:
size - サイズ指定
戻り値:
size*sizeの単位行列

unit

public static IntMatrix unit(int rowSize,
                             int columnSize)
rowSize*columnSizeの単位行列を生成します。

パラメータ:
rowSize - 行の数
columnSize - 列の数
戻り値:
rowSize*columnSizeの単位行列

unit

public static IntMatrix unit(Matrix matrix)
行列matrixと同サイズの実単位行列を返します。

パラメータ:
matrix - 行列
戻り値:
単位行列

unit

public static IntMatrix unit(int rowNumber,
                             int columnNumber,
                             Matrix block)
行列matrixrowNumber*colNumber 倍の実単位行列を返します。

パラメータ:
rowNumber - 行方向の倍数
columnNumber - 列方向の倍数
block - 基本となる行列
戻り値:
matrixのrowNum * colNum倍の実単位行列

zero

public static IntMatrix zero(Matrix matrix)
行列matrixと同サイズの零行列を生成します。

パラメータ:
matrix - 行列
戻り値:
matrixと同サイズの零行列

zero

public static IntMatrix zero(int rowNumber,
                             int columnNumber,
                             Matrix block)
行列blockrowNumber*colNumber 倍の零行列を生成します。

パラメータ:
rowNumber - 行方向の倍数
columnNumber - 列方向の倍数
block - 基本となる行列
戻り値:
blockrowNumber * columnNumber倍の零行列

ones

public static IntMatrix ones(int size)
size*sizeの全成分1の行列を生成します。

パラメータ:
size - サイズ指定
戻り値:
size*sizeの全成分1の行列

ones

public static IntMatrix ones(int rowSize,
                             int columnSize)
rowSize*columnSizeの全成分1の行列を生成します。

パラメータ:
rowSize - 行番号の指定
columnSize - 列番号の指定
戻り値:
rowSize*columnSizeの全成分1の行列

ones

public static IntMatrix ones(Matrix matrix)
行列matrixと同サイズの全成分1の行列を生成します。

パラメータ:
matrix - 行列
戻り値:
全成分1の行列

ones

public static IntMatrix ones(int rowNumber,
                             int columNumber,
                             Matrix block)
行列blockrowNumber*colNumber 倍の全成分1の行列を生成します。

パラメータ:
rowNumber - 行方向の倍数
columNumber - 列方向の倍数
block - 基本となる行列
戻り値:
blockrowNumber * columnNumber倍の全成分1の行列

diagonal

public static IntMatrix diagonal(int[] diagonalElements)
対角行列を生成します。

パラメータ:
diagonalElements - 対角成分
戻り値:
対角行列

getElement

public int getElement(int index)
ベクトルの成分を返します。

パラメータ:
index - 成分の番号
戻り値:
ベクトルの整数成分

getElement

public int getElement(int row,
                      int column)
行列の成分を返します。

パラメータ:
row - 行番号
column - 列番号
戻り値:
指定した行列の成分

setSubMatrix

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)

setSubMatrix

public void setSubMatrix(IntMatrix rowIndex,
                         int columnMin,
                         int columnMax,
                         IntMatrix source)
rowIndexで指定した行のcolumnMin列からcolumnMax 列までの 行列sourceを代入します。

パラメータ:
rowIndex - 行番号を指定する指数
columnMin - 列の始まり
columnMax - 列の終わり
source - 代入する行列

setSubMatrix

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)

setSubMatrix

public void setSubMatrix(IntMatrix rowIndex,
                         IntMatrix columnIndex,
                         IntMatrix source)
rowIndexで指定した行のcolumnIndexで指定した列に行列sourceを代入します。

パラメータ:
rowIndex - 行番号を指定する指数
columnIndex - 列番号を指定する指数
source - 代入する行列

setSubMatrix

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)

setSubMatrix

public void setSubMatrix(int rowMin,
                         int rowMax,
                         IntMatrix columnIndex,
                         IntMatrix source)
rowMin列からrowMax列目の成分のcolumnIndex で指定された行に、 行列sourceの成分を代入します。

パラメータ:
rowMin - 行の始まり
rowMax - 行の終わり
columnIndex - 列指定ベクトル
source - 代入する行列

setSubVector

public void setSubVector(int min,
                         int max,
                         IntMatrix source)
成分を行毎に数え、minからmaxまでにsourceの成分を代入します。

パラメータ:
min - 開始位置(1から始まります)
max - 終了位置(1から始まります)
source - 代入するベクトル

setSubVector

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)

setSubVector

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)

setSubVector

public void setSubVector(IntMatrix index,
                         IntMatrix source)
indexで指定した各成分に行列sourceの成分を代入します。

パラメータ:
index - 成分の番号を指定する指数
source - 代入するベクトル

setElement

public void setElement(int index,
                       int value)
成分を行毎に数えindexで指定した位置に整数valueを代入します。

パラメータ:
index - 成分の番号
value - 代入する値

setElement

public void setElement(int row,
                       int column,
                       int value)
指定した位置に整数valueを代入します。

パラメータ:
row - 行番号
column - 列番号
value - 代入する整数

series

public static IntMatrix series(int from,
                               int to)
sourceからtoまでの連続する整数を成分にもつ行ベクトルを返します。

パラメータ:
from - 始点
to - 終点
戻り値:
連続する整数を成分にもつ行ベクトル

series

public static IntMatrix series(int from,
                               int to,
                               int by)
sourceからtoまでのby飛びの整数を成分にもつ行ベクトルを返します 。

パラメータ:
from - 始点
to - 終点
by - 間隔
戻り値:
sourceからtoまでのby飛びの整数をもつ行ベクトル

add

public IntMatrix add(IntMatrix value)
行列valueとの和(this+value)を返します。

パラメータ:
value - 実数行列
戻り値:
valueとの和

add

public DoubleMatrix add(DoubleMatrix value)
行列valueとの和(this+value)を返します。

パラメータ:
value - 実数行列
戻り値:
valueとの和

add

public BaseMatrix<?,?> add(BaseMatrix<?,?> value)
行列valueとの和(this+value)を返します。

パラメータ:
value - 行列
戻り値:
valueとの和

subtract

public IntMatrix subtract(IntMatrix value)
行列valueとの差(this-value)を返します。

パラメータ:
value - 行列
戻り値:
valueとの差

addElementWise

public IntMatrix addElementWise(int value)
インタフェース MatrixElementWiseOperator の記述:
成分毎に整数を加えます。

定義:
インタフェース MatrixElementWiseOperator 内の addElementWise
パラメータ:
value - 加える整数
戻り値:
加算の結果
関連項目:
MatrixElementWiseOperator.addElementWise(int)

subtractElementWise

public IntMatrix subtractElementWise(int value)
インタフェース MatrixElementWiseOperator の記述:
成分毎に実数を引きます。

定義:
インタフェース MatrixElementWiseOperator 内の subtractElementWise
パラメータ:
value - 引く実数
戻り値:
減算の結果
関連項目:
MatrixElementWiseOperator.subtractElementWise(int)

subtract

public DoubleMatrix subtract(DoubleMatrix value)
行列valueとの差(this-value)を返します。

パラメータ:
value - 行列
戻り値:
valueとの差

subtract

public BaseMatrix<?,?> subtract(BaseMatrix<?,?> value)
行列valueとの差(this-value)を返します。

パラメータ:
value - 行列
戻り値:
valueとの差

multiply

public IntMatrix multiply(int value)
インタフェース Matrix の記述:
各成分と整数valueの積を(this*value)を返します。

定義:
インタフェース Matrix 内の multiply
パラメータ:
value - 整数
戻り値:
各成分と整数valueの積
関連項目:
Matrix.multiply(int)

multiply

public DoubleMatrix multiply(double value)
インタフェース Matrix の記述:
各成分と実数valueの積を(this*value)を返します。

定義:
インタフェース Matrix 内の multiply
パラメータ:
value - 実数
戻り値:
各成分と実数valueの積
関連項目:
Matrix.multiply(double)

multiply

public Matrix multiply(Scalar<?> value)
インタフェース Matrix の記述:
各成分とスカラーvalueの積を返します。

定義:
インタフェース Matrix 内の multiply
パラメータ:
value - スカラー
戻り値:
各成分とvalueの積
関連項目:
Matrix.multiply(org.mklab.nfc.scalar.Scalar)

multiplyElementWise

public IntMatrix multiplyElementWise(IntMatrix value)
valueとの成分毎の積を成分にもつ行列を返します。

パラメータ:
value - 実数行列
戻り値:
掛け算の結果

multiply

public IntMatrix multiply(IntMatrix value)
行列valueとの積(this*value)を返します。

パラメータ:
value - 整数行列
戻り値:
valueとの積

multiply

public DoubleMatrix multiply(DoubleMatrix value)
行列valueとの積(this*value)を返します。

パラメータ:
value - 実数行列
戻り値:
valueとの積

multiply

public BaseMatrix<?,?> multiply(BaseMatrix<?,?> value)
行列valueとの積(this*value)を返します。

パラメータ:
value - 行列
戻り値:
valueとの積

conjugate

public IntMatrix conjugate()
複素共役を返します。

定義:
インタフェース Matrix 内の conjugate
戻り値:
複素共役

powerElementWise

public IntMatrix powerElementWise(int scalar)
インタフェース MatrixElementWiseOperator の記述:
成分毎に累乗します。

定義:
インタフェース MatrixElementWiseOperator 内の powerElementWise
パラメータ:
scalar - 累乗の指数
戻り値:
累乗の結果
関連項目:
MatrixElementWiseOperator.powerElementWise(int)

powerElementWise

public DoubleMatrix powerElementWise(double scalar)
成分毎に累乗します。

パラメータ:
scalar - 累乗の指数
戻り値:
累乗の結果

powerElementWise

public NumericalMatrix<?> powerElementWise(NumericalScalar<?> scalar)
成分毎に累乗します。

パラメータ:
scalar - 累乗の指数
戻り値:
累乗の結果

powerElementWise

public IntMatrix powerElementWise(IntMatrix matrix)
インタフェース MatrixElementWiseOperator の記述:
成分毎に累乗します。

定義:
インタフェース MatrixElementWiseOperator 内の powerElementWise
パラメータ:
matrix - 累乗の指数を成分とする行列
戻り値:
累乗の結果
関連項目:
MatrixElementWiseOperator.powerElementWise(org.mklab.nfc.matrix.IntMatrix)

powerElementWise

public DoubleMatrix powerElementWise(DoubleMatrix matrix)
成分毎に累乗します。

パラメータ:
matrix - 累乗の指数を成分とする行列
戻り値:
累乗の結果

powerElementWise

public NumericalMatrix<?> powerElementWise(NumericalMatrix<?> matrix)
成分毎に累乗します。

パラメータ:
matrix - 累乗の指数を成分とする行列
戻り値:
累乗の結果

powerElementWise

public static IntMatrix powerElementWise(int scalar,
                                         IntMatrix matrix)
1個の整数について、行列の各成分の累乗を求めます。

パラメータ:
scalar - 累乗の対象
matrix - 累乗の指数を成分とする行列
戻り値:
累乗の結果

powerElementWise

public static Matrix powerElementWise(int scalar,
                                      Matrix matrix)
1個の整数について、行列の各成分の累乗を求めます。

パラメータ:
scalar - 累乗の対象
matrix - 累乗の指数を成分とする行列
戻り値:
累乗の結果

isZero

public boolean isZero(double tolerance)
インタフェース Matrix の記述:
零行列であるか判定します。

定義:
インタフェース Matrix 内の isZero
パラメータ:
tolerance - 許容誤差
戻り値:
零行列ならばtrue、そうでなければfalse
関連項目:
Matrix.isZero(double)

isUnit

public boolean isUnit(double tolerance)
インタフェース Matrix の記述:
単位行列であるか判定します。

定義:
インタフェース Matrix 内の isUnit
パラメータ:
tolerance - 許容誤差
戻り値:
単位行列ならばtrue、そうでなければfalse
関連項目:
Matrix.isUnit(double)

inverse

public DoubleMatrix inverse()
インタフェース Matrix の記述:
逆行列(this -1 )を返します。

定義:
インタフェース Matrix 内の inverse
戻り値:
逆行列
関連項目:
Matrix.inverse()

divide

public IntMatrix divide(int value)
インタフェース Matrix の記述:
各成分と整数valueの商(this/value)を返します。

定義:
インタフェース Matrix 内の divide
パラメータ:
value - 割る整数
戻り値:
各成分とvalueとの商
関連項目:
Matrix.divide(int)

divide

public DoubleMatrix divide(double value)
インタフェース Matrix の記述:
各成分と実数valueの商(this/value)を返します。

定義:
インタフェース Matrix 内の divide
パラメータ:
value - 割る実数
戻り値:
各成分とvalueとの商
関連項目:
Matrix.divide(double)

divide

public Matrix divide(Scalar<?> value)
インタフェース Matrix の記述:
各成分とスカラーの商からなる行列を返します。

定義:
インタフェース Matrix 内の divide
パラメータ:
value - スカラー
戻り値:
各成分とvalueの商
関連項目:
Matrix.divide(org.mklab.nfc.scalar.Scalar)

divide

public DoubleMatrix divide(IntMatrix value)
行列valueの逆行列との積(this*value -1 )を返します。

パラメータ:
value - 行列
戻り値:
mとの逆行列の積

divide

public DoubleMatrix divide(DoubleMatrix value)
行列valueの逆行列との積(this*value -1 )を返します。

パラメータ:
value - 行列
戻り値:
valueの逆行列との積

divide

public BaseMatrix<?,?> divide(BaseMatrix<?,?> value)
行列valueとの逆行列の積(this*m -1 )を返します。

パラメータ:
value - 行列
戻り値:
valueとの逆行列の積

divideElementWise

public DoubleMatrix divideElementWise(IntMatrix value)
valueとの成分毎の商を成分にもつ行列を返します。

パラメータ:
value - 割る行列
戻り値:
割り算の結果

leftDivide

public DoubleMatrix leftDivide(IntMatrix value)
逆行列と行列valueとの積(this*value -1 )を返します。

パラメータ:
value - 行列
戻り値:
逆行列とvalueとの積

leftDivideElementWise

public DoubleMatrix leftDivideElementWise(IntMatrix value)
自身とvalueの成分毎の左からの商を成分にもつ行列を返します。

パラメータ:
value - 割られる行列
戻り値:
割り算の結果

unaryMinus

public IntMatrix unaryMinus()
インタフェース Matrix の記述:
符号を反転した値(-this)を返します。

定義:
インタフェース Matrix 内の unaryMinus
戻り値:
符号を反転した値
関連項目:
Matrix.unaryMinus()

transpose

public IntMatrix transpose()
インタフェース FundamentalMatrix の記述:
転置行列(this T )を生成します。

定義:
インタフェース FundamentalMatrix 内の transpose
戻り値:
転置行列
関連項目:
FundamentalMatrix.transpose()

conjugateTranspose

public IntMatrix conjugateTranspose()
インタフェース Matrix の記述:
各成分の共役複素数の転置行列を返します。

定義:
インタフェース Matrix 内の conjugateTranspose
戻り値:
複素共役転置
関連項目:
Matrix.conjugateTranspose()

getSubMatrix

public IntMatrix 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)

getSubVector

public IntMatrix getSubVector(IntMatrix index)
インタフェース FundamentalMatrix の記述:
行毎に数えindexで指定した成分を成分とする部分行列を生成します。

定義:
インタフェース FundamentalMatrix 内の getSubVector
パラメータ:
index - 行番号を含むベクトル
戻り値:
部分行列
関連項目:
FundamentalMatrix.getSubVector(org.mklab.nfc.matrix.IntMatrix)

getSubMatrix

public IntMatrix 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)

getSubMatrix

public IntMatrix 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)

getSubMatrix

public IntMatrix getSubMatrix(IntMatrix rowIndex,
                              IntMatrix columnIndex)
インタフェース FundamentalMatrix の記述:
rowIndexで指定された行で、columnIndex で指定された列を成分とする部分行列を生成します。

定義:
インタフェース FundamentalMatrix 内の getSubMatrix
パラメータ:
rowIndex - 行指定ベクトル
columnIndex - 列指定ベクトル
戻り値:
部分行列
関連項目:
FundamentalMatrix.getSubMatrix(org.mklab.nfc.matrix.IntMatrix, org.mklab.nfc.matrix.IntMatrix)

appendDown

public IntMatrix appendDown(IntMatrix value)
下側に行列valueを連結した行列を返します。

パラメータ:
value - つける行列
戻り値:
下側にvalueを連結した行列

appendRight

public IntMatrix appendRight(IntMatrix value)
右側にvalueを連結した行列を返します。

パラメータ:
value - つける整数行列
戻り値:
右側にvalueを連結した行列

printElements

public void printElements(Writer output)
インタフェース Grid の記述:
ライターに成分を出力します。

定義:
インタフェース Grid 内の printElements
パラメータ:
output - ライター
関連項目:
Grid.printElements(java.io.Writer)

printElements

public void printElements(Writer output,
                          int maxColumnSize)
インタフェース Grid の記述:
ライターに成分を出力します。

定義:
インタフェース Grid 内の printElements
パラメータ:
output - ライター
maxColumnSize - 1行の出力する列の最大数
関連項目:
Grid.printElements(java.io.Writer, int)

clone

public IntMatrix clone()
クラス AbstractGrid の記述:
Object#clone()

定義:
インタフェース Grid 内の clone
オーバーライド:
クラス AbstractGrid<IntMatrix> 内の clone
戻り値:
複製(クローン)
関連項目:
AbstractGrid.clone()

exchangeRow

public void exchangeRow(int row1,
                        int row2)
インタフェース Grid の記述:
row1行とrow2行を入れ替えます。

定義:
インタフェース Grid 内の exchangeRow
パラメータ:
row1 - 行番号1
row2 - 行番号1
関連項目:
Grid.exchangeRow(int, int)

exchangeColumn

public void exchangeColumn(int column1,
                           int column2)
インタフェース Grid の記述:
column1列とcolumn2列を入れ替えます。

定義:
インタフェース Grid 内の exchangeColumn
パラメータ:
column1 - 列番号1
column2 - 列番号2
関連項目:
Grid.exchangeColumn(int, int)

copy

public void copy(Matrix source)
インタフェース FundamentalMatrix の記述:
sourceの成分をコピーします。

定義:
インタフェース FundamentalMatrix 内の copy
パラメータ:
source - コピー元の行列
関連項目:
FundamentalMatrix.copy(org.mklab.nfc.matrix.Matrix)

copy

public void copy(IntMatrix source)
各成分に実数行列sourceの各成分をコピーします。

パラメータ:
source - 実数行列

diagonalToVector

public IntMatrix diagonalToVector()
インタフェース FundamentalMatrix の記述:
対角成分をからなる列ベクトルを生成します。

定義:
インタフェース FundamentalMatrix 内の diagonalToVector
戻り値:
対角成分からなる列ベクトル
関連項目:
FundamentalMatrix.diagonalToVector()

vectorToDiagonal

public IntMatrix vectorToDiagonal()
インタフェース FundamentalMatrix の記述:
列ベクトルまたは行ベクトルの各成分を対角成分に持つ行列を生成します。

定義:
インタフェース FundamentalMatrix 内の vectorToDiagonal
戻り値:
対角成分からなる縦ベクトル
関連項目:
FundamentalMatrix.vectorToDiagonal()

reshape

public IntMatrix reshape(int newRowSize,
                         int newColumnSize)
インタフェース FundamentalMatrix の記述:
サイズをnewRowSize*newColumnSizeに変更した行列を生成します。

成分は、行方向の成分順に並べ替えられます。 newRowSize * newColumnSize個の成分を持っていないと、エラーになる。

定義:
インタフェース FundamentalMatrix 内の reshape
パラメータ:
newRowSize - 行の数
newColumnSize - 列の数
戻り値:
サイズ変更された行列
関連項目:
FundamentalMatrix.reshape(int, int)

resize

public IntMatrix resize(int newRowSize,
                        int newColumnSize)
インタフェース FundamentalMatrix の記述:
newRowSize*newColumnSizeにサイズ変更します。

FundamentalMatrix.reshape(int, int)とは異なり、成分位置の変更はせず, 自身より大きなサイズに変更する時は、0で埋められ、 自身より小さなサイズに変更する時は余分な成分は切り取られます。

定義:
インタフェース FundamentalMatrix 内の resize
パラメータ:
newRowSize - 指定行の数
newColumnSize - 指定列の数
戻り値:
サイズ変更後の行列
関連項目:
FundamentalMatrix.resize(int, int)

removeColumnVectors

public void removeColumnVectors(int min,
                                int max)
インタフェース Grid の記述:
columnMin列からcolumnMax列までを削除します。

定義:
インタフェース Grid 内の removeColumnVectors
パラメータ:
min - 列の始まり
max - 列の終わり
関連項目:
Grid.removeColumnVectors(int, int)

removeColumnVectors

public void removeColumnVectors(IntMatrix index)
インタフェース Grid の記述:
columnIndexで指定された列を削除します。

定義:
インタフェース Grid 内の removeColumnVectors
パラメータ:
index - 列指定ベクトル
関連項目:
Grid.removeColumnVectors(org.mklab.nfc.matrix.IntMatrix)

removeRowVectors

public void removeRowVectors(int min,
                             int max)
インタフェース Grid の記述:
rowMin行からrowMax行までを削除します。

定義:
インタフェース Grid 内の removeRowVectors
パラメータ:
min - 行の始まり
max - 行の終わり
関連項目:
Grid.removeRowVectors(int, int)

removeRowVectors

public void removeRowVectors(IntMatrix index)
インタフェース Grid の記述:
rowIndexで指定された行を削除します。

定義:
インタフェース Grid 内の removeRowVectors
パラメータ:
index - 行指定ベクトル
関連項目:
Grid.removeRowVectors(org.mklab.nfc.matrix.IntMatrix)

sort

public IndexedMatrix<IntMatrix> sort()
全ての成分を昇順に並び替えた行列 と、 元の位置を示す指数(IntMatrix)を返します。 自身が複素行列のときは、絶対値でソートします。

戻り値:
ソートされた結果

sortRowWise

public IndexedMatrix<IntMatrix> sortRowWise()
行毎に昇順に並び替えた行列 と、 元の位置を示す指数(IntMatrix)を返します。 自身が複素行列のときは、絶対値でソートします。

戻り値:
ソートされた結果

sortColumnWise

public IndexedMatrix<IntMatrix> sortColumnWise()
列毎に昇順に並び替えた行列 と、 元の位置を示す指数(IntMatrix)を返します。 自身が複素行列のときは、絶対値でソートします。

戻り値:
ソートされた結果

sum

public int sum()
全ての成分の和を求めます。

戻り値:
全ての成分の和

product

public int product()
全ての成分の積を求めます。

戻り値:
全ての成分の積

productRowWise

public IntMatrix productRowWise()
インタフェース Matrix の記述:
行毎に掛けた列ベクトルを返します。

定義:
インタフェース Matrix 内の productRowWise
戻り値:
行毎積列ベクトル
関連項目:
Matrix.productRowWise()

productColumnWise

public IntMatrix productColumnWise()
インタフェース Matrix の記述:
列毎に掛けた行ベクトルを返します。

定義:
インタフェース Matrix 内の productColumnWise
戻り値:
列毎積行ベクトル
関連項目:
Matrix.productColumnWise()

compareElementWise

public BooleanMatrix compareElementWise(String operator,
                                        int opponent)
インタフェース MatrixElementWiseOperator の記述:
各成分とvalueoperatorで指定された演算子で比較し, BooleanMatrixで返します。

定義:
インタフェース MatrixElementWiseOperator 内の compareElementWise
パラメータ:
operator - 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")
opponent - 比較対象
戻り値:
各成分に比較結果が入ったBooleanMatrix
関連項目:
MatrixElementWiseOperator.compareElementWise(java.lang.String, int)

compareElementWise

public BooleanMatrix compareElementWise(String operator,
                                        double opponent)
インタフェース MatrixElementWiseOperator の記述:
各成分とvalueoperatorで指定された演算子で比較し, BooleanMatrixで返します。

定義:
インタフェース MatrixElementWiseOperator 内の compareElementWise
パラメータ:
operator - 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")
opponent - 比較対象
戻り値:
各成分に比較結果が入ったBooleanMatrix
関連項目:
MatrixElementWiseOperator.compareElementWise(java.lang.String, double)

compareElementWise

public BooleanMatrix compareElementWise(String operator,
                                        Scalar<?> opponent)
インタフェース MatrixElementWiseOperator の記述:
各成分とvalueoperatorで指定された演算子で比較し, BooleanMatrixで返します。

定義:
インタフェース MatrixElementWiseOperator 内の compareElementWise
パラメータ:
operator - 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")
opponent - 比較対象
戻り値:
各成分に比較結果が入ったBooleanMatrix
関連項目:
MatrixElementWiseOperator.compareElementWise(java.lang.String, org.mklab.nfc.scalar.Scalar)

compareElementWise

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)

compareElementWise

public BooleanMatrix compareElementWise(String operator,
                                        IntMatrix opponent)
opponentと成分毎にoperatorで指定された演算子で比較し, BooleanMatrixで返します。

パラメータ:
operator - 比較演算子(". <", ". <=", ".>", ".>=", ".==", ".!=")
opponent - 比較対象
戻り値:
各成分に比較結果が入ったBooleanMatrix

writeMxFormat

public void writeMxFormat(OutputStream output,
                          String name)
                   throws IOException
インタフェース MatxObject の記述:
データをMX形式で出力ストリームへ出力します。 outputがcloseされるまで、いくつでも出力可能です。

定義:
インタフェース MatxObject 内の writeMxFormat
パラメータ:
output - 出力ストリーム
name - データの名前
例外:
IOException - 出力ストリームに出力できない場合
関連項目:
MatxObject.writeMxFormat(java.io.OutputStream, java.lang.String)

writeMxFormat

public void writeMxFormat(String fileName,
                          String name)
                   throws IOException
インタフェース MatxObject の記述:
データをMX形式でファイルへ出力します。

定義:
インタフェース MatxObject 内の writeMxFormat
パラメータ:
fileName - ファイル名
name - データの名前
例外:
IOException - ファイルに出力できない場合
関連項目:
MatxObject.writeMxFormat(java.lang.String, java.lang.String)

readMxFormat

public static IntMatrix readMxFormat(InputStream input,
                                     MxDataHead head)
                              throws IOException
MatxMatrix.readMxFormat(InputStream) から呼ばれる中間メソッドです。 このメソッドは直接使わず
MatrixA = Matrix. MatxMatrix.readMxFormat(String)
の形でMatrixMatxMatrix.readMxFormat(String)を使う

パラメータ:
input - 入力ストリーム
head - ヘッダー
戻り値:
mxファイルから読み込み,生成された行列
例外:
IOException - 入力ストリームから読み込めない場合

toMmString

public String toMmString()
インタフェース MatxObject の記述:
MM形式の文字列を生成します。

定義:
インタフェース MatxObject 内の toMmString
戻り値:
MM形式の文字列
関連項目:
MatxObject.toMmString()

toMmString

public String toMmString(String format)
インタフェース MatxObject の記述:
MM形式の文字列を生成します。

定義:
インタフェース MatxObject 内の toMmString
パラメータ:
format - 出力フォーマット
戻り値:
MM形式の文字列
関連項目:
MatxObject.toMmString(java.lang.String)

writeMmFormat

public void writeMmFormat(String fileName,
                          String name)
                   throws IOException
インタフェース MatxObject の記述:
MMファイル形式で行列データをファイルに出力します。

定義:
インタフェース MatxObject 内の writeMmFormat
パラメータ:
fileName - ファイル名
name - 名前
例外:
IOException - ファイルに出力できない場合
関連項目:
MatxObject.writeMmFormat(java.lang.String, java.lang.String)

writeMmFormat

public void writeMmFormat(Writer output,
                          String name,
                          boolean withNewLine)
                   throws IOException
インタフェース MatxObject の記述:
MMフォーマット行列データをライターに出力します。

定義:
インタフェース MatxObject 内の writeMmFormat
パラメータ:
output - ライター
name - 名前
withNewLine - セミコロンと改行コードを出力するならばtrue、そうでなければfalse
例外:
IOException - ライターに出力できない場合
関連項目:
MatxObject.writeMmFormat(java.io.Writer, java.lang.String, boolean)

writeMatFormat

public void writeMatFormat(String fileName)
                    throws IOException
指定したファイルにMATフォーマットで保存します。

パラメータ:
fileName - ファイル名
例外:
IOException - ファイルに出力できない場合

writeMatFormat

public void writeMatFormat(OutputStream output)
                    throws IOException
データを出力ストリームにMATフォーマットで出力します。

パラメータ:
output - 出力ストリーム
例外:
IOException - 入出力エラーが発生した場合

setSubMatrix

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)

setSubMatrix

public void setSubMatrix(int rowMin,
                         int rowMax,
                         int columnMin,
                         int columnMax,
                         IntMatrix source)
指定した成分に行列sourceを代入します。

パラメータ:
rowMin - 開始行番号(1から始まります)
rowMax - 終了行番号(1から始まります)
columnMin - 開始列番号(1から始まります)
columnMax - 終了列番号(1から始まります)
source - 代入する行列

inverseElementWise

public Matrix inverseElementWise()
インタフェース MatrixElementWiseOperator の記述:
成分毎の逆数からなる行列を返します。

定義:
インタフェース MatrixElementWiseOperator 内の inverseElementWise
戻り値:
成分毎逆数行列
関連項目:
MatrixElementWiseOperator.inverseElementWise()

isFiniteElementWise

public BooleanMatrix isFiniteElementWise()
インタフェース MatrixElementWiseOperator の記述:
各成分の有限性の真偽を成分にもつ行列を返します。

定義:
インタフェース MatrixElementWiseOperator 内の isFiniteElementWise
戻り値:
有限性のboolean行列
関連項目:
MatrixElementWiseOperator.isFiniteElementWise()

isInfiniteElementWise

public BooleanMatrix isInfiniteElementWise()
インタフェース MatrixElementWiseOperator の記述:
各成分の無限性の真偽を成分にもつ行列を返します。

定義:
インタフェース MatrixElementWiseOperator 内の isInfiniteElementWise
戻り値:
無限性のboolean行列
関連項目:
MatrixElementWiseOperator.isInfiniteElementWise()

isNanElementWise

public BooleanMatrix isNanElementWise()
インタフェース MatrixElementWiseOperator の記述:
各成分の非数性の真偽を成分にもつ行列を返します。

定義:
インタフェース MatrixElementWiseOperator 内の isNanElementWise
戻り値:
非数性のboolean行列
関連項目:
MatrixElementWiseOperator.isNanElementWise()

addElementWise

public Matrix addElementWise(double scalar)
インタフェース MatrixElementWiseOperator の記述:
成分毎に実数を加えます。

定義:
インタフェース MatrixElementWiseOperator 内の addElementWise
パラメータ:
scalar - 加える実数
戻り値:
加算の結果
関連項目:
MatrixElementWiseOperator.addElementWise(double)

addElementWise

public Matrix addElementWise(Scalar<?> value)
インタフェース MatrixElementWiseOperator の記述:
成分毎にスカラーを加えます。

定義:
インタフェース MatrixElementWiseOperator 内の addElementWise
パラメータ:
value - 加えるスカラー
戻り値:
加算の結果
関連項目:
MatrixElementWiseOperator.addElementWise(org.mklab.nfc.scalar.Scalar)

subtractElementWise

public Matrix subtractElementWise(double scalar)
インタフェース MatrixElementWiseOperator の記述:
成分毎に実数を引きます。

定義:
インタフェース MatrixElementWiseOperator 内の subtractElementWise
パラメータ:
scalar - 引く実数
戻り値:
減算の結果
関連項目:
MatrixElementWiseOperator.subtractElementWise(double)

subtractElementWise

public Matrix subtractElementWise(Scalar<?> value)
インタフェース MatrixElementWiseOperator の記述:
成分毎にスカラーを引きます。

定義:
インタフェース MatrixElementWiseOperator 内の subtractElementWise
パラメータ:
value - 引くスカラー
戻り値:
減算の結果
関連項目:
MatrixElementWiseOperator.subtractElementWise(org.mklab.nfc.scalar.Scalar)

remElementWise

public IntMatrix remElementWise(double scalar)
成分毎の剰余の結果からなる行列を返します。

パラメータ:
scalar - 割る数
戻り値:
成分毎剰余行列

cumulativeSum

public IntMatrix cumulativeSum()
インタフェース Matrix の記述:
各要の累積和からなる行列を返します。

定義:
インタフェース Matrix 内の cumulativeSum
戻り値:
累積和行列
関連項目:
Matrix.cumulativeSum()

cumulativeSumRowWise

public IntMatrix cumulativeSumRowWise()
インタフェース Matrix の記述:
行毎の累積和行列を返します。

定義:
インタフェース Matrix 内の cumulativeSumRowWise
戻り値:
行毎の累積和行列
関連項目:
Matrix.cumulativeSumRowWise()

cumulativeSumColumnWise

public IntMatrix cumulativeSumColumnWise()
インタフェース Matrix の記述:
列毎の累積和行列を返します。

定義:
インタフェース Matrix 内の cumulativeSumColumnWise
戻り値:
列毎の累積和行列
関連項目:
Matrix.cumulativeSumColumnWise()

cumulativeProduct

public IntMatrix cumulativeProduct()
インタフェース Matrix の記述:
各要の累積積からなる行列を返します。

定義:
インタフェース Matrix 内の cumulativeProduct
戻り値:
累積積行列
関連項目:
Matrix.cumulativeProduct()

cumulativeProductRowWise

public IntMatrix cumulativeProductRowWise()
インタフェース Matrix の記述:
行毎の累積積行列を返します。

定義:
インタフェース Matrix 内の cumulativeProductRowWise
戻り値:
行毎の累積積行列
関連項目:
Matrix.cumulativeProductRowWise()

cumulativeProductColumnWise

public IntMatrix cumulativeProductColumnWise()
インタフェース Matrix の記述:
列毎の累積積行列を返します。

定義:
インタフェース Matrix 内の cumulativeProductColumnWise
戻り値:
列毎の累積積行列
関連項目:
Matrix.cumulativeProductColumnWise()

sumColumnWise

public IntMatrix sumColumnWise()
インタフェース Matrix の記述:
列毎に加えた行ベクトルを返します。

定義:
インタフェース Matrix 内の sumColumnWise
戻り値:
列毎加算行ベクトル
関連項目:
Matrix.sumColumnWise()

sumRowWise

public IntMatrix sumRowWise()
インタフェース Matrix の記述:
行毎に加えた列ベクトルを返します。

定義:
インタフェース Matrix 内の sumRowWise
戻り値:
行毎加算列ベクトル
関連項目:
Matrix.sumRowWise()

meanRowWise

public IntMatrix meanRowWise()
インタフェース Matrix の記述:
各成分行毎の平均値列ベクトルを返します。

定義:
インタフェース Matrix 内の meanRowWise
戻り値:
行毎平均値ベクトル
関連項目:
Matrix.meanRowWise()

variance

public int variance()
ベクトルの成分の分散を返します。

戻り値:
分散

covariance

public IntMatrix covariance(IntMatrix opponent)
opponentとの共分散行列を返します。

パラメータ:
opponent - 対となるベクトル
戻り値:
共分散行列 (Covariance)

meanColumnWise

public IntMatrix meanColumnWise()
インタフェース Matrix の記述:
各成分列毎の平均値行ベクトルを返します。

定義:
インタフェース Matrix 内の meanColumnWise
戻り値:
列毎行平均値ベクトル
関連項目:
Matrix.meanColumnWise()

inverse

public Matrix inverse(double tolerance,
                      boolean stopIfSingular)
インタフェース Matrix の記述:
逆行列(this -1 )を返します。

定義:
インタフェース Matrix 内の inverse
パラメータ:
tolerance - 許容誤差
stopIfSingular - trueならば、正則でない場合、処理を中止し、例外を投げます。
戻り値:
逆行列
関連項目:
Matrix.inverse(double, boolean)

ceilElementWise

public IntMatrix ceilElementWise()
インタフェース MatrixElementWiseOperator の記述:
大きい整数に丸めます。

定義:
インタフェース MatrixElementWiseOperator 内の ceilElementWise
戻り値:
丸められた結果
関連項目:
MatrixElementWiseOperator.ceilElementWise()

floorElementWise

public IntMatrix floorElementWise()
インタフェース MatrixElementWiseOperator の記述:
小さい整数に丸めます。

定義:
インタフェース MatrixElementWiseOperator 内の floorElementWise
戻り値:
丸められた結果
関連項目:
MatrixElementWiseOperator.floorElementWise()

fixElementWise

public IntMatrix fixElementWise()
インタフェース MatrixElementWiseOperator の記述:
ゼロ方向の整数に丸めます。

定義:
インタフェース MatrixElementWiseOperator 内の fixElementWise
戻り値:
丸められた結果
関連項目:
MatrixElementWiseOperator.fixElementWise()

roundElementWise

public IntMatrix roundElementWise()
インタフェース MatrixElementWiseOperator の記述:
最も近い整数に丸めます。

定義:
インタフェース MatrixElementWiseOperator 内の roundElementWise
戻り値:
丸められた結果
関連項目:
MatrixElementWiseOperator.roundElementWise()

roundToZeroElementWise

public IntMatrix roundToZeroElementWise(double tolerance)
インタフェース MatrixElementWiseOperator の記述:
絶対値が小さい成分を0に丸めます。

定義:
インタフェース MatrixElementWiseOperator 内の roundToZeroElementWise
パラメータ:
tolerance - 許容誤差
戻り値:
丸められた結果
関連項目:
MatrixElementWiseOperator.roundToZeroElementWise(double)

maxElementWise

public IntMatrix maxElementWise(IntMatrix opponent)
各成分の最大値をもつ行列を生成して返します。

パラメータ:
opponent - 比較対象
戻り値:
各成分の最大値をもつ行列

minElementWise

public IntMatrix minElementWise(IntMatrix opponent)
各成分の最小値をもつ行列を生成して返します。

パラメータ:
opponent - 比較対象
戻り値:
各成分の最小値をもつ行列

createUnit

public IntMatrix createUnit(int rowSize,
                            int columnSize)
インタフェース Matrix の記述:
rowSize*columnSizeの単位行列を生成します。

定義:
インタフェース Matrix 内の createUnit
パラメータ:
rowSize - 行の数
columnSize - 列の数
戻り値:
rowSize*columnSizeの単位行列
関連項目:
Matrix.createUnit(int, int)

createZero

public IntMatrix createZero(int rowSize,
                            int columnSize)
インタフェース Matrix の記述:
rowSize*columnSizeの零行列を生成します。

定義:
インタフェース Matrix 内の createZero
パラメータ:
rowSize - 行の数
columnSize - 列の数
戻り値:
rowSize*columnSizeの零行列
関連項目:
Matrix.createZero(int, int)

createOnes

public IntMatrix createOnes(int rowSize,
                            int columnSize)
インタフェース Matrix の記述:
rowSize*columnSizeの全成分が1である行列を生成します。

定義:
インタフェース Matrix 内の createOnes
パラメータ:
rowSize - 行の数
columnSize - 列の数
戻り値:
rowSize*columnSizeの全成分が1である行列
関連項目:
Matrix.createOnes(int, int)

isComplex

public boolean isComplex()
インタフェース Matrix の記述:
複素成分をもつか判定します。

定義:
インタフェース Matrix 内の isComplex
戻り値:
複素成分をもつならばtrue、そうでなければfalse
関連項目:
Matrix.isComplex()

isReal

public boolean isReal()
インタフェース Matrix の記述:
実成分のみをもつか(複素成分をもたないか)判定します。

定義:
インタフェース Matrix 内の isReal
戻り値:
実成分のみをもつならばtrue、そうでなければfalse
関連項目:
Matrix.isReal()

getImaginaryPart

public IntMatrix getImaginaryPart()
インタフェース Matrix の記述:
虚部行列を返します。

定義:
インタフェース Matrix 内の getImaginaryPart
戻り値:
虚部行列
関連項目:
Matrix.getImaginaryPart()

getRealPart

public IntMatrix getRealPart()
インタフェース Matrix の記述:
実部行列を返します。

定義:
インタフェース Matrix 内の getRealPart
戻り値:
実部行列
関連項目:
Matrix.getRealPart()

setRealPart

public void setRealPart(Matrix realPart)
インタフェース Matrix の記述:
実部行列を設定します。

定義:
インタフェース Matrix 内の setRealPart
パラメータ:
realPart - 実部行列
関連項目:
Matrix.setRealPart(org.mklab.nfc.matrix.Matrix)

setRealPart

public void setRealPart(IntMatrix realPart)
インタフェース Matrix の記述:
実部行列を設定します。

定義:
インタフェース Matrix 内の setRealPart
パラメータ:
realPart - 実部行列
関連項目:
Matrix.setRealPart(org.mklab.nfc.matrix.IntMatrix)

setRealPart

public void setRealPart(DoubleMatrix realPart)
インタフェース Matrix の記述:
実部行列を設定します。

定義:
インタフェース Matrix 内の setRealPart
パラメータ:
realPart - 実部行列
関連項目:
Matrix.setRealPart(org.mklab.nfc.matrix.DoubleMatrix)

setRealPart

public void setRealPart(BaseMatrix<?,?> realPart)
インタフェース Matrix の記述:
実部行列を設定します。

定義:
インタフェース Matrix 内の setRealPart
パラメータ:
realPart - 実部行列
関連項目:
Matrix.setRealPart(org.mklab.nfc.matrix.BaseMatrix)

setImaginaryPart

public void setImaginaryPart(Matrix imaginaryPart)
インタフェース Matrix の記述:
虚部行列を設定します。

定義:
インタフェース Matrix 内の setImaginaryPart
パラメータ:
imaginaryPart - 虚部行列
関連項目:
Matrix.setImaginaryPart(org.mklab.nfc.matrix.Matrix)

setImaginaryPart

public void setImaginaryPart(IntMatrix imaginaryPart)
インタフェース Matrix の記述:
虚部行列を設定します。

定義:
インタフェース Matrix 内の setImaginaryPart
パラメータ:
imaginaryPart - 虚部行列
関連項目:
Matrix.setImaginaryPart(org.mklab.nfc.matrix.IntMatrix)

setImaginaryPart

public void setImaginaryPart(DoubleMatrix imaginaryPart)
インタフェース Matrix の記述:
虚部行列を設定します。

定義:
インタフェース Matrix 内の setImaginaryPart
パラメータ:
imaginaryPart - 虚部行列
関連項目:
Matrix.setImaginaryPart(org.mklab.nfc.matrix.DoubleMatrix)

setImaginaryPart

public void setImaginaryPart(BaseMatrix<?,?> imaginaryPart)
インタフェース Matrix の記述:
虚部行列を設定します。

定義:
インタフェース Matrix 内の setImaginaryPart
パラメータ:
imaginaryPart - 虚部行列
関連項目:
Matrix.setImaginaryPart(org.mklab.nfc.matrix.BaseMatrix)

toComplex

public DoubleComplexMatrix toComplex()
インタフェース Matrix の記述:
複素成分行列へ変換します。

定義:
インタフェース Matrix 内の toComplex
戻り値:
複素成分行列
関連項目:
Matrix.toComplex()