Documentation of 'vgp.tutor.rootFinder.PjRootFinder' Java class
PjRootFinder ("JavaView Reference Manual")
"JavaView? v5.03.003"
vgp.tutor.rootFinder

Class PjRootFinder

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsTimeListenerIf, PsUpdateIf, PvPickListenerIf


    public class PjRootFinder
    extends PjProject
    Demo project to find roots of real-valued functions of one variable. Function expression may be interactively edited.
    See Also:
    PnRootFinder, Serialized Form
    Author:
    Konrad Polthier
    Version:
    05.12.00, 1.10 revised (kp) Instance variable m_rootFinder replaced with static class.
    03.10.99, 1.00 created (kp)
    • Constructor Detail

      • PjRootFinder

        public PjRootFinder()
    • Method Detail

      • init

        public void init()
        Description copied from class: PjProject
        Initialize and reset project, stops the running animation if any. Does not reset any registered display nor geometry. They must be reset individually in each subclass.
        Overrides:
        init in class PjProject
      • start

        public void start()
        Description copied from class: PjProject
        Method is invoked during loading of a project in JavaView.

        If a project has an animation object, then the animation panel is shown when the project's this start() method is invoked during loading of the project. Use setAnimation(PsAnimation) to register an animation.

        If auto fit is enabled then scenery is scaled to fit in each display.

        Overrides:
        start in class PjProject
        See Also:
        PvViewerIf.start(), PjProject.isEnabledAutoFit()
      • setEquation

        public void setEquation(java.lang.String eq)
        Set function expression from outside the project.
      • computeGraph

        public void computeGraph()
        Compute planar graph of function expression.
      • findRoot

        public void findRoot()
        Compute roots of function in a specified interval. Method just invokes a numerical algorithm, and assigns roots to pointset of roots.
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

Ads help maintain this website.