![]() |
Blitz Support : |
From: Mark Hymers (mark.hymers_at_[hidden])
Date: 2003-04-07 05:32:48
On Thu, 03, Apr, 2003 at 12:03:52PM -0800, Julian Cummings spoke thus..
> I was just wondering if you were able to resolve your problems after
> working with
> the example code matmult.cpp. The code should produce the output shown
> within
> the code comments. If it is not, please reply and let me know what
> output you see.
We ended up moving to GSL coupled to Atlas instead :-)
> There are some alternatives to using a 2D Array for this. If the matrix
> extents are
> relatively small and known at compile time, you can use the TinyMatrix
> class. There
> is a blitz::product() method provided for doing matrix-matrix
> multiplication of two
> TinyMatrix objects. For larger matrices with extents only known at run
> time, there
> is a Matrix class available. The implementation of this class is
> somewhat incomplete
> and it is not discussed in the Blitz documentation. It appears that
> there is no implementation
> provided for blitz::product() for two Matrix objects. The missing parts
> here could be
> filled in if there is sufficient interest from the Blitz community.
Yes, we considered using TinyMatrix but we can't know the size of
matrices until run-time.
Thanks anyways,
Mark
-- Mark Hymers, University of Newcastle Medical School Intercalating Medical Student (BMedSci)