There is a 'rectangular' diagonal matrix, but 'Yes' in this case. FYI, I'm thinking the jacobi method to finding the eigenvalues and eigenvectors.
On Mon, Jun 8, 2009 at 10:00 AM, Samuel Guo<[email protected]> wrote: > Should matrix A be a square-matrix? > > On Thu, Jun 4, 2009 at 4:26 PM, Edward J. Yoon <[email protected]>wrote: > >> Hi, >> >> There is a simple sub-task. >> https://issues.apache.org/jira/browse/HAMA-184 >> >> Here's the pseudo code, should be ported to map/reduce model. >> >> //finds the diagonal elements of matrix A and puts them into matrix B >> >> for (int i = 0; i < n; i++) { >> >> B[i][i] = A[i][i]; >> >> } >> >> >> -- >> Best Regards, Edward J. Yoon @ NHN, corp. >> [email protected] >> http://blog.udanax.org >> > -- Best Regards, Edward J. Yoon @ NHN, corp. [email protected] http://blog.udanax.org
