![]() |
Blitz Support : |
From: Julian C. Cummings (cummings_at_[hidden])
Date: 2003-11-03 16:05:44
One minor correction here. The length of TinyVector is not strictly limited
to 11. However, the set of constructors that take initial values for each
TinyVector element ends at 11. This is essentially just an issue of
stamina; one could add more constructors. But the "Tiny" classes are meant
only for small vectors and matrices of fixed size. The Vector and Matrix
classes are container classes more like Array, but they have special
operations defined for linear algebra that are not applicable to a general
Array class.
Regards, Julian C.
> -----Original Message-----
> From: blitz-support-bounces_at_[hidden]
> [mailto:blitz-support-bounces_at_[hidden]] On Behalf Of
> Navneet Dalal
> Sent: Saturday, November 01, 2003 9:33 AM
> To: Support list for Blitz++
> Subject: Re: [Blitz-support] blitz 0.7 help
>
>
> Blitz++0.7 is majorly a bug fix release (Julian correct me if I am
> Blitz++wrong).
>
> Array is C++ style dynamically allocated arrays or stl style
> vector class. Whereas TinyVector is a vector of FIXED size
> (and the size must be
> provided at COMPILE time).
> Also, if I am not wrong, the maximum size of TinyVector can
> be only 11.
>
> From TinyMatrix (as the word matrix points out), you can
> create a Matrix
> (2D Array).
> You cannot use TinyMatrix for 3D arrays.
>
> Also, TinyVector is a vector. It is upto you to interpret it
> as row or
> column vector.
>
> -navneet
>
> On Sun, 02 Nov 2003 01:01:58 +0800, mctimes <mctimes_at_[hidden]> wrote:
>
> > I have downloaded the blitz++ 0.7, I wonder if there is anything
> > different from 0.6 version. I found that the documentation didn't
> > reflect the difference ?!
> >
> > On the other hand, I wonder why TinyVector and TinyMatrix don't
> > inherit from Array. Why the author defines the individual
> classes for
> > vector and matrix rather than takes the Array instead? I
> would like to
> > define a 3D matrix, should I define a individual class like
> TinyMatrix
> > or just apply the Array?
> >
> > If the TinyVector represent a row vector or column vector.
> How can I
> > transform a row(column) vector to column(row) one?
> >
> > Thanks in advance. _______________________________________________
> > Blitz-support mailing list
> > Blitz-support_at_[hidden]
> > http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
> >
>
>
>
> --
> Navneet DALAL http://www.inrialpes.fr/lear/people/Dalal
>
> INRIA Rhone-Alpes Ph(work): +33 (0)476 61 54 97
> ZIRST-655, av. de l'Europe - 38334 FAX : +33 (0)476 61 54 54
> Montbonnot St. Martin, France Mobile : +33 (0)677 54 33 33
> _______________________________________________
> Blitz-support mailing list
> Blitz-support_at_[hidden]
> http://www.oonumerics.org/mailman/listinfo.cgi> /blitz-support
>