Contents
Class ClasMath
java.lang.Object
org.jlab.analysis.math.ClasMath
- Author:
- naharrison all angles in radians
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
getAngle2PiConvention
(double angle) 0 to 2pi conventionstatic double
getAnglePiConvention
(double angle) negative pi to pi conventionstatic double
getRelativePhi
(double phi) static int
getSectorFromPhi
(double phi) static boolean
isWithinXPercent
(double X, double val, double standard)
-
Constructor Details
-
Method Details
-
getRelativePhi
public static double getRelativePhi(double phi) -
getSectorFromPhi
public static int getSectorFromPhi(double phi) -
getAngle2PiConvention
public static double getAngle2PiConvention(double angle) 0 to 2pi convention -
getAnglePiConvention
public static double getAnglePiConvention(double angle) negative pi to pi convention -
isWithinXPercent
public static boolean isWithinXPercent(double X, double val, double standard)
-