2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-26 17:12:10 +00:00
Commit Graph

480 Commits

Author SHA1 Message Date
Gunter Winkler
831f2b65e2 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 r51764]
2009-03-13 21:07:16 +00:00
Gunter Winkler
61323179c5 add new constructor from vector to permutation matrix
[SVN r51741]
2009-03-12 21:35:10 +00:00
Gunter Winkler
cbc0a9357d see #2423.
removed the check because it makes absolutely no sense
TODO: check the strange "optimization" of lower bound.


[SVN r49578]
2008-11-03 22:53:55 +00:00
Gunter Winkler
39056b577e - 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 r49576]
2008-11-03 22:07:27 +00:00
John Maddock
5ceeb08865 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 r49254]
2008-10-10 16:10:00 +00:00
Gunter Winkler
40f8614612 - see #2275
- fix symmetric and hermitian matrix


[SVN r48676]
2008-09-08 22:06:25 +00:00
Gunter Winkler
34cfbea964 - 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 r48523]
2008-09-01 21:32:55 +00:00
Gunter Winkler
6f9fb89d0f - 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 r48466]
2008-08-29 22:21:48 +00:00
Gunter Winkler
95e196b14a - fix and close #2186
- the patch looks good and runs fine with gcc 4.1.2


[SVN r48427]
2008-08-28 21:49:05 +00:00
Gunter Winkler
917e56dcba - added missing typedefs for difference type
- using BOOST_UBLAS_USE_ITERATING is still not working properly


[SVN r47148]
2008-07-06 21:39:09 +00:00
Gunter Winkler
e71cfe5952 - fix and close #1829
- You are right. The scaled norm wrongly assumed that the first element is not zero.



[SVN r44864]
2008-04-28 21:50:19 +00:00
John Maddock
433f4dbfda Fixed Inspection report issues.
[SVN r43607]
2008-03-14 18:32:45 +00:00
Gunter Winkler
7ee1ba9dca - fix and close #1502
- the return types were not correct: there was A instead of indirect_array<A>


[SVN r41801]
2007-12-06 19:21:31 +00:00
Gunter Winkler
c776a0a0a0 - fix and close #1237
- symmetric resize used wrong internal resize method
-- Dese und die folgenden Zeilen werden ignoriert --

M    symmetric.hpp


[SVN r41353]
2007-11-25 13:34:20 +00:00
Gunter Winkler
b5c1095c5d 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 r41116]
2007-11-15 20:52:37 +00:00
Gunter Winkler
6d4e86cdd0 - io.hpp: added missing include
[SVN r40906]
2007-11-07 19:34:03 +00:00
Douglas Gregor
f06bbc273a Suppress a GCC 4.3 warning and fix a couple header-inclusion issues.
Fixes #1338


[SVN r40300]
2007-10-22 19:54:54 +00:00
Gunter Winkler
740507a4c9 - Ticket #688 : Outer iterators can now skip empty rows. Thus matrix_assign works now as expected.
[SVN r39516]
2007-09-24 21:26:00 +00:00
Gunter Winkler
1e1cb82471 - Ticket #1234 : patch committed as suggested.
[SVN r39513]
2007-09-24 21:01:11 +00:00
John Maddock
c990442866 Updated licences using blanket_permission.txt.
[SVN r39369]
2007-09-18 17:19:41 +00:00
Gunter Winkler
e3ff91766d lu.hpp: introduced temporary to avoid strange compiler problem.
[SVN r39227]
2007-09-12 21:44:37 +00:00
Gunter Winkler
f7bdeb6619 - vector_expression.hpp: added size check to vector_scalar_binary
because inner_product operations require equal sized operands


[SVN r38173]
2007-07-09 18:59:54 +00:00
Gunter Winkler
e1854bcd3b - matrix.hpp: added missing include, serialization/array.hpp
[SVN r38116]
2007-06-30 12:50:54 +00:00
Gunter Winkler
dba05c4dd6 - 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 r37970]
2007-06-11 20:29:08 +00:00
Gunter Winkler
352abadbd8 - fixed typo in exception.hpp
[SVN r37870]
2007-06-02 11:17:08 +00:00
Gunter Winkler
a91910b8de - fixed bug in triangular_matrix::resize and hermitian_matrix::resize
by adding new matrix_resize_preserve specialization for those types


