Boost logo

Ublas :

Subject: Re: [ublas] [boost] Documentation for uBLAS
From: Sathyam Vellal (sathyam.vellal_at_[hidden])
Date: 2013-04-17 23:35:53


Thank you Nasos. I'll certainly refer to the resources you've suggested.

Regards

--
Sathyam M Vellal
Computer Science and Engineering,
P.E.S. Institute of Technology,
Bangalore, India
On Thu, Apr 18, 2013 at 7:29 AM, Nasos Iliopoulos <nasos_i_at_[hidden]>wrote:
>  Sathyam,
> I don't think there is any documentation that describes uBlas mechanism
> itself and if you want to really see how it works I would suggest to try
> following the execution using a debugger.
>
> Before that though you will need to know about the programming idiom uBlas
> is using known as "Expression templates". This techniques is used to build
> the algebraic expression tree at COMPILE time and hence allow for avoidance
> of temporaries amongst other things. There are a few things online but the
> very best resource I know that describes expression templates (with a very
> clean linear algebra implementation ) is " C++ Templates - The Complete
> Guide" by David Vandevoorde and Nicolai M. Josuttis ( Chapter 18)
>
> Additionally the Wikipedia entry has an implementation of a sort
> Expression templates mechanism that is actually based on uBlas and I also
> find it an excellent read:
> http://en.wikipedia.org/wiki/Expression_templates
>
> To understand how all those work you may need to consult some of those
> resources and most importantly make a small implementation of your own -
> which is not terribly difficult once you get the underlying principles.
>
> Best,
> Nasos
>
>
>
> On 04/17/2013 09:03 PM, Sathyam Vellal wrote:
>
>   Hello,
>
>  I've been trying to get acquainted with the Boost.uBLAS codebase. To be
> honest, I face a little difficulty in trying to understand the underlying
> model of the design. Is there any resource which can help me ?
>
>  Thank you
>  --
> Sathyam M Vellal
>
>  Computer Science and Engineering,
> P.E.S. Institute of Technology,
> Bangalore, India
>
>
> _______________________________________________
> ublas mailing listublas_at_[hidden]http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: athanasios.iliopoulos.ctr.gr_at_[hidden]
>
>
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: sathyam.vellal_at_[hidden]
>