public class ExteriorProduct extends PostfixMathCommand implements BinaryOperatorI
curNumberOfParameters, numberOfParameters| Constructor and Description |
|---|
ExteriorProduct() |
| 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.
|
Object |
crosspower(Object param1,
Object param2) |
Object |
exteriorProduct(MVector lhs,
MVector rhs) |
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 PostfixMathCommandParseExceptionpublic Object crosspower(Object param1, Object param2) throws ParseException
ParseExceptionpublic Object exteriorProduct(MVector lhs, MVector rhs) throws ParseException
ParseExceptionCopyright © 2018. All rights reserved.