|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.mklab.nfc.rpn.AbstractProcessor
org.mklab.nfc.rpn.AbstractExpressionProcessor
org.mklab.tool.control.system.rpn.MaximaExpressionProcessor
public class MaximaExpressionProcessor
逆ポーランド記法を数式に関して評価し、Maximaを用いて変数に数値を代入した評価値を求めるクラスです。
コンストラクタの概要 | |
---|---|
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 |
コンストラクタの詳細 |
---|
public MaximaExpressionProcessor()
ReversePolishNotationMaximaProcessor
オブジェクトを初期化します。
メソッドの詳細 |
---|
public String getResult(ReversePolishNotationOperand operand)
ReversePolishNotationProcessor
の記述:
ReversePolishNotationProcessor
内の getResult
AbstractExpressionProcessor
内の getResult
operand
- 対象となるオペランド
ReversePolishNotationProcessor.getResult(org.mklab.nfc.rpn.ReversePolishNotationOperand)
public String getLeftParentheses()
ReversePolishNotationExpressionProcessor
の記述:
ReversePolishNotationExpressionProcessor.getLeftParentheses()
public String getRightParentheses()
ReversePolishNotationExpressionProcessor
の記述:
ReversePolishNotationExpressionProcessor.getRightParentheses()
public String getInverseString()
ReversePolishNotationExpressionProcessor
の記述:
ReversePolishNotationExpressionProcessor.getInverseString()
public String getMultiplicationString()
ReversePolishNotationExpressionProcessor
の記述:
ReversePolishNotationExpressionProcessor.getMultiplicationString()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |