Class Methods


  • public class Methods
    extends java.lang.Object
    Author:
    GBEMIRO
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] inbuiltMethods
      A list of all inbuilt methods of the parser of this software.The user is free to define his own functions.
      static java.lang.String[] inbuiltOperators  
    • Constructor Summary

      Constructors 
      Constructor Description
      Methods()  
    • Method Summary

      Modifier and Type Method Description
      static java.util.ArrayList<java.lang.String> getMethodDifferential​(java.lang.String method, java.lang.String var, Derivative d)  
      static boolean isInbuiltMethodName​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • inbuiltOperators

        public static final java.lang.String[] inbuiltOperators
      • inbuiltMethods

        public static final java.lang.String[] inbuiltMethods
        A list of all inbuilt methods of the parser of this software.The user is free to define his own functions.
    • Constructor Detail

      • Methods

        public Methods()
    • Method Detail

      • isInbuiltMethodName

        public static boolean isInbuiltMethodName​(java.lang.String name)
        Parameters:
        name - The name of the token we wish to verify as an inbuilt method
        Returns:
        true if the name connotes an inbuilt method's name.
      • getMethodDifferential

        public static java.util.ArrayList<java.lang.String> getMethodDifferential​(java.lang.String method,
                                                                                  java.lang.String var,
                                                                                  Derivative d)
        Parameters:
        method - The method name..e.g sin, cos, tan e.t.c.
        var - The name of the Differentiable.
        d - The invoking Derivative object.
        Returns:
        the differential coefficient.