2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-03 09:42:20 +00:00
Commit Graph

662 Commits

Author SHA1 Message Date
Jeremiah Willcock
241cdf8a7d Fixed most tab and min/max issues from trunk inspection report
svn path=/trunk/boost/numeric/ublas/; revision=53141
2009-05-20 19:19:00 +00:00
Gunter Winkler
55e5faa918 storage.hpp: fix #2891, now check new size instead of old one
svn path=/trunk/boost/numeric/ublas/; revision=52143
2009-04-02 21:46:07 +00:00
Gunter Winkler
4a7b890dc9 test/test71.cpp reverted some changes regarding boost::interval
test/test73.cpp reverted addition of special initilizer
test/common/init.hpp changed common initilizer to use float instead of (unsigned) int to initialize test vectors/matrices (this solved some boost::interval issues, but revealed other ones)


svn path=/trunk/libs/numeric/ublas/; revision=52142
2009-04-02 21:43:25 +00:00
Gunter Winkler
220080aff0 Jamfile.v2: disabled failing test7 (need more time to investigate this)
CMakeLists.txt: added new tests, but was still not able to run cmake successfully

svn path=/trunk/libs/numeric/ublas/; revision=52141
2009-04-02 21:40:20 +00:00
Gunter Winkler
264aad218a replaced duplicate 'size_type' by 'difference_type'
svn path=/trunk/boost/numeric/ublas/; revision=51778
2009-03-14 21:29:22 +00:00
Gunter Winkler
06efe57153 fwd.hpp:
* default arguments for generalized_vector_of_vector

expression_types.hpp:
* added self_type to matrix_expression

detail/concepts.hpp:
* added documentation and missing concept checks to scalar expression and vector expression

traits.hpp:
* added container_traits
* added vector_traits
* added matrix_traits


svn path=/trunk/boost/numeric/ublas/; revision=51765
2009-03-13 21:10:04 +00:00
Gunter Winkler
6c8bc0909e functional.hpp:
* added triangular_type definitions
* added transposed_layout to basic_row_major and basic_column_major
* fix #2800 : transposed_structure has to switch row major and column major


svn path=/trunk/boost/numeric/ublas/; revision=51764
2009-03-13 21:07:16 +00:00
Gunter Winkler
5d1e7b5009 test_lu.cpp: added copyright header
triangular_access.cpp: tests constant and mutable iterators over triangular matrices
triangular_layout.cpp: tests storage layout of symmetric and triangular matrices
common/testhelper.hpp: added more common helper functions for tests
Jamfile.v2: added new unit tests

svn path=/trunk/libs/numeric/ublas/; revision=51763
2009-03-13 20:57:52 +00:00
Gunter Winkler
1b70d737cc test71.cpp: fixed initialization of vector of intervals
test73.cpp: fixed typo (size instead of size1)
test7.cpp: added comment

svn path=/trunk/libs/numeric/ublas/; revision=51762
2009-03-13 20:50:42 +00:00
Gunter Winkler
b3767e6039 add new constructor from vector to permutation matrix
svn path=/trunk/boost/numeric/ublas/; revision=51741
2009-03-12 21:35:10 +00:00
Gunter Winkler
f158c4e006 disabled tests for general_vector_of_vector because tests still fail. this class is still experimental.
svn path=/trunk/libs/numeric/ublas/; revision=51740
2009-03-12 21:16:44 +00:00
Gunter Winkler
a673f2e63e added unit test for LU decomposition
svn path=/trunk/libs/numeric/ublas/; revision=51673
2009-03-09 22:32:04 +00:00
Gunter Winkler
e427983211 * see #2691
* fixed typos

* need still some time to think about the "is mutable" comment

svn path=/trunk/libs/numeric/ublas/; revision=50917
2009-01-30 21:19:38 +00:00
Gunter Winkler
8dc506c1f6 * fix and close #2686
* replaced the word "upper" by "lower" because the description is for lower triangular matrices

* added more detailed example for the use of triangular matrices and adaptors


svn path=/trunk/libs/numeric/ublas/; revision=50916
2009-01-30 21:12:32 +00:00
Michael A. Jackson
4e8346bc42 Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
svn path=/trunk/libs/numeric/ublas/; revision=49627
2008-11-07 17:02:56 +00:00
Gunter Winkler
52ba2c0a9a see #2423.
removed the check because it makes absolutely no sense
TODO: check the strange "optimization" of lower bound.

