See: Description
| Class | Description |
|---|---|
| ColtBeta |
Produce a random sequence with a Beta distribution.
|
| ColtBinomial |
Produce a random sequence with a Binomial distribution.
|
| ColtBinomialSelector |
Assign trials from several populations using a conditional Binomial
selection process.
|
| ColtBreitWigner |
Produce a random sequence with a BreitWigner distribution.
|
| ColtChiSquare |
Produce a random sequence with a ChiSquare distribution.
|
| ColtExponential |
Produce a random sequence with a Exponential distribution.
|
| ColtExponentialPower |
Produce a random sequence with a ExponentialPower distribution.
|
| ColtGamma |
Produce a random sequence with a Gamma distribution.
|
| ColtHyperGeometric |
Produce a random sequence with a HyperGeometric distribution.
|
| ColtLogarithmic |
Produce a random sequence with a Logarithmic distribution.
|
| ColtNegativeBinomial |
Produce a random sequence with a NegativeBinomial distribution.
|
| ColtNormal |
Produce a random sequence with a Normal distribution.
|
| ColtPoisson |
Produce a random sequence with a Poisson distribution.
|
| ColtPoissonSlow |
Produce a random sequence with a PoissonSlow distribution.
|
| ColtRandomSource |
Base class for Colt random sources.
|
| ColtStudentT |
Produce a random sequence with a StudentT distribution.
|
| ColtVonMises |
Produce a random sequence with a VonMises distribution.
|
| ColtZeta |
Produce a random sequence with a Zeta distribution.
|
Colt is an
"Open Source Libraries for High Performance
Scientific and Technical Computing in Java"
These classes use the Colt library from
http://hoschek.home.cern.ch/hoschek/colt/
$PTII/lib/ptcolt.jar is a subset of the Colt classes necessary
to compile these classes. Usually, you need only add
$PTII/lib/ptcolt.jar to your classpath by running
cd $PTII rm config.*; ./configure
Note that if configure finds colt.jar then configure will put
colt.jar in front of ptcolt.jar in the classpath.
$PTII/lib/ptcolt.jar includes an updated
RngPack1.1a, which
includes fixes to "fixes a number of serious bugs in RngPack 1.0 including an incorrect coefficient in the Ranecu implementation and fixes an off-by-one error in the choice() method."
Colt-1.0.3 shipped with RngPack1.0, we recommend using ptcolt.jar,
which includes RngPack1.1a.
If you want to work with the full version of Colt, download Colt and unjar so that $PTII/vendors/misc/colt/colt.jar is created:
cd $PTII/vendors/misc mkdir colt jar -xf /tmp/colt1.0.3.zipThe rerun configure:
cd $PTII rm config.*; ./configureand run make in this directory
cd $PTII/ptolemy/actor/lib/colt make