2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-09 11:32:19 +00:00
Commit Graph

653 Commits

Author SHA1 Message Date
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
Gunter Winkler
c52f014fa3 - removed wrong 'typename' in coordinate_matrix
svn path=/trunk/boost/boost/numeric/ublas/; revision=37213
2007-03-17 11:54:39 +00:00
Gunter Winkler
0ebba0ddb1 - fixed mistake in storage.hpp: s/not /! /g
svn path=/trunk/boost/boost/numeric/ublas/; revision=37212
2007-03-17 11:46:07 +00:00
Gunter Winkler
1bd53f2ad6 - add optimizations for trivial constructors to array types
- add initializing constructors to matix<> and vector<>
  usage: matrix<double> m(3,3,5.0); vector<double> v(3,5.0);
- avoid constructor call for std::complex<T>, user can specialize
  detail::has_trivial_constructor<T> to control this behavior

svn path=/trunk/boost/boost/numeric/ublas/; revision=37209
2007-03-16 22:39:17 +00:00
Gunter Winkler
cb2ecedfdf - replaced row_major/column_major in compressed-axpy_prod
now they work with uncommon size_types and may be abused
  to compute y += A^T x

svn path=/trunk/boost/boost/numeric/ublas/; revision=37208
2007-03-16 22:31:46 +00:00
Gunter Winkler
183dd86d00 - updated error msg in vector_assign (debug build only) when the
structure check fails

svn path=/trunk/boost/boost/numeric/ublas/; revision=37207
2007-03-16 21:29:16 +00:00
Gunter Winkler
79eeef91f1 - fixed unit_vector::find()
svn path=/trunk/boost/boost/numeric/ublas/; revision=37206
2007-03-16 21:26:39 +00:00
Gunter Winkler
2fbbac489a - fixed bug in compressed_matrix::(const_)iterator's decrement
svn path=/trunk/boost/boost/numeric/ublas/; revision=37205
2007-03-16 21:23:13 +00:00
Gunter Winkler
98fb113797 - fix bug in vector_of_vector by replacing old 'size1' and 'size2'
with new 'size_M' and 'size_m'

svn path=/trunk/boost/boost/numeric/ublas/; revision=37204
2007-03-16 21:17:54 +00:00
Michael Stevens
4c68e47218 [uBLAS] FIX array_adaptor.htm was never written, remove broken link
svn path=/trunk/boost/libs/numeric/ublas/; revision=37113
2007-02-28 11:47:41 +00:00