svn path=/trunk/boost/numeric/ublas/; revision=49578
2008-11-03 22:53:55 +00:00
Gunter Winkler
cfdf08550b - fix and close #2422
- the exception was caused when trying to erase an empty range
- now erase(it1, it2) does nothing if it1 == it2

svn path=/trunk/boost/numeric/ublas/; revision=49576
2008-11-03 22:07:27 +00:00
Michael A. Jackson
17cc65f0da Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
svn path=/trunk/libs/numeric/ublas/; revision=49510
2008-11-01 13:15:41 +00:00
John Maddock
011fc2f3d5 Change includes of <cmath> to <boost/config/no_tr1/config.hpp>.
Previously if Boost.TR1 was in the include path then including <cmath> pulls in all the new TR1 math functions, which in turn also requires linking to an external library.  With auto-linking support this requires that library to have been built and be present in the library search path, even if the actual library under use is header only.

Fixes #2392.

svn path=/trunk/boost/numeric/ublas/; revision=49254
2008-10-10 16:10:00 +00:00
Douglas Gregor
60cb9617f9 Fix build of placement new test. From Farid Zaripov, fixes #2383
svn path=/trunk/libs/numeric/ublas/; revision=49129
2008-10-03 19:54:21 +00:00
Gunter Winkler
89aaa0079b - see #2275
- fix symmetric and hermitian matrix

svn path=/trunk/boost/numeric/ublas/; revision=48676
2008-09-08 22:06:25 +00:00
Gunter Winkler
2609098f4f - fix and close #2275
- added missing changes of triangular_adaptor (see rev. 48466)
- fixed order of arguments in functional basic_strict_lower::global_restrict1(...)

svn path=/trunk/boost/numeric/ublas/; revision=48523
2008-09-01 21:32:55 +00:00
Gunter Winkler
a83497966c - fix and close #2272
- complete redesign of functionals lower, unit_lower and strict_lower
- added new transpose_structure<L> class that converts a "lower" functional to an "upper" functional
- fixed find1(...) and find2(...) methods of triangular_matrix
- the attachement of taks #2272 now runs fine with gcc 4.1.2

svn path=/trunk/boost/numeric/ublas/; revision=48466
2008-08-29 22:21:48 +00:00
Gunter Winkler
7e0c697908 - fix and close #2186
- the patch looks good and runs fine with gcc 4.1.2

svn path=/trunk/boost/numeric/ublas/; revision=48427
2008-08-28 21:49:05 +00:00
Gunter Winkler
bea4a6392e - added missing typedefs for difference type
- using BOOST_UBLAS_USE_ITERATING is still not working properly

svn path=/trunk/boost/numeric/ublas/; revision=47148
2008-07-06 21:39:09 +00:00
Gunter Winkler
62b921751c - fix and close #1829
- You are right. The scaled norm wrongly assumed that the first element is not zero.


svn path=/trunk/boost/numeric/ublas/; revision=44864
2008-04-28 21:50:19 +00:00
John Maddock
1bbeef0cf6 Fixed Inspection report issues.
svn path=/trunk/boost/numeric/ublas/; revision=43607
2008-03-14 18:32:45 +00:00
Gunter Winkler
d8a4c91c55 - fixed typo
svn path=/trunk/libs/numeric/ublas/; revision=42773
2008-01-14 19:04:43 +00:00
Gunter Winkler
87d212d28b - fix and close #1502
- the return types were not correct: there was A instead of indirect_array<A>

svn path=/trunk/boost/numeric/ublas/; revision=41801
2007-12-06 19:21:31 +00:00
Gunter Winkler
116ba2cbd1 - fix and close #1237
- symmetric resize used wrong internal resize method
-- Dese und die folgenden Zeilen werden ignoriert --

M    symmetric.hpp

svn path=/trunk/boost/numeric/ublas/; revision=41353
2007-11-25 13:34:20 +00:00
Gunter Winkler
b5ac38bee9 This patch now lets the Sun compiler work for most of uBLAS. 'test4' is now failing.
Too avoid other compilers complaining about missing return values in some functions where exceptions are thrown, code was added so an arbitatry were chosen.


