public class VPower extends PostfixMathCommand implements BinaryOperatorI
curNumberOfParameters, numberOfParameters| Constructor and Description |
|---|
VPower() |
| Modifier and Type | Method and Description |
|---|---|
Dimensions |
calcDim(Dimensions ldim,
Dimensions rdim)
Find the dimensions of this operator when applied to arguments with given dimensions.
|
MatrixValueI |
calcValue(MatrixValueI res,
MatrixValueI lhs,
MatrixValueI rhs)
Calculates the value of this operator for given input with results stored in res.
|
void |
run(Stack inStack)
Throws an exception because this method should never be called under
normal circumstances.
|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckNumberOfParameters, getNumberOfParameters, setCurNumberOfParameterspublic Dimensions calcDim(Dimensions ldim, Dimensions rdim) throws ParseException
BinaryOperatorIcalcDim in interface BinaryOperatorIParseExceptionpublic MatrixValueI calcValue(MatrixValueI res, MatrixValueI lhs, MatrixValueI rhs) throws ParseException
BinaryOperatorIcalcValue in interface BinaryOperatorIParseExceptionpublic void run(Stack inStack) throws ParseException
PostfixMathCommandrun in interface PostfixMathCommandIrun in class PostfixMathCommandParseExceptionCopyright © 2018. All rights reserved.