org.mklab.tool.matrix
クラス Poly2tex

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

public class Poly2tex
extends Object

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

Save a polynomial to a file in tex-form

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

コンストラクタの概要
Poly2tex()
           
 
メソッドの概要
static void poly2tex(Polynomial p, String file)
           
static void poly2tex(Polynomial p, String file, String var_name)
           
static String poly2texf(Polynomial p)
           
static String poly2texf(Polynomial p, String var_name)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Poly2tex

public Poly2tex()
メソッドの詳細

poly2tex

public static void poly2tex(Polynomial p,
                            String file)
                     throws IOException
パラメータ:
p - 多項式
file - ファイル名
例外:
IOException - 出力できない場合

poly2tex

public static void poly2tex(Polynomial p,
                            String file,
                            String var_name)
                     throws IOException
パラメータ:
p - 多項式
file - ファイル名
var_name - 変数名
例外:
IOException - 出力できない場合

poly2texf

public static String poly2texf(Polynomial p)
パラメータ:
p - 多項式
戻り値:
TeX形式の文字列

poly2texf

public static String poly2texf(Polynomial p,
                               String var_name)
パラメータ:
p - 多項式
var_name - 変数名
戻り値:
TeX形式の文字列