org.mklab.nfc.matx
インタフェース MatxObject

既知のサブインタフェースの一覧:
MatxArray
既知の実装クラスの一覧:
DoubleComplexMatrix, DoubleComplexNumber, DoubleMatrix, DoubleNumber, IntMatrix, MatxAbstractObject, MatxBoolean, MatxComplexArray, MatxDouble, MatxInteger, MatxIntegerArray, MatxList, MatxPolynomialArray, MatxRationalPolynomialArray, MatxRealArray, MatxString, Polynomial, PolynomialMatrix, RationalPolynomial, RationalPolynomialMatrix

public interface MatxObject

MaTXのオブジェクトを表わすインターフェースです。

バージョン:
$Revision: 1.6 $
作成者:
koga

メソッドの概要
 String toMmString()
          MM形式の文字列を生成します。
 String toMmString(String format)
          MM形式の文字列を生成します。
 void writeMmFormat(String fileName, String dataName)
          MMファイル形式で行列データをファイルに出力します。
 void writeMmFormat(Writer output, String dataName, boolean withStatementSeparator)
          MMフォーマット行列データをライターに出力します。
 void writeMxFormat(OutputStream output, String dataName)
          データをMX形式で出力ストリームへ出力します。
 void writeMxFormat(String fileName, String dataName)
          データをMX形式でファイルへ出力します。
 

メソッドの詳細

toMmString

String toMmString()
MM形式の文字列を生成します。

戻り値:
MM形式の文字列

toMmString

String toMmString(String format)
MM形式の文字列を生成します。

パラメータ:
format - 出力フォーマット
戻り値:
MM形式の文字列

writeMxFormat

void writeMxFormat(String fileName,
                   String dataName)
                   throws IOException
データをMX形式でファイルへ出力します。

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

writeMxFormat

void writeMxFormat(OutputStream output,
                   String dataName)
                   throws IOException
データをMX形式で出力ストリームへ出力します。 outputがcloseされるまで、いくつでも出力可能です。

パラメータ:
output - 出力ストリーム
dataName - データの名前
例外:
IOException - 出力ストリームに出力できない場合

writeMmFormat

void writeMmFormat(String fileName,
                   String dataName)
                   throws IOException
MMファイル形式で行列データをファイルに出力します。

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

writeMmFormat

void writeMmFormat(Writer output,
                   String dataName,
                   boolean withStatementSeparator)
                   throws IOException
MMフォーマット行列データをライターに出力します。

パラメータ:
output - ライター
dataName - 名前
withStatementSeparator - セミコロンと改行コードを出力するならばtrue、そうでなければfalse
例外:
IOException - ライターに出力できない場合