Class ScaledFunction

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double apply(double t) 
      void apply(double[] x)
      apply function in place, to each element of inout
      void apply(double[] x, double[] y)
      apply function to each element of in, placing result in out
      Function derivative() 
      void dispose() 
      java.lang.String format(java.lang.String arg) 
      double get() 
      Function inverse() 
      void set(double kk) 
      • Methods inherited from class java.lang.Object

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

      • ScaledFunction

        public ScaledFunction(Function f,
                              double k)
    • Method Detail

      • get

        public double get()
      • set

        public void set(double kk)
      • apply

        public double apply(double t)
        Specified by:
        apply in class Function
      • apply

        public void apply(double[] x)
        Description copied from class: Function
        apply function in place, to each element of inout
        Overrides:
        apply in class Function
      • apply

        public void apply(double[] x,
                          double[] y)
        Description copied from class: Function
        apply function to each element of in, placing result in out
        Overrides:
        apply in class Function
      • format

        public java.lang.String format(java.lang.String arg)
        Specified by:
        format in class Function