Re: [R] sub-matrix block size

2011-04-29 Thread Santosh
Dear Rxperts, Can "Jordan decomposition" of submatrices be useful to determine size of sub blocks? "http://en.wikipedia.org/wiki/Jordan_normal_form";.. Thanks for the ideas/suggestions. . I have another similar situation, where at least one of the off diagonal elements of the lower triangle subma

Re: [R] sub-matrix block size

2011-04-27 Thread Santosh
Thanks, David! That is another interesting perspective to (sub/super) diagonal story! For now I was looking only at block sizes of lower triangle submatrices as Dennis suggested. Regards, Santosh On Wed, Apr 27, 2011 at 5:57 AM, David Winsemius wrote: > > On Apr 27, 2011, at 12:07 AM, Dennis Mur

Re: [R] sub-matrix block size

2011-04-27 Thread David Winsemius
On Apr 27, 2011, at 12:07 AM, Dennis Murphy wrote: Hi: Maybe this can help get you started. Reading your data into a matrix m, m <- structure(c(1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,

Re: [R] sub-matrix block size

2011-04-26 Thread Dennis Murphy
Hi: Maybe this can help get you started. Reading your data into a matrix m, m <- structure(c(1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0,

Re: [R] sub-matrix block size

2011-04-26 Thread Peter Alspach
; Subject: [R] sub-matrix block size > > Dear Rxperts > > Below is a small vector of values of zeros and non-zeros... was > wondering if > there is an efficient way to get the block sizes of submatrices of a > big > matrix similar to the one shown below? diagonal elements can

[R] sub-matrix block size

2011-04-26 Thread Santosh
Dear Rxperts Below is a small vector of values of zeros and non-zeros... was wondering if there is an efficient way to get the block sizes of submatrices of a big matrix similar to the one shown below? diagonal elements can be zero too. Rows with only a diagonal element may be considered as a unit