Jurgen Van Gael
72e771abbb
Fixed bugs in distributions.
17 years ago
Jurgen Van Gael
1ce3b42491
Some bug fixes on Binomial, Categorical and Multinomial distributions.
17 years ago
Jurgen Van Gael
5b651f1285
Added Logit and Logistic functions.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
6334379f12
Updated the F# interface to comply with the October 2009 CTP.
Added a DenseMatrix constructor which references an array.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
e0ad31caaf
Fixed some bugs in the DenseMatrix implementation.
17 years ago
Jurgen Van Gael
7f23d8d912
Added initial DenseMatrix implementation.
Ported F# Matrix and DenseMatrix interface.
17 years ago
Jurgen Van Gael
d8b8520409
Added log-normal distribution.
Fixed some F# methods.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
aab6c0186b
Initial version of VectorNormal distribution.
17 years ago
Jurgen Van Gael
8b73646e78
Added Histogram example in F#.
Removed AlmostZero from incomplete Gamma function.
Ported Pearson correlation computation.
Added more histogram unit tests.
Fixed a bug in the histogram code.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
db4a70cbe4
Enabled Beta entropy test.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
742da56f8c
Added discrete uniform distribution.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
497938a20e
Added F# Apply example
Added F# DenseVector implementation
Added the Histogram class
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
59ff93f1b0
Added incomplete Gamma functions.
Added incomplete Beta functions.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Marcus Cuda
36b0498e6d
Removed AlmostZero and add reference to the NIST test data in the unit tests project
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
bef57e21df
added some of the missing parallel tests
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
b97b20b2e7
removed failing test, will add back in a moment
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
a6f32a241b
removed failing test, will add back in a moment
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
914c317157
removed GetIndexedEnumerator from Vector - will add it back to the sparse Vector
moved the scaling factor and max block size from control into the Parallel class and made them constant
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
94af0578c8
Parellel: found problem with tests, they were only testing the list version - added set versions
fixed bug when no tasks were ran
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
b6562f14da
Parellel: added missing 'wait for threads' to complete code - not sure how the tests passed before. there might be a problem with the tests
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
85dcab23f9
Parallel: First take on Parallel.ForEach
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Jurgen Van Gael
be85f223b4
Ported dnA random number generators.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
f5f81a11ab
Fixed DiGammaInv bug for 0 and infinity arguments.
Added more more special functions.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Christoph Ruegg
3331edfcfc
functions: stable x -> exp(x)-1, used in weibull cdf
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Jurgen Van Gael
2d5561539b
Added Multinomial distribution Added MersenneTwister Fixed namespace error in unit tests
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
671953de02
Added inverse DiGamma unit tests.
17 years ago
Jurgen Van Gael
f4d2fa0c76
Added Weibull distribution.
Fixed bug in Dirichlet distribution (when one of the dimensions is singular).
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
7592ccb50b
Added extension methods for System.Random that sample additional value types.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Christoph Ruegg
2fe6a9efcb
combinatorics: permutations
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
1d13f8da96
combinatorics: combinations
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
c0f8112267
combinatorics: variations
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
7d80e506da
functions: Binomial, BinomialLn
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
2629bed00d
functions: Factorial, FactorialLn
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
61cb43ed81
globalization: double dense vector parsing
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Marcus Cuda
478991b870
vector: added equals and gethashcode methods
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Christoph Ruegg
85b19ee4cb
globalization: complex ToString and Parse
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Jurgen Van Gael
165942ea18
Bug fixes in Bernoulli distribution.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
c7db7cd590
Extended F# API (doesn't compile just yet).
Added Bernoulli distribution.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Marcus Cuda
eeed394686
Vector: added norm methods and broke up unit tests
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
720abbdb74
Vector: Added array constructor - keeps a reference, does not make a copy
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
e3e6dc94d6
Vector: added scaling methods
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
844ad6a51f
Vector: added subtraction and corrected addition interface in ILinearAlgebra
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
882a48e040
Vector: Added addition methods
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Christoph Ruegg
8bf88a71bf
sampling: applying random sampling to unit tests
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
c2a756bb7f
sampling: applying to unit tests to replace custom sampling providers
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Jurgen Van Gael
0a6abf73e7
Added Dirichlet unit tests
Fixed typo in CommonDistributionTests.cs
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Jurgen Van Gael
806f26e0af
Added Dirichlet distribution.
Signed-off-by: jvangael <jurgen.vangael@gmail.com>
17 years ago
Christoph Ruegg
ed86c197d7
threading: resolve recursive parallelization, preventing deadlocks
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
71756c6599
quadrature: tests now verify argument checks
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
283fd6e2f9
unit tests: new generic argument checking contract, functional helpers now globally available
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago