Package samer.maths

Class VFunction

  • java.lang.Object
    • Viewable
      • samer.maths.VFunction


  • public class VFunction
    extends Viewable
    A Viewable for a Function - provides a UI for getting a plot of the function and for looking at its derivative (would like to be able to switch the Function too)
    • Constructor Detail

      • VFunction

        public VFunction(java.lang.String name)
      • VFunction

        public VFunction(java.lang.String name,
                         Function f)
    • Method Detail

      • dispose

        public void dispose()
      • setFunction

        public void setFunction(Function f)
      • getFunction

        public Function getFunction()
      • getViewer

        public Viewer getViewer()
      • getCommands

        public void getCommands(Agent.Registry r)
      • execute

        public void execute(java.lang.String cmd,
                            Environment env)