Package jhd.MathTools
Class Interpolation
java.lang.Object
jhd.MathTools.Interpolation
public class Interpolation
extends java.lang.Object
Special purpose static functions
- Author:
- John H Dunsmuir
-
Constructor Summary
Constructors Constructor Description Interpolation()
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Interpolation
public Interpolation()
-
-
Method Details
-
logTerp
public static double logTerp(double meV1, double meV2, double newMeV, double muMass1, double muMass2)- Parameters:
meV1
- value less than newMevmeV2
- value greater than newMevnewMeV
- value for which newMuMass is soughtmuMass1
- value at mev1muMass2
- value at mev2- Returns:
- the log-log interpolated newMuMass
-
linTerp
public static double linTerp(double meV1, double meV2, double newMeV, double muMass1, double muMass2)- Parameters:
meV1
- value less than newMevmeV2
- value greater than newMevnewMeV
- value for which newMuMass is soughtmuMass1
- value at mev1muMass2
- value at mev2- Returns:
- the linearly interpolated newMuMass
-