|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.misc.ExtendedOperatorSet.Factorial
public static class ExtendedOperatorSet.Factorial
Simple implementation of factorial, good up to 20!
| Field Summary |
|---|
| Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand |
|---|
curNumberOfParameters, numberOfParameters |
| Constructor Summary | |
|---|---|
ExtendedOperatorSet.Factorial()
|
|
| Method Summary | |
|---|---|
void |
run(java.util.Stack<java.lang.Object> aStack)
Run the function on the stack. |
| Methods inherited from class com.singularsys.jep.functions.PostfixMathCommand |
|---|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedOperatorSet.Factorial()
| Method Detail |
|---|
public void run(java.util.Stack<java.lang.Object> aStack)
throws EvaluationException
PostfixMathCommandI
EvaluationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||