|
Ublas : |
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-07-14 17:01:46
Am Freitag, 13. Juli 2007 22:54 schrieb Marat Khalili:
> Can please someone clarify the situation with user-defined types
> here?
in short:
#define BOOST_UBLAS_TYPE_CHECK 0
Please look at
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Effective_UBLAS
in section "configure ublas with macros" howto disable these checks.
Regarding those "type checks": These checks are not only useful for
debugging the library. They also catch some misuse of functions and
types. However, I agree that the add a lot of additional requirements
to the data types. This is a design decision that was done long ago and
is hardly to be removed now. The most prominent reason is that uBLAS is
designed using 'scalars' like float and double. Thus there are a lot of
(hidden) assumptions about availability of routines.
HTH
Gunter