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

java.lang.Object
  上位を拡張 org.mklab.nfc.rpn.AbstractProcessor
      上位を拡張 org.mklab.nfc.rpn.AbstractExpressionProcessor
          上位を拡張 org.mklab.tool.control.system.rpn.MaximaExpressionProcessor
すべての実装されたインタフェース:
ReversePolishNotationExpressionProcessor, ReversePolishNotationProcessor

public class MaximaExpressionProcessor
extends AbstractExpressionProcessor

逆ポーランド記法を数式に関して評価し、Maximaを用いて変数に数値を代入した評価値を求めるクラスです。

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

コンストラクタの概要
MaximaExpressionProcessor()
          新しく生成されたReversePolishNotationMaximaProcessorオブジェクトを初期化します。
 
メソッドの概要
 String getInverseString()
          逆数(逆行列)を表す文字列を返します。
 String getLeftParentheses()
          左括弧を返します。
 String getMultiplicationString()
          乗算を表す文字列を返します。
 String getResult(ReversePolishNotationOperand operand)
          オペランドを評価した結果を返します。
 String getRightParentheses()
          右括弧を返します。
 
クラス org.mklab.nfc.rpn.AbstractExpressionProcessor から継承されたメソッド
addOperation, getSignedExpression, hasCancellation, inverseOperation, multiplyOperation, setCancellation
 
クラス org.mklab.nfc.rpn.AbstractProcessor から継承されたメソッド
evaluate, getFormat, setFormat
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MaximaExpressionProcessor

public MaximaExpressionProcessor()
新しく生成されたReversePolishNotationMaximaProcessorオブジェクトを初期化します。

メソッドの詳細

getResult

public String getResult(ReversePolishNotationOperand operand)
インタフェース ReversePolishNotationProcessor の記述:
オペランドを評価した結果を返します。

定義:
インタフェース ReversePolishNotationProcessor 内の getResult
オーバーライド:
クラス AbstractExpressionProcessor 内の getResult
パラメータ:
operand - 対象となるオペランド
戻り値:
オペランドを評価した結果
関連項目:
ReversePolishNotationProcessor.getResult(org.mklab.nfc.rpn.ReversePolishNotationOperand)

getLeftParentheses

public String getLeftParentheses()
インタフェース ReversePolishNotationExpressionProcessor の記述:
左括弧を返します。

戻り値:
String 左括弧
関連項目:
ReversePolishNotationExpressionProcessor.getLeftParentheses()

getRightParentheses

public String getRightParentheses()
インタフェース ReversePolishNotationExpressionProcessor の記述:
右括弧を返します。

戻り値:
String 右括弧
関連項目:
ReversePolishNotationExpressionProcessor.getRightParentheses()

getInverseString

public String getInverseString()
インタフェース ReversePolishNotationExpressionProcessor の記述:
逆数(逆行列)を表す文字列を返します。

戻り値:
逆数(逆行列)を表す文字列
関連項目:
ReversePolishNotationExpressionProcessor.getInverseString()

getMultiplicationString

public String getMultiplicationString()
インタフェース ReversePolishNotationExpressionProcessor の記述:
乗算を表す文字列を返します。

戻り値:
乗算を表す文字列
関連項目:
ReversePolishNotationExpressionProcessor.getMultiplicationString()