[SVN r37549]
2007-05-01 12:30:39 +00:00
Gunter Winkler
ded593c1bd - fixed bug: removed wrong () in subslice
[SVN r37454]
2007-04-16 21:58:23 +00:00
Gunter Winkler
05ccd103e1 - 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 r37393]
2007-04-07 21:12:26 +00:00
Gunter Winkler
5f08a94e2c - 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 r37392]
2007-04-07 20:51:38 +00:00
Gunter Winkler
2984f60fcd - removed wrong 'typename' in coordinate_matrix
[SVN r37213]
2007-03-17 11:54:39 +00:00
Gunter Winkler
7b111f2cbf - fixed mistake in storage.hpp: s/not /! /g
[SVN r37212]
2007-03-17 11:46:07 +00:00
Gunter Winkler
46dea3c416 - 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 r37209]
2007-03-16 22:39:17 +00:00
Gunter Winkler
dd61d4e5be - 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 r37208]
2007-03-16 22:31:46 +00:00
Gunter Winkler
f121d74478 - updated error msg in vector_assign (debug build only) when the
structure check fails


[SVN r37207]
2007-03-16 21:29:16 +00:00
Gunter Winkler
7deace95ed - fixed unit_vector::find()
[SVN r37206]
2007-03-16 21:26:39 +00:00
Gunter Winkler
2adb3b8127 - fixed bug in compressed_matrix::(const_)iterator's decrement
[SVN r37205]
2007-03-16 21:23:13 +00:00
Gunter Winkler
bee922f7e1 - fix bug in vector_of_vector by replacing old 'size1' and 'size2'
with new 'size_M' and 'size_m'


[SVN r37204]
2007-03-16 21:17:54 +00:00
Michael Stevens
40552c11a0 [uBLAS] MINOR improve unsupported message
[SVN r37027]
2007-02-21 10:18:45 +00:00
John Maddock
cfc7f534e4 Fix whitespace so VC8 doesn't complain.
[SVN r36485]
2006-12-22 10:08:28 +00:00
Michael Stevens
545672c8a8 [uBLAS] FIX other is static member function
[SVN r36351]
2006-12-12 19:26:25 +00:00
Michael Stevens
e6b11310f6 CHANGE zero/identity/scalar _ vector/matrix add ALLOC template parameter to specify size/difference_type
CHANGE implement function object to use container size/difference_type


[SVN r36283]
2006-12-06 09:34:01 +00:00
Michael Stevens
8c173fcfa8 [uBLAS] FIX default copy constructor missed j_. Use implict copy constructor instead
[SVN r36216]
2006-11-30 18:14:07 +00:00
Michael Stevens
bedfd18cd3 [uBLAS] COMMENT fix mutable/immutable
[SVN r36208]
2006-11-30 11:30:29 +00:00
Michael Stevens
7281804fd2 [uBLAS] CHANGE implement uBLAS preserve option in vector resize.
Thanks to Gunter Winkler and Vassilis Virvilis


[SVN r36053]
2006-11-16 09:47:44 +00:00
Michael Stevens
18d22622d9 FIX remove none space space in last commit
FIX interval was not compilable due to rename to scalar_traits
CHANGE interval handling to use general abs/sqrt from last commit


[SVN r35519]
2006-10-07 18:18:01 +00:00
Michael Stevens
757aacfb68 FIX allow abs and sqrt to be found via ADL. Thanks to John Maddock
[SVN r35518]
2006-10-07 17:04:47 +00:00
Michael Stevens
01031b656f [uBLAS] make VC8 workaround use self_type consistently
[SVN r35496]
2006-10-05 09:02:23 +00:00
Gennaro Prota
3eac2be57a boost guidelines (mainly from inspect tool: tabs, license reference text, etc.)
[SVN r34752]
2006-07-27 10:27:37 +00:00
Gennaro Prota
6b76444cb5 fixed typos reported in http://bugs.debian.org/378016 (there seems to be no mention of the erroneous names in the docs); NOTE(!): license reference text to be fixed; guard macro name beginning with underscore
[SVN r34625]
2006-07-20 12:35:49 +00:00
Michael Stevens
c4bf66eda0 FIX nnz and nnz_capacitz added. Thanks Gunter
[SVN r34556]
2006-07-16 13:48:52 +00:00