I noticed some methods of BasicMatrix use a trick to create a zero matrix,
then compiling its values and returning it, e.g.
newmat = self.zeros(self.rows, self.cols + rhs.cols)
newmat[:, :self.cols] = self
newmat[:, self.cols:] = rhs
return newmat
This works we
On Thu, Jul 11, 2013 at 3:51 AM, F. B. wrote:
> I noticed some methods of BasicMatrix use a trick to create a zero matrix,
> then compiling its values and returning it, e.g.
>
> newmat = self.zeros(self.rows, self.cols + rhs.cols)
>
> newmat[:, :self.cols] = self
>
> newma