Davis King
a6d2f3ea4a
Fixed compiler error.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402783
2009-01-04 20:46:58 +00:00
Davis King
b757fb61a2
Changed code so that it compiles in visual studio.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402782
2009-01-04 20:31:46 +00:00
Davis King
8ab03ffcf9
Changed code so that it compiles in visual studio.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402781
2009-01-04 20:31:04 +00:00
Davis King
80bcc7285b
Changed a few things to avoid compiler warnings and errors in visual studio 7.1
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402780
2009-01-04 19:32:43 +00:00
Davis King
5acf84a6d1
Fixed the remaining known issues with the BLAS bindings and added
...
a bunch of related tests to the regression test suite.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402779
2009-01-04 19:02:47 +00:00
Davis King
51dcdfad96
Added the last few BLAS bindings and adjusted a few of the
...
constants related to matrix expression cost and when the BLAS
bindings can become active.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402778
2009-01-04 04:07:25 +00:00
Davis King
715ca0da89
Added more BLAS bindings.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402777
2009-01-04 03:03:40 +00:00
Davis King
de22808a6d
Added some assignment overloads that loop over matrices in either row-major or
...
column-major order depending on the layout of the given matrix.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402776
2009-01-03 22:01:20 +00:00
Davis King
887f979b1e
Added stuff to the BLAS bindings so that they can now bind
...
to statements with matrix sub expressions as the destination
matrix.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402775
2009-01-03 03:25:16 +00:00
Davis King
bfa4b3f2e2
Added the layout_type into the matrix_type typedef.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402774
2009-01-03 00:31:44 +00:00
Davis King
876c77e481
Fixed some bugs and cleaned up the code.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402773
2009-01-03 00:22:23 +00:00
Davis King
01b0f10ab5
Changed the code so that the implicit conversion of a matrix to
...
a scalar can trigger any appropriate BLAS calls.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402772
2009-01-02 23:07:10 +00:00
Davis King
a46fa4206f
Added *.dat to the svn:ignore list.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402771
2009-01-02 22:47:21 +00:00
Davis King
c58b3280ce
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402770
2009-01-02 20:29:32 +00:00
Davis King
0d8fb754a6
Commented out an unnecessary using namespace statement.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402769
2009-01-02 04:55:01 +00:00
Davis King
a87e2b8ef7
Added stuff to make matrix sub-expressions get bound into BLAS
...
calls.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402768
2009-01-02 04:45:27 +00:00
Davis King
d1c92fb8b4
Simplified the BLAS binding macro.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402767
2009-01-02 01:20:59 +00:00
Davis King
88dea1153e
Added GEMV BLAS bindings.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402766
2009-01-01 16:05:21 +00:00
Davis King
7a59836f33
Changed to avoid warning in visual studio.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402765
2008-12-31 19:26:10 +00:00
Davis King
c596cebbdf
Improved the BLAS binding system. It should now break expressions up into
...
their proper basic BLAS function calls.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402764
2008-12-31 16:53:58 +00:00
Davis King
6b5f9a8a5f
Setup the cmake files so that they can find and link to BLAS libraries
...
when available (on UNIX, no windows CMake BLAS stuff yet).
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402763
2008-12-27 21:45:12 +00:00
Davis King
13a920d51c
Cleaned up the BLAS bindings more.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402762
2008-12-27 18:13:40 +00:00
Davis King
dea6bc0474
- Added overloads to cause scalar multiplications to combine and percolate out
...
of matrix multiplications.
- Worked more on the optimized overloads that call BLAS functions.
- Changed the code inside the matrix assignment overloads so that it works
better with GCC's optimizer.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402761
2008-12-26 23:12:30 +00:00
Davis King
d346bdcf4e
Added a few more things to the svn:ignore list.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402760
2008-12-25 02:43:30 +00:00
Davis King
bf7a336583
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402759
2008-12-25 00:35:34 +00:00
Davis King
e492187c08
Adding a new example program.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402758
2008-12-25 00:32:29 +00:00
Davis King
2eebb8d5c1
Added some more tests
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402757
2008-12-25 00:32:04 +00:00
Davis King
4554263ba4
Cleaned up a few things and also fixed the compiler error in the
...
tensor_product() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402756
2008-12-25 00:31:04 +00:00
Davis King
a42e7fa8fa
Clarified some comments.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402755
2008-12-25 00:29:34 +00:00
Davis King
a146d6d757
Added a check to prevent the user from pasting a multi-line
...
string into a single line text_field.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402754
2008-12-23 21:52:43 +00:00
Davis King
4944099961
Fixing more issues with visual studio 2003
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402753
2008-12-23 21:38:42 +00:00
Davis King
0920c8f8d7
Reorganized the matrix_assign code a little and also added in
...
some stuff to allow me to bind whatever expressions I feel like
to optimized BLAS libraries.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402752
2008-12-23 20:38:25 +00:00
Davis King
7baab9fa30
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402751
2008-12-23 16:37:14 +00:00
Davis King
533b5beb8f
Moved the matrix subexpression stuff into its own file.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402750
2008-12-23 16:10:14 +00:00
Davis King
9d42e9fae1
updated the matrix example program.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402749
2008-12-23 15:39:37 +00:00
Davis King
eb471442fb
Added a column_major_layout for the matrix.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402748
2008-12-23 15:10:27 +00:00
Davis King
55f1fccaef
updated spec
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402747
2008-12-23 12:57:15 +00:00
Davis King
a5871cdc69
More code cleanup.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402746
2008-12-22 17:56:50 +00:00
Davis King
659aef23d2
More code cleanup.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402745
2008-12-22 16:35:31 +00:00
Davis King
583866281c
General cleanup (also added all the needed typedefs for layout_type).
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402744
2008-12-22 14:19:43 +00:00
Davis King
3335021349
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402743
2008-12-20 19:54:20 +00:00
Davis King
ded490dc9d
Optimized the matrix multiply a little more.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402742
2008-12-19 21:54:52 +00:00
Davis King
7b53a1cb3f
Updated the assign_matrix stuff so that it works again.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402741
2008-12-19 19:32:15 +00:00
Davis King
4f6f436e2a
Switched the gui stuff over to the new 2D dlib::vector object.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402740
2008-12-19 18:51:06 +00:00
Davis King
7ae1d3a3e2
Clarified the vector spec and added some more tests.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402739
2008-12-19 18:26:31 +00:00
Davis King
77e5542373
Fixed compile error in gcc
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402738
2008-12-19 16:41:11 +00:00
Davis King
1f8cd9c371
Added a bunch of voodoo to appease the bugs in visual studio. Also added
...
promotions to the global operator* overloads for the vector.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402737
2008-12-19 16:29:59 +00:00
Davis King
5348ed7f95
- Made the vector class inherit from matrix
...
- Added code to make sure the vector class does the
appropriate type promotion when vector objects
with different types are used together.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402736
2008-12-19 15:31:49 +00:00
Davis King
8c9d6c128c
Adding Steven Van Ingelgem's cmake patch to clean things up and add
...
shared builds.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402735
2008-12-19 13:05:39 +00:00
Davis King
818086a433
Added more constructors to the matrix expression objects so that various potential
...
errors are avoided entirely.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402734
2008-12-19 03:39:59 +00:00