[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Normal Distribution!!!!
From: |
Alessandro Perrone |
Subject: |
Normal Distribution!!!! |
Date: |
Tue, 7 Jul 1998 14:21:18 +0200 (METDST) |
Hi all
I am trying to use a NormalDistribution for my simulation but without
success.
Here it is the method
-alex {
int result;
result = [NormalDistribution getSampleWithMean: 0 withVariance: 0.5];
printf (" Normal Value ---> %d ", result);
return self;
}
and Here it is what Gdb says
Starting program: /home/laurea/alex/alex/examples/Swarm/rand_alex
error: NormalDist (class)
NormalDist does not recognize getSampleWithMean:withVariance:
Program received signal SIGABRT, Aborted.
0x401daf61 in __kill ()
What's wrong?
Thank in advance for the help.
ALEX
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================