Christoph Ruegg
c5ba8a124d
number theory: integer IsPowerOfTwo
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
79bd6367d8
number theory: gcd/lcm for pairs and lists (from Iridium)
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Marcus Cuda
0bb995f7a4
moved Complex tests into their own folder
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Christoph Ruegg
3e60249dfd
interpolation: ported akima spline
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
8599adbc89
interpolation test: now verifying minimum sample count check
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
a388a0ddaa
threading: style cop
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Jurgen Van Gael
37d02b5743
Fixed a bug with the order finding method.
Lowered the accuracy of StdDev computation on the numacc2 test to 13 significant digits.
17 years ago
Jurgen Van Gael
8184cbbb67
Added the number theory and sorting classes.
17 years ago
Jurgen Van Gael
572ac3a74b
Added statistics test data.
17 years ago
Christoph Ruegg
6167c39c8c
threading: ported from dnAnalytics
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
d71990fceb
internals now visible to unit tests (fix for native)
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
3de8fde358
internals now visible to unit tests, which are now signed
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
c16e8e18b7
assembly now marked as CLS compliant
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
ae94954bfa
quadrature: some methods are now static
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
74a57ec9ed
style cop
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Marcus Cuda
1374a450c4
complex: fixed ToString and added operators
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Christoph Ruegg
3ae322ef98
quadrature: ported from iridium
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
fc5bd1b6eb
precision: added relative-error almost-equal
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
b290395b7a
number theory: ported from iridium, as needed by quadrature
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
a193ad19c7
interpolation: ported cubic spline algorithm
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
bd1c6a1b75
interpolation test: reorganized to support non-standard-parameter meta algorithms
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
c65cd550f4
interpolation: refactoring for access to coefficient/weight computation
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
dc732139c8
interpolation: ported cubic hermite spline algorithm
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
95ee84407c
style cop
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
6d3db3c0d3
interpolation: ported bulirsch-stoer rational algorithm
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
88114fd521
interpolation test: exception case testing (code coverage)
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
55cce660e2
interpolation: renaming some methods and classes
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Marcus Cuda
fdfdd07e7b
fixed ToString and added missing tests
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
85feb49a88
cannot push, seeing if checking in the changed Complex.cs file helps
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Marcus Cuda
eeb814fb8d
Added AlmostEquals method from Math.NET Iridium
Signed-off-by: Marcus Cuda <marcus@cuda.net>
17 years ago
Christoph Ruegg
5542cb05c2
precision test: added Test attribute where missing
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
bdc16a8340
special functions: fix native build (missing links)
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
9e84b489e7
interpolation: code style
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
647159d7a4
interpolation: now using Precision.AlmostZero
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
1c4f887e46
interpolation: assume samples to be sorted (splines-only)
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
597f965593
interpolation: spline refactoring (code review)
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
45ba168a58
interpolation test: added rational behavior contract
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
e3e646e840
interpolation test: added polynomial behavior contract
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
06d6c6ef47
interpolation: minor refactoring
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
446f98532a
interpolation: neville polynomial interpolation
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
3f22f3d6c5
interpolation: renamed linear spline factory method
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
c339b64cf9
interpolation: algorithm constructors as one line init shortcut
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
8d1681c313
interpolation: minor code formatting
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
a9f06ccbd0
interpolation test: contract based unit tests
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
3adcef6250
interpolation: rational pole-free, linear spline
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Christoph Ruegg
4f6d8fd524
interpolation: factory and interface suggestion
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
P. van der Velde
5f38d4e010
Changed Precision.Value to Precision.GetMagnitudeScaledValue
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Jurgen Van Gael
fecaed0fdd
Added Boost license reference.
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Jurgen Van Gael
4e22ba370d
Fixed StyleCop warnings.
Added ContinuousDistribution class.
Added ContinuousDistribution unit tests.
Added more unit tests in Normal class.
Added Control class with property to check distribution parameters.
Tried to fix the StyleCop header warnings by changing the file encoding but didn't seem to work all that well.
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago
Jurgen Van Gael
22fb98fb5d
Fix the message shown in the AssertHelpers.AlmostEqual function.
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
17 years ago