Commit Graph

745 Commits

Author SHA1 Message Date
Davis King
20008940ac Made the spec more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402883
2009-03-01 14:50:27 +00:00
Davis King
815cac30b6 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402882
2009-02-28 19:38:30 +00:00
Davis King
2d7982cf41 Added a trace() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402881
2009-02-28 19:32:57 +00:00
Davis King
d4072818c3 cleanup spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402880
2009-02-28 19:24:50 +00:00
Davis King
543da8097c updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402879
2009-02-28 19:13:52 +00:00
Davis King
4deccf5036 Added some tests for the new min/max functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402878
2009-02-28 19:08:35 +00:00
Davis King
af25d30ad3 Added functions to find the index of the min and max element of a vector.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402877
2009-02-28 19:03:56 +00:00
Davis King
050b2409af Fixed incorrect message in an assert.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402876
2009-02-19 03:27:23 +00:00
Davis King
49532acf87 Added licensing comments to the example programs.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402875
2009-02-17 01:45:57 +00:00
Davis King
6f7b7211c3 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402874
2009-02-16 03:08:06 +00:00
Davis King
9ccab1b21a Added the find_min_and_max() function. I also changed the code in the
lu_decomposition::is_singular() function to avoid what appears to be a
bug in gcc 4.2.4 that caused one of the regression tests to segfault
when built with -O3.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402873
2009-02-16 03:03:19 +00:00
Davis King
3919e4d51a Added some functions to the rectangle to make it easy
to get the corner points.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402872
2009-02-15 18:57:51 +00:00
Davis King
c6d4e03f55 Fixed a bug in the way Content-type was handled in HTTP posts.
(See bug #2600378)

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402871
2009-02-15 17:50:41 +00:00
Davis King
2712f4e361 Made the howto more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402870
2009-02-15 17:14:50 +00:00
Davis King
ea7f4e65dd Update cmake file so it doesn't give warnings
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402869
2009-02-12 11:34:43 +00:00
Davis King
5130d89f2f Fixed a bug in an assert statement and also changed the code to avoid
potential compiler warnings.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402868
2009-02-09 23:00:17 +00:00
Davis King
cdec582070 Adjusted the epsilon to avoid false positives.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402867
2009-02-08 19:30:19 +00:00
Davis King
465d0763eb Changed cmake file so that it can find the 64bit Intel MKL when
appropriate.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402866
2009-02-08 14:42:35 +00:00
Davis King
31a4736c76 Changed code to avoid a potential race condition during program termination.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402865
2009-02-05 03:09:58 +00:00
Davis King
d4d79c64de Renamed cdiv to cdiv_ to avoid conflicts with code that #defines cdiv
to some macro.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402864
2009-02-05 02:41:15 +00:00
Davis King
46e1791568 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402863
2009-02-05 02:34:34 +00:00
Davis King
1c1730c1d0 Made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402861
2009-02-04 03:50:08 +00:00
Davis King
5cc628479b - Added a bool to protect the unregister_thread_end_handler() function from
being called from the destructor of a global object when the state object
    the unregister_thread_end_handler() function uses has already been destroyed.
  - Changed the thread pool so that it only gets destroyed if there aren't any
    outstanding threads when the program ends.  If there are threads still
    running user tasks then the thread pool never attempts to destruct.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402860
2009-02-04 03:24:29 +00:00
Davis King
e2ea265fc6 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402859
2009-02-04 02:21:56 +00:00
Davis King
01efae59a1 Fixed a race condition in the logger object. It was missing a needed call
to unregister_thread_end_handler().  What could happen in some scenarios is,
during program termination, a global part of the logger object could be destructed
when it still had outstanding thread end handlers registered to it.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402858
2009-02-04 01:59:41 +00:00
Davis King
d0ec0fbeeb updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402857
2009-02-04 00:30:31 +00:00
Davis King
3ae82ec017 Cleaned up the way the BLAS prototypes were declared.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402856
2009-02-04 00:12:19 +00:00
Davis King
e1a15ce101 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402855
2009-02-03 03:29:55 +00:00
Davis King
0e02ea50d1 Added some missing comments and asserts.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402854
2009-02-03 03:19:10 +00:00
Davis King
ea575d03bf Added the real_eigenvalues() function and also cleaned up a few things.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402853
2009-02-03 03:06:15 +00:00
Davis King
3e664e8d95 Removed a confusing comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402852
2009-02-03 03:02:50 +00:00
Davis King
0eac1d2134 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402851
2009-02-02 04:26:44 +00:00
Davis King
71e4796147 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402850
2009-02-01 21:28:28 +00:00
Davis King
78d7c5bd0e Moved all the linear algebra code into the matrix_la.h file.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402849
2009-02-01 21:12:11 +00:00
Davis King
1e570983c9 Updated example now that the cholesky_decomposition has been renamed.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402848
2009-02-01 20:39:56 +00:00
Davis King
b25d303e6d fixed some compiler warnings and errors in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402847
2009-02-01 20:36:59 +00:00
Davis King
e77ce7d7a2 Fixed dlib::abs() so that it works right on complex matrices.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402846
2009-02-01 20:34:19 +00:00
Davis King
b1e2c6ca37 Added QR, LU, cholesky, and eigenvalue decomposition classes.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402845
2009-02-01 19:31:01 +00:00
Davis King
6309e821f0 Fixed some errors in the requirements for calling the new rowm() and colm()
functions.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402844
2009-01-31 20:37:05 +00:00
Davis King
d8b7db202d Changed the reciprocal() function so that it can work with
complex numbers.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402843
2009-01-31 18:39:10 +00:00
Davis King
4470e29cf8 Fixed an incorrect comment.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402842
2009-01-28 22:30:09 +00:00
Davis King
930a59dc60 Added an option to control linking with libpng
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402841
2009-01-26 23:31:48 +00:00
Davis King
5a2a4f340f Made the thread destruction a little more robust.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402840
2009-01-25 22:14:40 +00:00
Davis King
6c22a6dd36 Switched the dlog and tp objects so that their destruction orders
are safer.  This only matters if the user were to modify the example
such that tasks were still running after main() ends.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402839
2009-01-25 22:14:15 +00:00
Davis King
cae50cb854 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402838
2009-01-23 20:53:54 +00:00
Davis King
cd783cf603 - Added overloads for rowm() and colm() that allow you to pick out
less than an entire vector
   - Added the lowerm() and upperm() functions
   - Added the const_temp_matrix class.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402837
2009-01-23 20:53:24 +00:00
Davis King
6a03b5291c Removed another errant cout.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402836
2009-01-23 16:38:55 +00:00
Davis King
4ba5387ab9 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402835
2009-01-23 16:37:09 +00:00
Davis King
b40ec60f90 Removed errant cout statements.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402834
2009-01-23 16:27:02 +00:00
Davis King
eb8231147e Checking in changes to the matrix object that allow it to
factor expressions containing trans() operators.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402833
2009-01-23 15:49:09 +00:00