|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface Matrix
行列インターフェイス
メソッドの概要 | |
---|---|
void |
add(int row,
int column,
double value)
成分に値を加える |
void |
add(Matrix m)
行列を加える |
java.lang.Object |
clone()
オブジェクトのコピーを返す |
int |
columnCount()
列の数を返す |
double |
determinant()
行列式を返す |
Matrix |
eliminateRowColumn(int row,
int column)
指定した行・列を消去した行列を返す |
Matrix |
extructRowColumn(int size,
int[] rows,
int[] columns)
指定した行・列を取り出した行列を返す |
double |
get(int row,
int column)
成分を返す |
Vector |
getColumnVector(int column)
列ベクトルを返す |
Vector[] |
getColumnVectors()
列ベクトルを返す |
Vector |
getRowVector(int row)
行ベクトルを返す |
Vector[] |
getRowVectors()
行ベクトルを返す |
void |
init()
行列を初期化する |
boolean |
isSymmetry()
行列が対称かどうかを判別する |
void |
mul(double value)
スカラーを掛ける |
int |
rowCount()
行の数を返す |
void |
set(int row,
int column,
double value)
成分に値を設定する |
java.lang.String[] |
toStrings()
データ文字列を格納した配列を返す |
double |
trace()
トレースを返す |
Matrix |
transposition()
転置行列を返す |
メソッドの詳細 |
---|
int rowCount()
int columnCount()
double get(int row, int column)
row
- 行column
- 列
void set(int row, int column, double value)
row
- 行column
- 列value
- 設定する値void add(int row, int column, double value)
row
- 行column
- 列value
- 加える値void add(Matrix m)
m
- 加える行列void mul(double value)
value
- 掛けるスカラー値void init()
Matrix transposition()
Matrix eliminateRowColumn(int row, int column)
row
- 行column
- 列
Matrix extructRowColumn(int size, int[] rows, int[] columns)
size
- 正方行列の大きさrows
- 行のインデックスを格納した配列columns
- 列のインデックスを格納した配列
Vector getRowVector(int row)
row
- 行のインデックス
Vector getColumnVector(int column)
column
- 列のインデックス
Vector[] getRowVectors()
Vector[] getColumnVectors()
boolean isSymmetry()
double trace()
double determinant()
java.lang.Object clone()
java.lang.String[] toStrings()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |