figure
クラス AbstractMatrix

java.lang.Object
  上位を拡張 figure.AbstractMatrix
すべての実装されたインタフェース:
Matrix, java.lang.Cloneable
直系の既知のサブクラス:
DefaultMatrix, SparseMatrix

public abstract class AbstractMatrix
extends java.lang.Object
implements Matrix

行列の抽象スーパークラス


フィールドの概要
 double dataMax
          成分の絶対値の最大値
protected static double TOLERANCE
          反復計算の収束判定閾値
 
コンストラクタの概要
protected AbstractMatrix()
           
 
メソッドの概要
protected  void checkRange(int row, int column)
          データ範囲を確認する
 java.lang.Object clone()
          オブジェクトのコピーを返す
 double determinant()
          行列式を返す
 boolean equals(java.lang.Object obj)
          オブジェクトの等価判定をする
 Vector getColumnVector(int column)
          列ベクトルを返す
 Vector[] getColumnVectors()
          列ベクトルを返す
 Vector getRowVector(int row)
          行ベクトルを返す
 Vector[] getRowVectors()
          行ベクトルを返す
 int hashCode()
          オブジェクトのハッシュコード値を返す
 boolean isSymmetry()
          行列が対称かどうかを判別する
 java.lang.String toString()
          データ文字列を返す
 java.lang.String[] toStrings()
          データ文字列を格納した配列を返す
 double trace()
          トレースを返す
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 
インタフェース figure.Matrix から継承されたメソッド
add, add, columnCount, eliminateRowColumn, extructRowColumn, get, init, mul, rowCount, set, transposition
 

フィールドの詳細

TOLERANCE

protected static final double TOLERANCE
反復計算の収束判定閾値

関連項目:
定数フィールド値

dataMax

public double dataMax
成分の絶対値の最大値

コンストラクタの詳細

AbstractMatrix

protected AbstractMatrix()
メソッドの詳細

isSymmetry

public boolean isSymmetry()
行列が対称かどうかを判別する

定義:
インタフェース Matrix 内の isSymmetry
戻り値:
行列が対称である場合は true

trace

public double trace()
トレースを返す

定義:
インタフェース Matrix 内の trace
戻り値:
トレース

determinant

public double determinant()
行列式を返す

定義:
インタフェース Matrix 内の determinant
戻り値:
行列式

getRowVector

public Vector getRowVector(int row)
行ベクトルを返す

定義:
インタフェース Matrix 内の getRowVector
パラメータ:
row - 行のインデックス
戻り値:
指定した行のベクトル

getColumnVector

public Vector getColumnVector(int column)
列ベクトルを返す

定義:
インタフェース Matrix 内の getColumnVector
パラメータ:
column - 列のインデックス
戻り値:
指定した列のベクトル

getRowVectors

public Vector[] getRowVectors()
行ベクトルを返す

定義:
インタフェース Matrix 内の getRowVectors
戻り値:
行ベクトルを格納した配列

getColumnVectors

public Vector[] getColumnVectors()
列ベクトルを返す

定義:
インタフェース Matrix 内の getColumnVectors
戻り値:
列ベクトルを格納した配列

checkRange

protected void checkRange(int row,
                          int column)
データ範囲を確認する


clone

public java.lang.Object clone()
オブジェクトのコピーを返す

定義:
インタフェース Matrix 内の clone
オーバーライド:
クラス java.lang.Object 内の clone
戻り値:
このインスタンスの複製

hashCode

public int hashCode()
オブジェクトのハッシュコード値を返す

オーバーライド:
クラス java.lang.Object 内の hashCode
戻り値:
オブジェクトのハッシュコード値

equals

public boolean equals(java.lang.Object obj)
オブジェクトの等価判定をする

オーバーライド:
クラス java.lang.Object 内の equals
パラメータ:
obj - 比較対象のオブジェクト
戻り値:
比較対象のオブジェクトが Matrix のインスタンスで同じ値を持つ場合は true

toStrings

public java.lang.String[] toStrings()
データ文字列を格納した配列を返す

定義:
インタフェース Matrix 内の toStrings
戻り値:
このオブジェクトの文字列表現を格納した配列

toString

public java.lang.String toString()
データ文字列を返す

オーバーライド:
クラス java.lang.Object 内の toString
戻り値:
このオブジェクトの文字列表現