scalala/Scalala — pull request #39 by afwlehmann (2011-12-27 08:20:48+00:00)
Title: Common code-base for DenseVector constructors.

Objects DenseVector, DenseVectorRow, and DenseVectorCol share a common code-base
now, leading to increased type-safety and providing the overall same
constructors for both row- and column vectors.

Added horzcat and vertcat for both vector types where the result depends on the
shape of the original vector, i.e. DenseVectorRow.horzcat produces a
DenseVectorRow for DenseVectorRow* but yields a DenseMatrix for
DenseVectorCol*. The sames applies vice versa for DenseVector.vertcat.

Added unit tests accordingly.