public class oadd.org.apache.commons.math.distribution.CauchyDistributionImpl extends oadd.org.apache.commons.math.distribution.AbstractContinuousDistribution implements oadd.org.apache.commons.math.distribution.CauchyDistribution, java.io.Serializable
{
public static final double DEFAULT_INVERSE_ABSOLUTE_ACCURACY;
private static final long serialVersionUID;
private double median;
private double scale;
private final double solverAbsoluteAccuracy;
public void <init>()
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
specialinvoke v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: void <init>(double,double)>(0.0, 1.0);
return;
}
public void <init>(double, double)
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v, v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
v := @parameter: double;
specialinvoke v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: void <init>(double,double,double)>(v, v, 1.0E-9);
return;
}
public void <init>(double, double, double)
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v, v, v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
v := @parameter: double;
v := @parameter: double;
specialinvoke v.<oadd.org.apache.commons.math.distribution.AbstractContinuousDistribution: void <init>()>();
v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double median> = 0.0;
v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double scale> = 1.0;
specialinvoke v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: void setMedianInternal(double)>(v);
specialinvoke v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: void setScaleInternal(double)>(v);
v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double solverAbsoluteAccuracy> = v;
return;
}
public double cumulativeProbability(double)
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v, v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double median>;
v = v - v;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double scale>;
v = v / v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double atan(double)>(v);
v = v / 3.141592653589793;
v = 0.5 + v;
return v;
}
public double getMedian()
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double median>;
return v;
}
public double getScale()
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double scale>;
return v;
}
public double density(double)
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v, v, v, v, v, v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double median>;
v = v - v;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double scale>;
v = v * v;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double scale>;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double scale>;
v = v * v;
v = v + v;
v = v / v;
v = 0.3183098861837907 * v;
return v;
}
public double inverseCumulativeProbability(double)
{
java.lang.Object[] v;
java.lang.Double v, v, v;
byte v, v, v, v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
double v, v, v, v, v, v, v, v;
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
java.lang.IllegalArgumentException v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
v = v cmpg 0.0;
if v < 0 goto label;
v = v cmpl 1.0;
if v <= 0 goto label;
label:
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats OUT_OF_RANGE_SIMPLE>;
v = newarray (java.lang.Object)[3];
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(v);
v[0] = v;
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(0.0);
v[1] = v;
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(1.0);
v[2] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v = v cmpl 0.0;
if v != 0 goto label;
v = #-Infinity;
goto label;
label:
v = v cmpl 1.0;
if v != 0 goto label;
v = #Infinity;
goto label;
label:
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double median>;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double scale>;
v = v - 0.5;
v = 3.141592653589793 * v;
v = staticinvoke <oadd.org.apache.commons.math.util.FastMath: double tan(double)>(v);
v = v * v;
v = v + v;
label:
return v;
}
public void setMedian(double)
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
specialinvoke v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: void setMedianInternal(double)>(v);
return;
}
private void setMedianInternal(double)
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double median> = v;
return;
}
public void setScale(double)
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
specialinvoke v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: void setScaleInternal(double)>(v);
return;
}
private void setScaleInternal(double)
{
java.lang.Object[] v;
byte v;
java.lang.Double v;
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
oadd.org.apache.commons.math.exception.util.LocalizedFormats v;
java.lang.IllegalArgumentException v;
double v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
v = v cmpg 0.0;
if v > 0 goto label;
v = <oadd.org.apache.commons.math.exception.util.LocalizedFormats: oadd.org.apache.commons.math.exception.util.LocalizedFormats NOT_POSITIVE_SCALE>;
v = newarray (java.lang.Object)[1];
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(v);
v[0] = v;
v = staticinvoke <oadd.org.apache.commons.math.MathRuntimeException: java.lang.IllegalArgumentException createIllegalArgumentException(oadd.org.apache.commons.math.exception.util.Localizable,java.lang.Object[])>(v, v);
throw v;
label:
v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double scale> = v;
return;
}
protected double getDomainLowerBound(double)
{
byte v;
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v, v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
v = v cmpg 0.5;
if v >= 0 goto label;
v = -1.7976931348623157E308;
goto label;
label:
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double median>;
label:
return v;
}
protected double getDomainUpperBound(double)
{
byte v;
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v, v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
v = v cmpg 0.5;
if v >= 0 goto label;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double median>;
goto label;
label:
v = 1.7976931348623157E308;
label:
return v;
}
protected double getInitialDomain(double)
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
byte v, v;
double v, v, v, v, v, v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v := @parameter: double;
v = v cmpg 0.5;
if v >= 0 goto label;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double median>;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double scale>;
v = v - v;
goto label;
label:
v = v cmpl 0.5;
if v <= 0 goto label;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double median>;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double scale>;
v = v + v;
goto label;
label:
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double median>;
label:
return v;
}
protected double getSolverAbsoluteAccuracy()
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
double v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
v = v.<oadd.org.apache.commons.math.distribution.CauchyDistributionImpl: double solverAbsoluteAccuracy>;
return v;
}
public double getSupportLowerBound()
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
return #-Infinity;
}
public double getSupportUpperBound()
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
return #Infinity;
}
public double getNumericalMean()
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
return #NaN;
}
public double getNumericalVariance()
{
oadd.org.apache.commons.math.distribution.CauchyDistributionImpl v;
v := @this: oadd.org.apache.commons.math.distribution.CauchyDistributionImpl;
return #NaN;
}
}