Boost logo

Ublas :

From: Luis M. de la Cruz Salas (luiggix_at_[hidden])
Date: 2008-01-11 10:47:05


Are you using -NDEBUG in your C++ compilation?.

On Jan 11, 2008 3:43 PM, nisha kannookadan <nishak44_at_[hidden]> wrote:

>
> Hi all
>
> I wrote a program in C++ with Boost and have the same program in Matlab.
> The C++ is much faster for lil matrices (n=32) and vectors until the size
> around 250000,
> but for bigger ones the program is bit slower than Matlab.
> What I use in the program are ublas matrices, vectors
> and some lil operations like solve, norm1, norm2, norm_inf and subrange
> and subslice.
> Can anybody tell me the reason, why Matlab get faster, the bigger the
> program gets?
> The program is huge, so I cant post it here.
> Is there some general comparison between C++/Boost and
> Matlab.
>
> Thanks a lot
>
> Nisha K
>
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
>

-- 
 /     . _  _  .  Luis M. de la Cruz S.
( ( / / ( / ( / /   DCI-DGSCA-UNAM
      _/ _/       www.dci.dgsca.unam.mx/lmcs