Class MatrixIf
java.lang.Object
com.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.functions.If
com.singularsys.extensions.matrix.functions.MatrixIf
- All Implemented Interfaces:
MatrixFunctionI,CallbackEvaluationI,PostfixMathCommandI,Serializable
A versions of the
If function which implements the MatrixFunctionI interface.- See Also:
-
Field Summary
Fields inherited from class com.singularsys.jep.functions.If
falseValueFields inherited from class com.singularsys.jep.functions.PostfixMathCommand
curNumberOfParameters, description, name, NaN, numberOfParameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalcDims(Dimensions... inDims) Attempts to calculate the dimensions of a result of a PostfixMathCommand.Methods inherited from class com.singularsys.jep.functions.If
checkNumberOfParameters, evaluate, getFalseValueMethods inherited from class com.singularsys.jep.functions.PostfixMathCommand
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, asType, getDescription, getDescription, getDescriptionWithType, getName, getNumberOfParameters, run, setCurNumberOfParameters, setDescription, setName, toString, toString
-
Constructor Details
-
MatrixIf
public MatrixIf()
-
-
Method Details
-
calcDims
Description copied from interface:MatrixFunctionIAttempts to calculate the dimensions of a result of a PostfixMathCommand.- Specified by:
calcDimsin interfaceMatrixFunctionI- Parameters:
inDims- the dimensions of each argument- Returns:
- the dimension of the result, or null, if it cannot be calculated
- Throws:
ParseException- if there is a parse error
-