Blitz logo

Blitz Support :

From: Julian Cummings (cummings_at_[hidden])
Date: 2004-01-27 14:28:07


Hi Daniel,

The intent of the Vector and Matrix class templates is to be used for
linear algebra operations such as matrix/vector products. These
operations have a different action
than the elementwise array/array products performed by the Array class
template.
In addition, one could add specialized functions to these Vector and
Matrix classes,
such as computing the trace of a Matrix.

As you have noted, the Vector and Matrix classes are not well documented
and are
incomplete. I have been working recently on trying to get the Vector
and Matrix
classes to share the same expression template system as the Array class,
in order to
reduce the amount of code in blitz. Once this is done, perhaps we can
try to flesh out
these classes some more and add documentation. Linear algebra was never
really the
main focus of blitz, so this is kind of a low-priority area of work.

Regards, Julian C.

daniel.egloff_at_[hidden] wrote:

>Dear blitz experts
>
>in blitz++ there are Array templates as well as Vector templates.
>However the Vector template is
>not documented. When is it more appropriate to use Vector resp. Array?
>
>I also checked the examples, but did not get out much.
>
>Freundliche Grüsse
>Daniel Egloff
>Zürcher Kantonalbank, VFK
>Lagerstrasse 47, 8004 Zürich
>Tel. +41 (0) 1 292 45 33, Fax +41 (0) 1 292 45 93
>Briefadresse: Postfach, 8010 Zürich, http://www.zkb.ch
>___________________________________________________________________
>
>Disclaimer:
>
>
>Diese Mitteilung ist nur fuer die Empfaengerin / den Empfaenger
>bestimmt.
>
>Fuer den Fall, dass sie von nichtberechtigten Personen empfangen wird,
>bitten wir diese hoeflich, die Mitteilung an die ZKB zurueckzusenden
>und anschliessend die Mitteilung mit allen Anhaengen sowie allfaellige
>Kopien zu vernichten bzw. zu loeschen. Der Gebrauch der Information
>ist verboten.
>
>
>This message is intended only for the named recipient and may contain
>confidential or privileged information.
>
>If you have received it in error, please advise the sender by return
>e-mail and delete this message and any attachments. Any unauthorised
>use or dissemination of this information is strictly prohibited.
>
>
>_______________________________________________
>Blitz-support mailing list
>Blitz-support_at_[hidden]
>http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
>
>

-- 
Dr. Julian C. Cummings                       E-mail: cummings_at_[hidden]
California Institute of Technology           Phone:  626-395-2543
1200 E. California Blvd., Mail Code 158-79   Fax:    626-584-5917
Pasadena, CA 91125