commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <gil...@harfang.homelinux.org>
Subject Re: [math] [linear] immutability
Date Tue, 01 Jan 2013 23:39:12 GMT
> [...]
> 
> > P.S. I would also be interested if people think Vector should be made into
> > a special case of a Matrix.
> 
> 
> That's an interesting idea.

It's something I've been wondering about for a long time too.
CM's "RealVector" is a mix of
 * list of "double"s
 * Cartesian vector
 * single row/column matrix

The last one implies additional methods ("preMultiply", "operate") which we
could drop.
The second should be defined in the "geometry" package and clearly represent
the notion of Cartesian vector.
The first use could be supported in "MathArrays". And there could be
converters between those classes where they make sense.

> [...]

Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message