Christoph Ruegg
3991084de6
RootFinding: auto zero-crossing bracketing expansion in FindRoots.OfFunction; include missing R# settings, apply
12 years ago
Hythem Sidky
304bdb86b3
Changed tolerance check and added bracket check.
Added a check ensuring a root is bracketed - that is, the function
changes sign between the lower and upper bound. Also changed convergence
check to be consistent with a relative tolerance.
12 years ago
Christoph Ruegg
719f0dcad3
Code Style & Inspections
12 years ago
Christoph Ruegg
df4cc7ef8e
Code style; merge MCMC namespaces into one (drop .Diagnostics)
12 years ago
Christoph Ruegg
b8ccb66a9d
Tests: Use Assert.That for exception tests
12 years ago
Christoph Ruegg
b0ed692ab2
RootFinding: new implementation for complex cubic roots, tests
12 years ago
Christoph Ruegg
efd0b14ae2
Constants: sqrt(3) #194
12 years ago
Candy Chiu
09c89cc400
Added class Cubic to find the real roots of a cubic polynomial.
Added unit test class CubicTest.
13 years ago
Christoph Ruegg
f2e0ad6f10
Tests: test category attributes
13 years ago
Christoph Ruegg
865d83ba2d
Build: .Net 3.5 tests now compiled against .Net 3.5 (instead of .Net 4.5)
13 years ago
Christoph Ruegg
afc4f7e167
Precision: rework/cleanup (major)
13 years ago
Christoph Ruegg
2f275c1fb0
Build: make whole unit test suite hybrid so it can run against all portable profiles
13 years ago
taschna
54c5065d75
RootFinding: Add higher dimensional test cases.
Added further tests for Broyden method.
13 years ago
taschna
59448f3c67
RootFinding: Add further test for 2D and 3D roots.
13 years ago
Christoph Ruegg
886de41952
RootFinding: quadratic case, inline docs
13 years ago
Christoph Ruegg
e126c553db
RootFinding: drop 'and' in functions; migrate exception text to resx.
13 years ago
taschna
64aefa8077
RootFit: Implemented simple N-dim root finder.
Implemented simple version of Broyden's method.
Added all 1D test cases and a simple 2D test case from
http://www.polymath-software.com/library/problemlist.shtml for Broydens
root finder.
13 years ago
taschna
a12684649e
RootFinding: Add fallback to Bisection in FindRoots.OfFunction.
Add fallback to Bisection in FindRoots.OfFunction.
Add test cases for FindRoots.OfFunction.
13 years ago
taschna
66650a7c2b
Add test cases for Brent. Add termination condition to Brent.
Add all test cases from
http://www.polymath-software.com/library/problemlist.shtml for Brent.
Add termination condition to Brent.TryFindRoot for faster termination in
case the accuracy cannot be improved further.
Add further roots to BisectionTest.Oneeq18a.
13 years ago
taschna
c3146f3b98
Add test cases for Bisection. Add termination condition to Bisection.
Add all test cases from
http://www.polymath-software.com/library/problemlist.shtml for
Bisection.
Add termination condition to Bisection.TryFindRoot for faster
termination in case the accuracy cannot be improved further.
13 years ago
Christoph Ruegg
97be12923e
RootFinding: default values, newton-raphson initial guess optional (separate function)
13 years ago
Christoph Ruegg
9d0fe06509
RootFinding: applying common pattern also to bisection algorithm
13 years ago
Christoph Ruegg
c5c1cb9654
RootFinding: add pure newton-raphson (in addition to existing robust one)
13 years ago
taschna
1b347b4155
Add test for Brent and Bisection. Fix termination condition of Bisection.FindRoot.
Add test case Oneeq2a
(http://www.polymath-software.com/library/nle/Oneeq2a.htm ) for Brent and
Bisection.
Fix termination condition of Bisection.FindRoot (new test case results
in infinite loop otherwise).
13 years ago
taschna
be0f2d0471
Tests: Add test for Brent and Bisection.
Add test case Oneeq1
(http://www.polymath-software.com/library/nle/Oneeq1.htm ) for Brent and
Bisection.
13 years ago
Christoph Ruegg
9905ef3038
RootFinding: s/hybrid/robust/
13 years ago
Christoph Ruegg
c12a648197
RootFinding: simplify namespaces
13 years ago
Christoph Ruegg
cedff536f7
RootFinding: cubic tests now use EvaluatePolynomial
13 years ago
Christoph Ruegg
dc942b947a
RootFinding: cubic tests
13 years ago
Christoph Ruegg
72b86504fe
RootFinding: s/FloatingPointRoots/RealRoots/
13 years ago
Christoph Ruegg
ccf89f8186
RootFinding: protect newton-raphson better against singularities, more tests
13 years ago
Christoph Ruegg
7ed6c6f887
RootFinding: Update Brent to TryFindRoot pattern as well
13 years ago
Christoph Ruegg
c70c07b6d7
RootFinding: more robust hybrid newton-raphson
13 years ago
Christoph Ruegg
7d80ad6e69
RootFinding: add hybrid newton-raphson/bisection algorithm
13 years ago
Christoph Ruegg
7dfa4a083f
RootFinding: separate bracketing from algorithm, unify error behavior
13 years ago
Christoph Ruegg
fd18c32f25
RootFinding: align algorithms, no need for objects
13 years ago
Christoph Ruegg
fe870ce899
RootFinding: update tests
13 years ago
Christoph Ruegg
e523675a43
RootFinding: move bisection to root-finding namespace, update portable project
13 years ago
Christoph Ruegg
d5666d7b67
RootFinding: apply common algorithms pattern
13 years ago
Christoph Ruegg
9570ae1d6e
RootFinding: file headers, white space
13 years ago
Christoph Ruegg
04a5f30d99
RootFinding: refactoring, simplify
13 years ago
Christoph Ruegg
a177228238
RootFinding: simplify unit test
13 years ago
Christoph Ruegg
be5d8b9ebc
RootFinding: move files, namespace, tests, projects
13 years ago