Class ListReturningFunction

    • Constructor Detail

      • ListReturningFunction

        public ListReturningFunction()
      • ListReturningFunction

        public ListReturningFunction​(MatrixFactoryI mf)
      • ListReturningFunction

        public ListReturningFunction​(int nArgs)
      • ListReturningFunction

        public ListReturningFunction​(MatrixFactoryI mf,
                                     int nArgs)
    • Method Detail

      • convertToList

        public java.lang.Object convertToList​(java.util.List<java.lang.Object> list)
                                       throws EvaluationException
        Convert the results to a list or vector
        Parameters:
        list - input list
        Returns:
        either a VectorI or the result of the List pmfc from the Jep instance
        Throws:
        EvaluationException - on error
      • init

        public void init​(Jep jep)
        Description copied from interface: JepComponent
        Initialize the component. This methods is called whenever a component is added to Jep. Hence it allows components to keep track of the other components they may rely on.
        Specified by:
        init in interface JepComponent
        Parameters:
        jep - the current Jep instance