org.mklab.tool.control.system.rpn
クラス Maxima

java.lang.Object
  上位を拡張 org.mklab.tool.control.system.rpn.Maxima

public class Maxima
extends Object

Maximaエンジンを呼び出すクラスです。

バージョン:
$Revision: 1.9 $, 2008/01/28
作成者:
Anan

コンストラクタの概要
Maxima()
           
 
メソッドの概要
static StringBuilder getDeclearOfSystems(SystemOperator system)
          systemの定数システムの宣言をMaxima用に生成します。
 void open()
          Maximaを起動し引数に渡されたコマンドを実行します。
 String receiveResult()
          Maximaからの結果を受け取ります。
 void sendComand(StringBuilder comands)
          Maximaにコマンドを送ります。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Maxima

public Maxima()
メソッドの詳細

open

public void open()
          throws IOException
Maximaを起動し引数に渡されたコマンドを実行します。

例外:
IOException - 出力できない場合

sendComand

public void sendComand(StringBuilder comands)
Maximaにコマンドを送ります。

パラメータ:
comands - コマンド

receiveResult

public String receiveResult()
                     throws IOException
Maximaからの結果を受け取ります。

戻り値:
実行結果
例外:
IOException - 入力できない場合

getDeclearOfSystems

public static StringBuilder getDeclearOfSystems(SystemOperator system)
systemの定数システムの宣言をMaxima用に生成します。

パラメータ:
system - システム
戻り値:
systemの定数システムの変数宣言