|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.mklab.nfc.matrix.AbstractGrid<M>
org.mklab.nfc.matrix.AbstractFundamentalMatrix<M>
M
- 実際の行列の型public abstract class AbstractFundamentalMatrix<M extends Matrix>
行列データを扱うための抽象クラスです。
コンストラクタの概要 | |
---|---|
AbstractFundamentalMatrix()
新しく生成された AbstractMatrix オブジェクトを初期化します。 |
|
AbstractFundamentalMatrix(int rowSize,
int columnSize)
新しく生成された AbstractMatrix オブジェクトを初期化します。 |
メソッドの概要 | |
---|---|
Matrix |
appendDown(Matrix value)
下側に行列 value を付けた行列を生成します。 |
Matrix |
appendRight(Matrix value)
右側に value を付けた行列を生成します。 |
M |
flipLeftRight()
左右の列を反転した行列を生成します。 |
M |
flipUpDown()
上下の行を反転した行列を生成します。 |
M |
getColumnVector(int column)
指定された列を返します。 |
M |
getColumnVectors(int min,
int max)
minimum 列からmaximum 列までの部分行列を生成します。 |
M |
getColumnVectors(IntMatrix index)
index で指定された列からなる部分行列を生成します。 |
M |
getRowVector(int row)
指定された行を返します。 |
M |
getRowVectors(int min,
int max)
minimum 行からmaximum 行までの部分行列を生成します。 |
M |
getRowVectors(IntMatrix index)
index で指定された行からなる部分行列を生成します。 |
M |
getSubMatrix(int row,
int column,
Grid block)
block のサイズで分割したときのrow 行column
列番目のブロック行列を返します。 |
M |
getSubMatrix(int row,
IntMatrix columnIndex)
row 行ベクトルのcolumnIndex で指定された成分からなる横ベクトルを生成します。 |
M |
getSubMatrix(IntMatrix rowIndex,
int column)
column 列ベクトルのrowIndex で指定された成分からなる縦ベクトルを生成します。 |
M |
getSubVector(int min,
int max)
成分を行毎に数え、 minimum からmaximum までの成分からなるベクトルを生成します。 |
M |
getSubVector(int min,
int max,
int by)
成分を行毎に数え、 minimum からmaximum までのby
飛び成分からなるベクトルを生成します。 |
M |
rotateLeft(int number)
全ての成分を左方向へ回転します。 |
M |
rotateUp(int number)
全ての成分を上方向へ回転します。 |
void |
setColumnVector(int column,
Matrix source)
指定された列に source を代入します。 |
void |
setColumnVectors(int min,
int max,
Matrix source)
minimum 列からmaximum 列にsource を代入します。 |
void |
setColumnVectors(IntMatrix index,
Matrix source)
指定された列に source を代入します。 |
void |
setRowVector(int row,
Matrix source)
指定された行に source を代入します。 |
void |
setRowVectors(int min,
int max,
Matrix source)
minimum 行からmaximum 行にsource を代入します。 |
void |
setRowVectors(IntMatrix index,
Matrix source)
指定された複数の行に source を代入します。 |
void |
setSubMatrix(int row,
int column,
Grid block,
Matrix source)
指定した成分に行列 source を代入します。 |
void |
setSubMatrix(int row,
IntMatrix columnIndex,
Matrix source)
row 列目の成分のcolumnIndex で指定された行の成分に行列source
code>を代入します。 |
void |
setSubMatrix(IntMatrix rowIndex,
int column,
Matrix source)
rowIndex で指定した行のcolumn 列に行列source
を代入します。 |
void |
setSubVector(int min,
int max,
int by,
Matrix source)
成分を行毎に数え、 minimum からmaximum までの成分をby 飛びに代入します。 |
クラス java.lang.Object から継承されたメソッド |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
インタフェース org.mklab.nfc.matrix.FundamentalMatrix から継承されたメソッド |
---|
compareElementWise, copy, diagonalToVector, equals, getSubMatrix, getSubMatrix, getSubMatrix, getSubMatrix, getSubVector, reshape, resize, setSubMatrix, setSubMatrix, setSubMatrix, setSubMatrix, setSubVector, setSubVector, transpose, vectorToDiagonal |
インタフェース org.mklab.nfc.matrix.Grid から継承されたメソッド |
---|
clone, count, exchangeColumn, exchangeRow, getColumnSize, getElementAlignment, getElementFormat, getPrintingElementsString, getPrintingString, getRowSize, hasSameColumnSize, hasSameRowSize, isEmpty, isSameSize, isSquare, isZero, length, print, print, print, printElements, printElements, removeColumnVector, removeColumnVectors, removeColumnVectors, removeRowVector, removeRowVectors, removeRowVectors, setElementAlignment, setElementFormat |
コンストラクタの詳細 |
---|
public AbstractFundamentalMatrix()
AbstractMatrix
オブジェクトを初期化します。
public AbstractFundamentalMatrix(int rowSize, int columnSize)
AbstractMatrix
オブジェクトを初期化します。
rowSize
- 行の数columnSize
- 列の数メソッドの詳細 |
---|
public Matrix appendDown(Matrix value)
FundamentalMatrix
の記述:value
を付けた行列を生成します。
FundamentalMatrix
内の appendDown
value
- 付ける行列
value
をつけた行列FundamentalMatrix.appendDown(org.mklab.nfc.matrix.Matrix)
public Matrix appendRight(Matrix value)
FundamentalMatrix
の記述:value
を付けた行列を生成します。
FundamentalMatrix
内の appendRight
value
- 付ける複素数
value
を付けた行列FundamentalMatrix.appendRight(org.mklab.nfc.matrix.Matrix)
public M getSubMatrix(int row, int column, Grid block)
FundamentalMatrix
の記述:block
のサイズで分割したときのrow
行column
列番目のブロック行列を返します。
FundamentalMatrix
内の getSubMatrix
row
- 行番号column
- 列番号block
- 基本ブロック行列
FundamentalMatrix.getSubMatrix(int, int, org.mklab.nfc.matrix.Grid)
public M getSubMatrix(IntMatrix rowIndex, int column)
FundamentalMatrix
の記述:column
列ベクトルのrowIndex
で指定された成分からなる縦ベクトルを生成します。
FundamentalMatrix
内の getSubMatrix
rowIndex
- 行指定ベクトルcolumn
- 列指定
FundamentalMatrix.getSubMatrix(org.mklab.nfc.matrix.IntMatrix,int)
public M getSubMatrix(int row, IntMatrix columnIndex)
FundamentalMatrix
の記述:row
行ベクトルのcolumnIndex
で指定された成分からなる横ベクトルを生成します。
FundamentalMatrix
内の getSubMatrix
row
- 行指定columnIndex
- 列指定ベクトル
FundamentalMatrix.getSubMatrix(int, org.mklab.nfc.matrix.IntMatrix)
public M getRowVector(int row)
FundamentalMatrix
の記述:
FundamentalMatrix
内の getRowVector
row
- 行番号
FundamentalMatrix.getRowVector(int)
public M getRowVectors(int min, int max)
FundamentalMatrix
の記述:minimum
行からmaximum
行までの部分行列を生成します。
FundamentalMatrix
内の getRowVectors
min
- 開始行番号(1から始まります)max
- 終了行番号(1から始まります)
FundamentalMatrix.getRowVectors(int, int)
public M getRowVectors(IntMatrix index)
FundamentalMatrix
の記述:index
で指定された行からなる部分行列を生成します。
FundamentalMatrix
内の getRowVectors
index
- 取り出す行番号
FundamentalMatrix.getRowVectors(org.mklab.nfc.matrix.IntMatrix)
public M getColumnVector(int column)
FundamentalMatrix
の記述:
FundamentalMatrix
内の getColumnVector
column
- 列番号
FundamentalMatrix.getColumnVector(int)
public M getColumnVectors(int min, int max)
FundamentalMatrix
の記述:minimum
列からmaximum
列までの部分行列を生成します。
FundamentalMatrix
内の getColumnVectors
min
- 開始列番号(1から始まります)max
- 終了列番号(1から始まります)
FundamentalMatrix.getColumnVectors(int, int)
public M getColumnVectors(IntMatrix index)
FundamentalMatrix
の記述:index
で指定された列からなる部分行列を生成します。
FundamentalMatrix
内の getColumnVectors
index
- 取り出す列番号
FundamentalMatrix.getColumnVectors(org.mklab.nfc.matrix.IntMatrix)
public M getSubVector(int min, int max, int by)
FundamentalMatrix
の記述:minimum
からmaximum
までのby
飛び成分からなるベクトルを生成します。
FundamentalMatrix
内の getSubVector
min
- 開始位置(1から始まります)max
- 終了位置(1から始まります)by
- 飛ばす数
FundamentalMatrix.getSubVector(int, int, int)
public M getSubVector(int min, int max)
FundamentalMatrix
の記述:minimum
からmaximum
までの成分からなるベクトルを生成します。
FundamentalMatrix
内の getSubVector
min
- 開始位置(1から始まります)max
- 終了位置(1から始まります)
FundamentalMatrix.getSubVector(int, int)
public M flipLeftRight()
FundamentalMatrix
の記述:
FundamentalMatrix
内の flipLeftRight
FundamentalMatrix.flipLeftRight()
public M flipUpDown()
FundamentalMatrix
の記述:
FundamentalMatrix
内の flipUpDown
FundamentalMatrix.flipUpDown()
public M rotateUp(int number)
FundamentalMatrix
の記述:
FundamentalMatrix
内の rotateUp
number
- 回転で進む数
FundamentalMatrix.rotateUp(int)
public M rotateLeft(int number)
FundamentalMatrix
の記述:
FundamentalMatrix
内の rotateLeft
number
- 回転で進む数
FundamentalMatrix.rotateLeft(int)
public void setRowVector(int row, Matrix source)
FundamentalMatrix
の記述:source
を代入します。
FundamentalMatrix
内の setRowVector
row
- 行番号source
- 代入する行列FundamentalMatrix.setRowVector(int,
org.mklab.nfc.matrix.Matrix)
public void setRowVectors(int min, int max, Matrix source)
FundamentalMatrix
の記述:minimum
行からmaximum
行にsource
を代入します。
FundamentalMatrix
内の setRowVectors
min
- 開始行番号(1から始まります)max
- 終了行番号(1から始まります)source
- 代入する行列FundamentalMatrix.setRowVectors(int, int,
org.mklab.nfc.matrix.Matrix)
public void setRowVectors(IntMatrix index, Matrix source)
FundamentalMatrix
の記述:source
を代入します。
FundamentalMatrix
内の setRowVectors
index
- 行番号source
- 代入する行列FundamentalMatrix.setRowVectors(org.mklab.nfc.matrix.IntMatrix,
org.mklab.nfc.matrix.Matrix)
public void setColumnVector(int column, Matrix source)
FundamentalMatrix
の記述:source
を代入します。
FundamentalMatrix
内の setColumnVector
column
- 列番号source
- 代入する行列FundamentalMatrix.setColumnVector(int,
org.mklab.nfc.matrix.Matrix)
public void setColumnVectors(int min, int max, Matrix source)
FundamentalMatrix
の記述:minimum
列からmaximum
列にsource
を代入します。
FundamentalMatrix
内の setColumnVectors
min
- 開始列番号(1から始まります)max
- 終了列番号(1から始まります)source
- 代入する行列FundamentalMatrix.setColumnVectors(int, int, org.mklab.nfc.matrix.Matrix)
public void setColumnVectors(IntMatrix index, Matrix source)
FundamentalMatrix
の記述:source
を代入します。
FundamentalMatrix
内の setColumnVectors
index
- 列番号source
- 代入する行列FundamentalMatrix.setColumnVectors(org.mklab.nfc.matrix.IntMatrix,
org.mklab.nfc.matrix.Matrix)
public void setSubMatrix(int row, int column, Grid block, Matrix source)
FundamentalMatrix
の記述:source
を代入します。
FundamentalMatrix
内の setSubMatrix
row
- 行番号column
- 列番号block
- 基本ブロック行列source
- 代入する行列FundamentalMatrix.setSubMatrix(int, int, org.mklab.nfc.matrix.Grid, org.mklab.nfc.matrix.Matrix)
public void setSubMatrix(IntMatrix rowIndex, int column, Matrix source)
FundamentalMatrix
の記述:rowIndex
で指定した行のcolumn
列に行列source
を代入します。
FundamentalMatrix
内の setSubMatrix
rowIndex
- 行番号のリストcolumn
- 列番号source
- 代入する行列FundamentalMatrix.setSubMatrix(org.mklab.nfc.matrix.IntMatrix,
int, org.mklab.nfc.matrix.Matrix)
public void setSubMatrix(int row, IntMatrix columnIndex, Matrix source)
FundamentalMatrix
の記述:row
列目の成分のcolumnIndex
で指定された行の成分に行列source
code>を代入します。
- 定義:
- インタフェース
FundamentalMatrix
内の setSubMatrix
- パラメータ:
row
- 行番号columnIndex
- 列番号のリストsource
- 代入する行列- 関連項目:
FundamentalMatrix.setSubMatrix(int,
org.mklab.nfc.matrix.IntMatrix, org.mklab.nfc.matrix.Matrix)
public void setSubVector(int min, int max, int by, Matrix source)
FundamentalMatrix
の記述:minimum
からmaximum
までの成分をby
飛びに代入します。
FundamentalMatrix
内の setSubVector
min
- 開始位置(1から始まります)max
- 終了位置(1から始まります)by
- 飛ばす数source
- 代入するベクトルFundamentalMatrix.setSubVector(int, int, int,
org.mklab.nfc.matrix.Matrix)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |