flanagan.complex
Class ComplexErrorProp
- java.lang.Object
-
- flanagan.complex.ComplexErrorProp
-
public class ComplexErrorProp extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description ComplexErrorProp()ComplexErrorProp(double eRealValue, double eRealError, double eImagValue, double eImagError)ComplexErrorProp(double eRealValue, double eRealError, double eImagValue, double eImagError, double corrCoeff)ComplexErrorProp(ErrorProp eReal, ErrorProp eImag)ComplexErrorProp(ErrorProp eReal, ErrorProp eImag, double corrCoeff)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description ErrorPropabs()static ErrorPropabs(ComplexErrorProp aa)static ErrorProparg(ComplexErrorProp a)ErrorProparg(double rho)static doublecalcRho(double[] x, double[] y)java.lang.Objectclone()ComplexErrorPropcopy()static ComplexErrorPropcopy(ComplexErrorProp a)ComplexErrorPropexp()static ComplexErrorPropexp(ComplexErrorProp aa)doublegetCorrCoeff()ErrorPropgetImag()doublegetImagError()doublegetImagValue()static intgetMonteCarloLength()ErrorPropgetReal()doublegetRealError()doublegetRealValue()static doublehypotWithRho(double aa, double bb, double rho)ComplexErrorPropminus(ComplexErrorProp a)static ComplexErrorPropminus(ComplexErrorProp a, ComplexErrorProp b)ComplexErrorPropover(ComplexErrorProp b)static ComplexErrorPropover(ComplexErrorProp a, ComplexErrorProp b)ComplexErrorPropplus(ComplexErrorProp a)static ComplexErrorPropplus(ComplexErrorProp a, ComplexErrorProp b)voidpolar(double eMagValue, double eMagError, double ePhaseValue, double ePhaseError)voidpolar(double eMagValue, double eMagError, double ePhaseValue, double ePhaseError, double corrCoeff)voidpolar(ErrorProp eMag, ErrorProp ePhase)voidpolar(ErrorProp eMag, ErrorProp ePhase, double corrCoeff)voidprint()voidprint(java.lang.String message)voidprintln()voidprintln(java.lang.String message)voidreset(double eRealValue, double eRealError, double eImagValue, double eImagError)voidreset(double eRealValue, double eRealError, double eImagValue, double eImagError, double corrCoeff)voidreset(ErrorProp eReal, ErrorProp eImag)voidreset(ErrorProp eReal, ErrorProp eImag, double corrCoeff)voidsetCorrCoeff(double corrCoeff)voidsetDouble(double errorFree)voidsetImag(double eImagValue, double eImagError)voidsetImag(ErrorProp eImag)static voidsetMonteCarloLength(int length)voidsetReal(double eRealValue, double eRealError)voidsetReal(ErrorProp eReal)ComplexErrorProptimes(ComplexErrorProp b)static ComplexErrorProptimes(ComplexErrorProp a, ComplexErrorProp b)voidtimesEquals(ComplexErrorProp a)java.lang.StringtoString()static java.lang.StringtoString(ComplexErrorProp aa)static ComplexErrorProptruncate(ComplexErrorProp x, int prec)ComplexErrorProptruncate(int prec)
-
-
-
Constructor Detail
-
ComplexErrorProp
public ComplexErrorProp()
-
ComplexErrorProp
public ComplexErrorProp(double eRealValue, double eRealError, double eImagValue, double eImagError)
-
ComplexErrorProp
public ComplexErrorProp(double eRealValue, double eRealError, double eImagValue, double eImagError, double corrCoeff)
-
-
Method Detail
-
reset
public void reset(double eRealValue, double eRealError, double eImagValue, double eImagError)
-
reset
public void reset(double eRealValue, double eRealError, double eImagValue, double eImagError, double corrCoeff)
-
calcRho
public static double calcRho(double[] x, double[] y)
-
polar
public void polar(double eMagValue, double eMagError, double ePhaseValue, double ePhaseError)
-
polar
public void polar(double eMagValue, double eMagError, double ePhaseValue, double ePhaseError, double corrCoeff)
-
setReal
public void setReal(ErrorProp eReal)
-
setReal
public void setReal(double eRealValue, double eRealError)
-
setImag
public void setImag(ErrorProp eImag)
-
setImag
public void setImag(double eImagValue, double eImagError)
-
setDouble
public void setDouble(double errorFree)
-
setCorrCoeff
public void setCorrCoeff(double corrCoeff)
-
setMonteCarloLength
public static void setMonteCarloLength(int length)
-
getReal
public ErrorProp getReal()
-
getRealValue
public double getRealValue()
-
getRealError
public double getRealError()
-
getImag
public ErrorProp getImag()
-
getImagValue
public double getImagValue()
-
getImagError
public double getImagError()
-
getCorrCoeff
public double getCorrCoeff()
-
getMonteCarloLength
public static int getMonteCarloLength()
-
copy
public static ComplexErrorProp copy(ComplexErrorProp a)
-
copy
public ComplexErrorProp copy()
-
clone
public java.lang.Object clone()
- Overrides:
clonein classjava.lang.Object
-
plus
public static ComplexErrorProp plus(ComplexErrorProp a, ComplexErrorProp b)
-
plus
public ComplexErrorProp plus(ComplexErrorProp a)
-
minus
public static ComplexErrorProp minus(ComplexErrorProp a, ComplexErrorProp b)
-
minus
public ComplexErrorProp minus(ComplexErrorProp a)
-
times
public static ComplexErrorProp times(ComplexErrorProp a, ComplexErrorProp b)
-
times
public ComplexErrorProp times(ComplexErrorProp b)
-
timesEquals
public void timesEquals(ComplexErrorProp a)
-
over
public static ComplexErrorProp over(ComplexErrorProp a, ComplexErrorProp b)
-
over
public ComplexErrorProp over(ComplexErrorProp b)
-
exp
public static ComplexErrorProp exp(ComplexErrorProp aa)
-
exp
public ComplexErrorProp exp()
-
abs
public static ErrorProp abs(ComplexErrorProp aa)
-
abs
public ErrorProp abs()
-
arg
public static ErrorProp arg(ComplexErrorProp a)
-
arg
public ErrorProp arg(double rho)
-
hypotWithRho
public static double hypotWithRho(double aa, double bb, double rho)
-
truncate
public static ComplexErrorProp truncate(ComplexErrorProp x, int prec)
-
truncate
public ComplexErrorProp truncate(int prec)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toString
public static java.lang.String toString(ComplexErrorProp aa)
-
println
public void println(java.lang.String message)
-
println
public void println()
-
print
public void print(java.lang.String message)
-
print
public void print()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG