Interface MatrixFunctionI

All Known Implementing Classes:
Count, ElementMinMax, ElementProduct, ElementSum, ListReturningFunction, MatrixAdd, MatrixCmp, MatrixCross, MatrixDet, MatrixDiv, MatrixDot, MatrixEle, MatrixId, MatrixIf, MatrixInv, MatrixList, MatrixMod, MatrixMul, MatrixNeg, MatrixPow, MatrixSize, MatrixSolve, MatrixSub, MatrixSwitch, MatrixTrace, MatrixTrans, MatrixZeroMat, MatrixZeroVec, Mean, Median, Mode, Rank, Ranks, SortElements, Variance

public interface MatrixFunctionI
Signals functions for which the dimensions of the results can be calculated
  • Method Summary

    Modifier and Type
    Method
    Description
    calcDims(Dimensions... inDims)
    Attempts to calculate the dimensions of a result of a PostfixMathCommand.
  • Method Details

    • calcDims

      Dimensions calcDims(Dimensions... inDims) throws ParseException
      Attempts to calculate the dimensions of a result of a PostfixMathCommand.
      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