Package samer.maths

Class Identity



  • public class Identity
    extends Function
    • Constructor Summary

      Constructors 
      Constructor and Description
      Identity() 
    • Method Summary

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

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

      • Identity

        public Identity()
    • Method Detail

      • apply

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

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

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

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