public class org.apache.commons.math3.analysis.function.Gaussian implements org.apache.commons.math3.analysis.differentiation.UnivariateDifferentiableFunction, org.apache.commons.math3.analysis.DifferentiableUnivariateFunction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.analysis.function.Gaussian
super_class: java.lang.Object
{
private final double mean;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double is;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double i2s2;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double norm;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(double, double, double);
descriptor: (DDD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: dload 5
dconst_0
dcmpg
ifgt 3
2: new org.apache.commons.math3.exception.NotStrictlyPositiveException
dup
dload 5
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokespecial org.apache.commons.math3.exception.NotStrictlyPositiveException.<init>:(Ljava/lang/Number;)V
athrow
3: StackMap locals: org.apache.commons.math3.analysis.function.Gaussian double double double
StackMap stack:
aload 0
dload 1
putfield org.apache.commons.math3.analysis.function.Gaussian.norm:D
4: aload 0
dload 3
putfield org.apache.commons.math3.analysis.function.Gaussian.mean:D
5: aload 0
dconst_1
dload 5
ddiv
putfield org.apache.commons.math3.analysis.function.Gaussian.is:D
6: aload 0
ldc 0.5
aload 0
getfield org.apache.commons.math3.analysis.function.Gaussian.is:D
dmul
aload 0
getfield org.apache.commons.math3.analysis.function.Gaussian.is:D
dmul
putfield org.apache.commons.math3.analysis.function.Gaussian.i2s2:D
7: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/math3/analysis/function/Gaussian;
0 8 1 norm D
0 8 3 mean D
0 8 5 sigma D
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
norm
mean
sigma
public void <init>(double, double);
descriptor: (DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
dconst_1
dload 3
ldc 6.283185307179586
invokestatic org.apache.commons.math3.util.FastMath.sqrt:(D)D
dmul
ddiv
dload 1
dload 3
invokespecial org.apache.commons.math3.analysis.function.Gaussian.<init>:(DDD)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/analysis/function/Gaussian;
0 2 1 mean D
0 2 3 sigma D
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
mean
sigma
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
dconst_0
dconst_1
invokespecial org.apache.commons.math3.analysis.function.Gaussian.<init>:(DD)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/analysis/function/Gaussian;
public double value(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: dload 1
aload 0
getfield org.apache.commons.math3.analysis.function.Gaussian.mean:D
dsub
aload 0
getfield org.apache.commons.math3.analysis.function.Gaussian.norm:D
aload 0
getfield org.apache.commons.math3.analysis.function.Gaussian.i2s2:D
invokestatic org.apache.commons.math3.analysis.function.Gaussian.value:(DDD)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/analysis/function/Gaussian;
0 1 1 x D
MethodParameters:
Name Flags
x
public org.apache.commons.math3.analysis.UnivariateFunction derivative();
descriptor: ()Lorg/apache/commons/math3/analysis/UnivariateFunction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.math3.analysis.FunctionUtils.toDifferentiableUnivariateFunction:(Lorg/apache/commons/math3/analysis/differentiation/UnivariateDifferentiableFunction;)Lorg/apache/commons/math3/analysis/DifferentiableUnivariateFunction;
invokeinterface org.apache.commons.math3.analysis.DifferentiableUnivariateFunction.derivative:()Lorg/apache/commons/math3/analysis/UnivariateFunction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/analysis/function/Gaussian;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private static double value(double, double, double);
descriptor: (DDD)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 2 start local 4 0: dload 2
dload 0
dneg
dload 0
dmul
dload 4
dmul
invokestatic org.apache.commons.math3.util.FastMath.exp:(D)D
dmul
dreturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 xMinusMean D
0 1 2 norm D
0 1 4 i2s2 D
MethodParameters:
Name Flags
xMinusMean
norm
i2s2
public org.apache.commons.math3.analysis.differentiation.DerivativeStructure value(org.apache.commons.math3.analysis.differentiation.DerivativeStructure);
descriptor: (Lorg/apache/commons/math3/analysis/differentiation/DerivativeStructure;)Lorg/apache/commons/math3/analysis/differentiation/DerivativeStructure;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=14, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.analysis.function.Gaussian.is:D
aload 1
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getValue:()D
aload 0
getfield org.apache.commons.math3.analysis.function.Gaussian.mean:D
dsub
dmul
dstore 2
start local 2 1: aload 1
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.getOrder:()I
iconst_1
iadd
newarray 7
astore 4
start local 4 2: aload 4
arraylength
newarray 7
astore 5
start local 5 3: aload 5
iconst_0
dconst_1
dastore
4: dload 2
dload 2
dmul
dstore 6
start local 6 5: aload 0
getfield org.apache.commons.math3.analysis.function.Gaussian.norm:D
ldc -0.5
dload 6
dmul
invokestatic org.apache.commons.math3.util.FastMath.exp:(D)D
dmul
dstore 8
start local 8 6: dload 8
getstatic org.apache.commons.math3.util.Precision.SAFE_MIN:D
dcmpg
ifgt 9
7: aload 4
dconst_0
invokestatic java.util.Arrays.fill:([DD)V
8: goto 30
9: StackMap locals: org.apache.commons.math3.analysis.function.Gaussian org.apache.commons.math3.analysis.differentiation.DerivativeStructure double double[] double[] double double
StackMap stack:
aload 4
iconst_0
dload 8
dastore
10: iconst_1
istore 10
start local 10 11: goto 29
12: StackMap locals: int
StackMap stack:
dconst_0
dstore 11
start local 11 13: aload 5
iload 10
aload 5
iload 10
iconst_1
isub
daload
dneg
dastore
14: iload 10
istore 13
start local 13 15: goto 23
16: StackMap locals: double int
StackMap stack:
dload 11
dload 6
dmul
aload 5
iload 13
daload
dadd
dstore 11
17: iload 13
iconst_2
if_icmple 20
18: aload 5
iload 13
iconst_2
isub
iload 13
iconst_1
isub
i2d
aload 5
iload 13
iconst_1
isub
daload
dmul
aload 5
iload 13
iconst_3
isub
daload
dsub
dastore
19: goto 22
StackMap locals:
StackMap stack:
20: iload 13
iconst_2
if_icmpne 22
21: aload 5
iconst_0
aload 5
iconst_1
daload
dastore
22: StackMap locals:
StackMap stack:
iinc 13 -2
StackMap locals:
StackMap stack:
23: iload 13
ifge 16
end local 13 24: iload 10
iconst_1
iand
iconst_1
if_icmpne 26
25: dload 11
dload 2
dmul
dstore 11
26: StackMap locals:
StackMap stack:
dload 8
aload 0
getfield org.apache.commons.math3.analysis.function.Gaussian.is:D
dmul
dstore 8
27: aload 4
iload 10
dload 8
dload 11
dmul
dastore
end local 11 28: iinc 10 1
StackMap locals:
StackMap stack:
29: iload 10
aload 4
arraylength
if_icmplt 12
end local 10 30: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual org.apache.commons.math3.analysis.differentiation.DerivativeStructure.compose:([D)Lorg/apache/commons/math3/analysis/differentiation/DerivativeStructure;
areturn
end local 8 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/commons/math3/analysis/function/Gaussian;
0 31 1 t Lorg/apache/commons/math3/analysis/differentiation/DerivativeStructure;
1 31 2 u D
2 31 4 f [D
3 31 5 p [D
5 31 6 u2 D
6 31 8 coeff D
11 30 10 n I
13 28 11 v D
15 24 13 k I
Exceptions:
throws org.apache.commons.math3.exception.DimensionMismatchException
MethodParameters:
Name Flags
t final
}
SourceFile: "Gaussian.java"
NestMembers:
org.apache.commons.math3.analysis.function.Gaussian$Parametric
InnerClasses:
public Parametric = org.apache.commons.math3.analysis.function.Gaussian$Parametric of org.apache.commons.math3.analysis.function.Gaussian