Class MatrixSwitch

All Implemented Interfaces:
MatrixFunctionI, CallbackEvaluationI, PostfixMathCommandI, Serializable

public class MatrixSwitch extends Switch implements MatrixFunctionI
A versions of the Switch function which implements the MatrixFunctionI interface.
See Also:
  • Constructor Details

    • MatrixSwitch

      public MatrixSwitch()
  • Method Details

    • calcDims

      public Dimensions calcDims(Dimensions... inDims) throws ParseException
      Description copied from interface: MatrixFunctionI
      Attempts to calculate the dimensions of a result of a PostfixMathCommand.
      Specified by:
      calcDims in interface MatrixFunctionI
      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