scalala / Scalala

Scalala has been superseded by dlwh/breeze. Scalala is a high performance numeric linear algebra library for Scala, with rich Matlab-like operators on vectors and matrices; a library of numerical routines; support for plotting.
http://groups.google.com/group/scalala
GNU Lesser General Public License v2.1
298 stars 30 forks source link

DenseVectorRow.tabulate returns DenseVectorCol #37

Closed afwlehmann closed 12 years ago

afwlehmann commented 12 years ago

Hi,

it seems as if DenseVectorRow.tabulate returned a DenseVectorCol instead of DenseVectorRow. For example, try

scala> val a = DenseVectorRow.tabulate(3)(i => i)
a: scalala.tensor.dense.DenseVectorCol[Int] = 
0
1
2
afwlehmann commented 12 years ago

Created a small patch and submitted a pull request accordingly.