What type are these matrices.

If they are any in-memory matrix, this should be correct.

Can you file a JIRA with a test case?

On Thu, Jan 20, 2011 at 3:55 PM, ahmed.nagy <[email protected]>wrote:

>
> I have two matrices A and B both of them are distributed row matrices I
> want
> to have the result of A * B' when I did that I got the values for A * B Any
> ideas how to compute A * B ' ?
> That is a bit of my code  this gives the result of A * B
>
> A=
> 1.000 2.000 3.000
> 4.000 5.000 6.000
> 7.000 8.000 9.000
> B'=
>
>
> Result expected
>  14.000  32.000  50.000
>  32.000  77.000 122.000
>  50.000 122.000 194.000
>
> Result printed
>
> The result of matrix AA'
> 30.0 36.0 42.0
> 66.0 81.0 96.0
> 102.0 126.0 150.0
>
> the result printed is basically A.A
>
> Matrix_v_mult_v_transpose=(Matrix_v.times(Matrix_v.transpose()));
>                        System.out.println("The result of matrix AA'");
>                        printDistributedMatrix(Matrix_v_mult_v_transpose);
>
> -----
> Ahmed Nagy
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Result-of-Matrix-Matrix-Transpose-tp2296621p2296621.html
> Sent from the Mahout User List mailing list archive at Nabble.com.
>

Reply via email to