Boost logo

Boost :

From: François Duranleau (duranlef_at_[hidden])
Date: 2006-11-10 14:56:37

On Fri, 10 Nov 2006, Jason Hise wrote:


> This issue arises directly because of the fact that a matrix
> conceptually is a compound type, whose components should be acessible
> to client code. But a matrix is not just a compound type composed of
> elements. A matrix is composed of rows of elements.

I agree on your stand about matrix vs vector types as being distinct, but
I don't agree that a matrix is just composed of rows of elements. It could
also be columns of elements. Which is it? A matrix should be left as a two
dimensional array (conceptually), either row-major or column-major or the
exact layout could be a parameter, as for boost::multi_array, except this
time maybe as a template parameter.

François Duranleau
LIGUM, Université de Montréal

Boost list run by bdawes at, gregod at, cpdaniel at, john at