Class MatrixZeroVec
java.lang.Object
com.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.functions.UnaryFunction
com.singularsys.extensions.matrix.functions.MatrixZeroVec
- All Implemented Interfaces:
MatrixFunctionI,PostfixMathCommandI,Serializable
Construct a matrix of zeros using a matrix field. The one arg version
produces a square matrix of zeros.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.singularsys.jep.functions.UnaryFunction
UnaryFunction.FunctionWithException<T> -
Field Summary
Fields 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.Evaluate the functionMethods inherited from class com.singularsys.jep.functions.UnaryFunction
instanceOf, instanceOf, instanceOf, instanceOf, runMethods inherited from class com.singularsys.jep.functions.PostfixMathCommand
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, asType, checkNumberOfParameters, getDescription, getDescription, getDescriptionWithType, getName, getNumberOfParameters, setCurNumberOfParameters, setDescription, setName, toString, toString
-
Constructor Details
-
MatrixZeroVec
-
-
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
-
eval
Description copied from class:UnaryFunctionEvaluate the function- Specified by:
evalin classUnaryFunction- Parameters:
arg- the single argument passed in- Returns:
- the result of the function
- Throws:
EvaluationException- on error
-