Class TrigStuff

java.lang.Object
xal.tools.math.TrigStuff

public class TrigStuff extends Object
general purpose trig stuff not found elsewhere
  • Method Details

    • unwrap

      public static double unwrap(double y, double yIn)
      this method shifts the first argument by a multiple of 2*PI to produce the nearest point to another specified point
      Parameters:
      y - = input number
      yIn - = number to get the input close to (within 2pi)