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

686 Commits

Author SHA1 Message Date
Gunter Winkler
f31e33befd see #3449: introduce new free functions to access matrix/vector properties (Incomplete)
* added error message when BOOST_UBLAS_NO_NESTED_CLASS_RELATION is defined because the free funtions will not work here.
2009-10-06 21:57:57 +00:00
Gunter Winkler
b5b6c00c5a fix MSVC7.1 compile failure by free function begin(it, type) and end(it, type) instead of the member functions of '''it''' 2009-10-06 20:01:15 +00:00
Gunter Winkler
fb73f31ea8 see #3230: coordinate_vector::set_filled() has a bug (Incomplete)
* removed wrong return statement
2009-10-05 22:31:08 +00:00
Gunter Winkler
97004e9b3d see #2872: boost/numeric/ublas/lu.hpp does not compile with GCC 4.3.2 64bit (Incomplete)
* changed type of '''singular''' to '''size_type''' as suggested
2009-10-05 21:57:02 +00:00
Gunter Winkler
b0ebadf621 see #3449: introduce new free functions to access matrix/vector properties (Incomplete)
* added patch from Marco Guazzone implementing all requested new functions
2009-10-05 20:57:40 +00:00
Gunter Winkler
66d632e66b see #3443: updated copyright header 2009-10-05 20:46:45 +00:00
Gunter Winkler
5f6ecba5fe see #3449: introduce new free functions to access matrix/vector properties (Incomplete)
* move experimental traits of T[N] and T[M][N] to separate file
2009-10-05 20:44:06 +00:00
Gunter Winkler
dbda21ef56 see #3443: improve documentation
* added automatic navigation (using JavaScript)
 * fixed anchors
 * added boost stylesheet
2009-10-04 22:43:12 +00:00
Gunter Winkler
48fe48d4fe see #3501: Reusing concepts from different compile units yields multiple defined symbols
* added BOOST_UBLAS_INLINE macros to requested locations
2009-10-04 19:27:34 +00:00
Gunter Winkler
0625829f92 see #3499:
* added DefaultConstructible to mutable matrix and vector container,
 * fixed INTERNAL concept checks
2009-10-02 21:36:50 +00:00
Gunter Winkler
068d55bd1b see #3457
* matrix.hpp: added move semantics
 * vector.hpp: added move semantics
2009-09-16 22:05:00 +00:00
Gunter Winkler
a303af81ee see #3457
* test/manual/test_move_semantics.cpp: example and manual test case to demonstrate move semantics
 * test/manual/Jamfile.v2: added new target test_move_semantics
 * doc/ublas.css: added pre.screen class for code snippets, added p.credit class for thanks and credits
 * doc/overview.htm: fixed broken anchors and missing alt-attribute
 * doc/release_notes.htm: added new feature to release list
 * doc/options.htm: new page to document preprocessore switches (mostly copied from Wiki)
 * doc/index.htm: added link to options.htm
2009-09-16 22:00:38 +00:00
Gunter Winkler
c2fbf73235 doc/index.htm:
added link to new release notes page

doc/release_notes.htm:

created release notes page to track changes, see #3293 and #3443
2009-09-12 23:10:38 +00:00
Gunter Winkler
fbc83599ca matrix.hpp, identity_matrix:
fix #3293: added assignments to size_common_ on each place where size1 or size2 are changed
2009-09-12 23:07:47 +00:00
Gunter Winkler
5c8e665154 see #3443: reformatted source because it was too ugly to do any changes. 2009-09-12 22:55:20 +00:00
Gunter Winkler
f0085c8742 see #3397
vector_expression.hpp: added enable_if to expression scalar * vector and vector * scalar

matrix_expression.hpp: added enable_if to expression scalar * matrix and matrix * scalar
2009-09-05 12:51:10 +00:00
Gunter Winkler
7ffc06c292 see #3396
doc/expression_concept.htm:

* splitted required methods into to const and non-const methods
* fixed minor typos
2009-09-03 23:02:19 +00:00
Gunter Winkler
27133cf5ed see #3396
test/concepts.cpp:

* prepared test for vector_view and sparse_view (still disabled)

test/sparse_view_test.cpp:

* test case for sparse_view, currently only operator(i,j) is tested

test/Jamfile.v2:

* added new test case to test suite
2009-09-03 23:01:57 +00:00
Gunter Winkler
99cfbf9cb6 see #3396
traits.hpp: 

* split traits into "view traits" and "mutable traits"

experimental: 

* added new folder for emerging/unfinished features

experimental/sparse_view.hpp: 

* added new class c_array_view which presents a T* array and a size as vector_view

* added new class compressed_matrix_view which wraps three arrays into a matrix_view

detail/concepts.hpp:

* prepared vector_view concept (still disabled because further work is needed here)
2009-09-03 22:11:21 +00:00
Troy D. Straszheim
17047de5b0 Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.
2009-07-26 00:49:56 +00:00
Gunter Winkler
1e6331409a see #3108, fixed a simple problem in symmetric.hpp (thx Michael), the storage layout still need more investigation. 2009-06-22 21:13:40 +00:00
Gunter Winkler
51cbcdb5d6 matrix_sparse.hpp - see #2195, fixed compressed_matrix::erase_element(); must use >= instead of > because the last element of index1_data is the "end of list" marker. Segfault was caused by *(itv + 1) which pointed to an element _after_ index1_data.end() 2009-06-22 20:58:30 +00:00
Gunter Winkler
e107411432 comp_mat_erase.cpp - unit test to verify compressed matrix layout, insertion and erasure of elements, see #2195
CMakeLists.txt - added new test: comp_mat_erase

Jamfile.v2 - added new test: comp_mat_erase
2009-06-22 20:53:49 +00:00
Daniel James
b27c2839f4 Fix a mix up between euclidean and uniform norm. Refs #3056. 2009-06-06 10:33:10 +00:00
Daniel James
90442842f6 Fix a couple of typos in the ublas documentation. Fixes #3056, #3057. 2009-06-06 10:32:04 +00:00
Jeremiah Willcock
cef960bfb2 Fixed most tab and min/max issues from trunk inspection report 2009-05-20 19:19:00 +00:00
Gunter Winkler
4e91a78aac storage.hpp: fix #2891, now check new size instead of old one 2009-04-02 21:46:07 +00:00
Gunter Winkler
3792d3353b 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)
2009-04-02 21:43:25 +00:00
Gunter Winkler
94a1e3b1c3 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
2009-04-02 21:40:20 +00:00
Gunter Winkler
c8fda45ce6 replaced duplicate 'size_type' by 'difference_type' 2009-03-14 21:29:22 +00:00
Gunter Winkler
fee9f51097 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
2009-03-13 21:10:04 +00:00
Gunter Winkler
ea41efaf43 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
2009-03-13 21:07:16 +00:00
Gunter Winkler
a90f061824 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
2009-03-13 20:57:52 +00:00
Gunter Winkler
7eafcf7355 test71.cpp: fixed initialization of vector of intervals
test73.cpp: fixed typo (size instead of size1)
test7.cpp: added comment
2009-03-13 20:50:42 +00:00
Gunter Winkler
95dbd2f9ab add new constructor from vector to permutation matrix 2009-03-12 21:35:10 +00:00
Gunter Winkler
ddceae283b disabled tests for general_vector_of_vector because tests still fail. this class is still experimental. 2009-03-12 21:16:44 +00:00
Gunter Winkler
54e05387ad added unit test for LU decomposition 2009-03-09 22:32:04 +00:00
Gunter Winkler
8a410a2367 * see #2691
* fixed typos

* need still some time to think about the "is mutable" comment
2009-01-30 21:19:38 +00:00
Gunter Winkler
0b077e1c0d * 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
2009-01-30 21:12:32 +00:00
Michael A. Jackson
ed26d9102f Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use. 2008-11-07 17:02:56 +00:00
Gunter Winkler
3cf0182249 see #2423.
removed the check because it makes absolutely no sense
TODO: check the strange "optimization" of lower bound.
2008-11-03 22:53:55 +00:00
Gunter Winkler
da29a1702c - fix and close #2422
- the exception was caused when trying to erase an empty range
- now erase(it1, it2) does nothing if it1 == it2
2008-11-03 22:07:27 +00:00
Michael A. Jackson
69d50414ed Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor 2008-11-01 13:15:41 +00:00
John Maddock
11fb046d62 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.
2008-10-10 16:10:00 +00:00
Douglas Gregor
e93cafe8d4 Fix build of placement new test. From Farid Zaripov, fixes #2383 2008-10-03 19:54:21 +00:00
Gunter Winkler
0783497692 - see #2275
- fix symmetric and hermitian matrix
2008-09-08 22:06:25 +00:00
Gunter Winkler
b0e109cdeb - fix and close #2275
- added missing changes of triangular_adaptor (see rev. 48466)
- fixed order of arguments in functional basic_strict_lower::global_restrict1(...)
2008-09-01 21:32:55 +00:00
Gunter Winkler
395cb9b743 - 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
2008-08-29 22:21:48 +00:00
Gunter Winkler
378865614f - fix and close #2186
- the patch looks good and runs fine with gcc 4.1.2
2008-08-28 21:49:05 +00:00
Gunter Winkler
5743563208 - added missing typedefs for difference type
- using BOOST_UBLAS_USE_ITERATING is still not working properly
2008-07-06 21:39:09 +00:00