org.mklab.tool.matrix
クラス Mat2tex

java.lang.Object
  上位を拡張 org.mklab.tool.matrix.Mat2tex

public class Mat2tex
extends Object

行列をTeX形式でファイルに保存するクラスです。

Save a matrix to a file in tex-form

バージョン:
$Revision: 1.9 $
作成者:
koga
関連項目:
Poly2tex, Rat2tex

コンストラクタの概要
Mat2tex()
           
 
メソッドの概要
static void mat2tex(Matrix A, String file)
           
static void mat2tex(Matrix A, String file, NumberFormat fmt)
           
static String mat2texf(Matrix A)
           
static String mat2texf(Matrix A, NumberFormat fmt)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Mat2tex

public Mat2tex()
メソッドの詳細

mat2tex

public static void mat2tex(Matrix A,
                           String file)
                    throws IOException
パラメータ:
A - 対象となる行列
file - ファイル名
例外:
IOException - 出力できない場合

mat2tex

public static void mat2tex(Matrix A,
                           String file,
                           NumberFormat fmt)
                    throws IOException
パラメータ:
A - 対象となる行列
file - ファイル名
fmt - 数値の形式
例外:
IOException - 出力できない場合

mat2texf

public static String mat2texf(Matrix A)
パラメータ:
A - 対象となる行列
戻り値:
TeX形式の文字列

mat2texf

public static String mat2texf(Matrix A,
                              NumberFormat fmt)
パラメータ:
A - 対象となる行列
fmt - 数値の形式
戻り値:
TeX形式の文字列