Commit Graph

623 Commits

Author SHA1 Message Date
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
Davis King 0803ff8f9d Added a missing &
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402832
2009-01-23 13:36:09 +00:00
Davis King a550e31034 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402831
2009-01-23 02:49:17 +00:00
Davis King 0dbb72588f Added an optimization example.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402830
2009-01-23 02:38:20 +00:00
Davis King d8d5af4090 Made the specs more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402829
2009-01-20 23:59:16 +00:00
Davis King c7a6b66adc Fixed typo in the vector spec.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402828
2009-01-20 23:53:00 +00:00
Davis King 3388a96441 Made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402827
2009-01-19 01:48:28 +00:00
Davis King c595039ca6 Fixed warning in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402825
2009-01-19 00:27:18 +00:00
Davis King dfcd459e5f Made widget_group objects apply fit_to_contents() recursively when
widget_group objects are nested.  Also fixed some spelling errors in the
spec file.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402824
2009-01-18 23:47:57 +00:00
Davis King f739b89a96 Added some functions to the text_field to control input focus and
select text.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402823
2009-01-18 23:15:21 +00:00
Davis King 74aaea6f2b updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402822
2009-01-18 22:29:35 +00:00
Davis King 3397b5830c updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402821
2009-01-18 22:23:32 +00:00
Davis King e53a5439fc Removed confusing options.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402820
2009-01-18 22:22:52 +00:00
Davis King f4a65b634d updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402819
2009-01-18 19:10:40 +00:00
Davis King 9e7e39a55d Renamed the array::expand() function to array::resize().
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402818
2009-01-18 19:10:19 +00:00
Davis King 542359605b Clarified the specs.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402817
2009-01-18 18:52:59 +00:00
Davis King c02fd30aa1 Added some comments regarding the use of std::swap.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402816
2009-01-18 18:48:27 +00:00
Davis King 2299b24d2d Fixed some confusing bits of the vector spec and also
added a unary - operator.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402815
2009-01-18 13:53:20 +00:00
Davis King d524f26484 Fixed incorrect comments.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402814
2009-01-17 22:28:59 +00:00
Davis King 6d04dc9618 Changed code to avoid a bug in visual studio 7.1
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402813
2009-01-17 01:32:30 +00:00
Davis King a690003d21 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402812
2009-01-16 23:59:05 +00:00
Davis King 01d6b52832 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402811
2009-01-16 04:45:09 +00:00
Davis King b42ae61a28 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402810
2009-01-16 04:31:05 +00:00