public class org.apache.commons.math.stat.descriptive.moment.SemiVariance extends org.apache.commons.math.stat.descriptive.AbstractUnivariateStatistic implements java.io.Serializable
{
public static final org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction UPSIDE_VARIANCE;
public static final org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction DOWNSIDE_VARIANCE;
private static final long serialVersionUID;
private boolean biasCorrected;
private org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection;
public void <init>()
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractUnivariateStatistic: void <init>()>();
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected> = 1;
v = <org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction DOWNSIDE>;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection> = v;
return;
}
public void <init>(boolean)
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
boolean v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: boolean;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractUnivariateStatistic: void <init>()>();
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected> = 1;
v = <org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction DOWNSIDE>;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection> = v;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected> = v;
return;
}
public void <init>(org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction)
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v, v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractUnivariateStatistic: void <init>()>();
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected> = 1;
v = <org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction DOWNSIDE>;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection> = v;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection> = v;
return;
}
public void <init>(boolean, org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction)
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
boolean v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v, v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: boolean;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractUnivariateStatistic: void <init>()>();
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected> = 1;
v = <org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction DOWNSIDE>;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection> = v;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected> = v;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection> = v;
return;
}
public void <init>(org.apache.commons.math.stat.descriptive.moment.SemiVariance) throws org.apache.commons.math.exception.NullArgumentException
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v, v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
specialinvoke v.<org.apache.commons.math.stat.descriptive.AbstractUnivariateStatistic: void <init>()>();
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected> = 1;
v = <org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction DOWNSIDE>;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection> = v;
staticinvoke <org.apache.commons.math.stat.descriptive.moment.SemiVariance: void copy(org.apache.commons.math.stat.descriptive.moment.SemiVariance,org.apache.commons.math.stat.descriptive.moment.SemiVariance)>(v, v);
return;
}
public org.apache.commons.math.stat.descriptive.moment.SemiVariance copy()
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v, v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v = new org.apache.commons.math.stat.descriptive.moment.SemiVariance;
specialinvoke v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: void <init>()>();
staticinvoke <org.apache.commons.math.stat.descriptive.moment.SemiVariance: void copy(org.apache.commons.math.stat.descriptive.moment.SemiVariance,org.apache.commons.math.stat.descriptive.moment.SemiVariance)>(v, v);
return v;
}
public static void copy(org.apache.commons.math.stat.descriptive.moment.SemiVariance, org.apache.commons.math.stat.descriptive.moment.SemiVariance) throws org.apache.commons.math.exception.NullArgumentException
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v, v;
double[] v;
boolean v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
staticinvoke <org.apache.commons.math.util.MathUtils: void checkNotNull(java.lang.Object)>(v);
staticinvoke <org.apache.commons.math.util.MathUtils: void checkNotNull(java.lang.Object)>(v);
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: double[] getDataRef()>();
virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: void setData(double[])>(v);
v = v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected>;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected> = v;
v = v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection>;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection> = v;
return;
}
public double evaluate(double[], int, int) throws org.apache.commons.math.exception.MathIllegalArgumentException
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
double[] v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v;
org.apache.commons.math.stat.descriptive.moment.Mean v;
int v, v, v;
boolean v;
double v, v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: double[];
v := @parameter: int;
v := @parameter: int;
v = new org.apache.commons.math.stat.descriptive.moment.Mean;
specialinvoke v.<org.apache.commons.math.stat.descriptive.moment.Mean: void <init>()>();
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.Mean: double evaluate(double[],int,int)>(v, v, v);
v = v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection>;
v = v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected>;
v = lengthof v;
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: double evaluate(double[],double,org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction,boolean,int,int)>(v, v, v, v, 0, v);
return v;
}
public double evaluate(double[], org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction) throws org.apache.commons.math.exception.MathIllegalArgumentException
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
double[] v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v;
org.apache.commons.math.stat.descriptive.moment.Mean v;
int v;
boolean v;
double v, v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: double[];
v := @parameter: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction;
v = new org.apache.commons.math.stat.descriptive.moment.Mean;
specialinvoke v.<org.apache.commons.math.stat.descriptive.moment.Mean: void <init>()>();
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.Mean: double evaluate(double[])>(v);
v = v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected>;
v = lengthof v;
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: double evaluate(double[],double,org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction,boolean,int,int)>(v, v, v, v, 0, v);
return v;
}
public double evaluate(double[], double) throws org.apache.commons.math.exception.MathIllegalArgumentException
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
double[] v;
int v;
boolean v;
double v, v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: double[];
v := @parameter: double;
v = v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection>;
v = v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected>;
v = lengthof v;
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: double evaluate(double[],double,org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction,boolean,int,int)>(v, v, v, v, 0, v);
return v;
}
public double evaluate(double[], double, org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction) throws org.apache.commons.math.exception.MathIllegalArgumentException
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
double[] v;
int v;
boolean v;
double v, v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: double[];
v := @parameter: double;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction;
v = v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected>;
v = lengthof v;
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: double evaluate(double[],double,org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction,boolean,int,int)>(v, v, v, v, 0, v);
return v;
}
public double evaluate(double[], double, org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction, boolean, int, int) throws org.apache.commons.math.exception.MathIllegalArgumentException
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
double[] v;
byte v;
int v, v, v, v, v;
boolean v, v, v;
double v, v, v, v, v, v, v, v, v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: double[];
v := @parameter: double;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction;
v := @parameter: boolean;
v := @parameter: int;
v := @parameter: int;
virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean test(double[],int,int)>(v, v, v);
v = lengthof v;
if v != 0 goto label;
return #NaN;
label:
v = lengthof v;
if v != 1 goto label;
return 0.0;
label:
v = virtualinvoke v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction: boolean getDirection()>();
v = 0.0;
v = v;
label:
if v >= v goto label;
v = v[v];
v = v cmpl v;
if v <= 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
if v != v goto label;
v = v[v];
v = v - v;
v = v * v;
v = v + v;
label:
v = v + 1;
goto label;
label:
if v == 0 goto label;
v = v - 1.0;
v = v / v;
return v;
label:
v = v / v;
return v;
}
public boolean isBiasCorrected()
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
boolean v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v = v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected>;
return v;
}
public void setBiasCorrected(boolean)
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
boolean v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: boolean;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: boolean biasCorrected> = v;
return;
}
public org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction getVarianceDirection()
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v = v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection>;
return v;
}
public void setVarianceDirection(org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction)
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance v;
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v;
v := @this: org.apache.commons.math.stat.descriptive.moment.SemiVariance;
v := @parameter: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction;
v.<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction varianceDirection> = v;
return;
}
static void <clinit>()
{
org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction v, v;
v = <org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction UPSIDE>;
<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction UPSIDE_VARIANCE> = v;
v = <org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction DOWNSIDE>;
<org.apache.commons.math.stat.descriptive.moment.SemiVariance: org.apache.commons.math.stat.descriptive.moment.SemiVariance$Direction DOWNSIDE_VARIANCE> = v;
return;
}
}