Normal
hmm der code sieht nun schon bischen anders aus ich weiss allerdings noch nicht ob er schon funktioniert... aber guckt ma und vlt gehts auch noch besser oder anders[code=Java] double sig0 (int j) { int b = j; System.out.println(""); for (int q=1;q<b;q++) { tmp = (1-lambda)*(kdif.GetValue(0)*kdif.GetValue(0)) + (lambda*(sigN(q))); } return tmp; } double sigN(int i) { double val = (1-lambda)*(kdif.GetValue(i)*kdif.GetValue(i)); return val; } [/code]
hmm der code sieht nun schon bischen anders aus ich weiss allerdings noch nicht ob er schon funktioniert... aber guckt ma und vlt gehts auch noch besser oder anders
[code=Java]
double sig0 (int j)
{
int b = j;
System.out.println("");
for (int q=1;q<b;q++)
tmp = (1-lambda)*(kdif.GetValue(0)*kdif.GetValue(0)) + (lambda*(sigN(q)));
}
return tmp;
double sigN(int i)
double val = (1-lambda)*(kdif.GetValue(i)*kdif.GetValue(i));
return val;
[/code]