svn path=/trunk/boost/numeric/ublas/; revision=41116
2007-11-15 20:52:37 +00:00
Gunter Winkler
bba6408401 - io.hpp: added missing include
svn path=/trunk/boost/numeric/ublas/; revision=40906
2007-11-07 19:34:03 +00:00
Douglas Gregor
a86b10edac Suppress a GCC 4.3 warning and fix a couple header-inclusion issues.
Fixes #1338

svn path=/trunk/boost/numeric/ublas/; revision=40300
2007-10-22 19:54:54 +00:00
Gunter Winkler
652083ab6c - added section "nested products"
svn path=/trunk/libs/numeric/ublas/; revision=40098
2007-10-16 21:48:01 +00:00
Gunter Winkler
618449b21b - added redirect from index.html to real start page: index.htm
svn path=/trunk/libs/numeric/ublas/; revision=39638
2007-10-01 13:04:29 +00:00
Gunter Winkler
68699953b7 - Ticket #688 : Outer iterators can now skip empty rows. Thus matrix_assign works now as expected.
svn path=/trunk/boost/numeric/ublas/; revision=39516
2007-09-24 21:26:00 +00:00
Gunter Winkler
7b7c26ccf7 - Ticket #1234 : patch committed as suggested.
svn path=/trunk/boost/numeric/ublas/; revision=39513
2007-09-24 21:01:11 +00:00
John Maddock
cf401af09f Updated licences using blanket_permission.txt.
svn path=/trunk/boost/numeric/ublas/; revision=39369
2007-09-18 17:19:41 +00:00
Gunter Winkler
f774d9e120 overview.htm: fixed typo
svn path=/trunk/libs/numeric/ublas/; revision=39233
2007-09-13 12:13:20 +00:00
Gunter Winkler
34b0e1b4fb lu.hpp: introduced temporary to avoid strange compiler problem.
svn path=/trunk/boost/numeric/ublas/; revision=39227
2007-09-12 21:44:37 +00:00
Vladimir Prus
62df231a29 Remove V1 Jamfiles
svn path=/trunk/libs/numeric/ublas/; revision=38516
2007-08-08 19:02:26 +00:00
Gunter Winkler
f9b80971a7 - vector_expression.hpp: added size check to vector_scalar_binary
because inner_product operations require equal sized operands

svn path=/trunk/boost/boost/numeric/ublas/; revision=38173
2007-07-09 18:59:54 +00:00
Gunter Winkler
818eef674e - matrix.hpp: added missing include, serialization/array.hpp
svn path=/trunk/boost/boost/numeric/ublas/; revision=38116
2007-06-30 12:50:54 +00:00
Gunter Winkler
3db1cef9a6 - added serialization support to most matrix and vector classes
- touched files: matrix.hpp matrix_sparse.hpp storage.hpp
  storage_sparse.hpp vector.hpp vector_of_vector.hpp vector_sparse.hpp
- still no regression tests for this :-(

svn path=/trunk/boost/boost/numeric/ublas/; revision=37970
2007-06-11 20:29:08 +00:00
Gunter Winkler
5198892261 - fixed typo in exception.hpp
svn path=/trunk/boost/boost/numeric/ublas/; revision=37870
2007-06-02 11:17:08 +00:00
Gunter Winkler
7a5348304a - fixed bug in triangular_matrix::resize and hermitian_matrix::resize
by adding new matrix_resize_preserve specialization for those types

svn path=/trunk/boost/boost/numeric/ublas/; revision=37549
2007-05-01 12:30:39 +00:00
Gunter Winkler
ef54e2d657 * fixed wrong markup
svn path=/trunk/boost/libs/numeric/ublas/; revision=37455
2007-04-16 22:28:13 +00:00
Gunter Winkler
d327b8e994 - fixed bug: removed wrong () in subslice
svn path=/trunk/boost/boost/numeric/ublas/; revision=37454
2007-04-16 21:58:23 +00:00
Gunter Winkler
a14290d974 - changes static initialization of zero_(0) to zero_ = T()
This should be replaces by value_traits<T>::zero and the
  definition of one_ = 1 should be replaced by value_traits<T>::one

svn path=/trunk/boost/boost/numeric/ublas/; revision=37393
2007-04-07 21:12:26 +00:00
Gunter Winkler
018363770f - new directive BOOST_UBLAS_NDEBUG to disable all debug actions of uBLAS
It has an equivalent effect as defining NDEBUG in all uBLAS headers.

svn path=/trunk/boost/boost/numeric/ublas/; revision=37392
2007-04-07 20:51:38 +00:00