how to construct a Matrix of matrices element??
Hi everyone
can anyone please, help me how to construct a matrix whose elements are matrices elements, my main matrix A is constructed of 6 matrices, and I have all the element of these matrices, but the problem I do not know how to write a code for the main matrix A, how the indices look like??I need the main matrix to solve a linear system.
any help is appreciated
Sally
1 Attachment(s)
Re: how to construct a Matrix of matrices element??
Are you referring to a partitioned matrix like the attached? It is an 8 x 8 matrix made up of 6 matrices.
Re: how to construct a Matrix of matrices element??
Quote:
Originally Posted by
VBAhack
Are you referring to a partitioned matrix like the attached? It is an 8 x 8 matrix made up of 6 matrices.
thanks for help, yes, the picture express my matrix exactly, actually I made small error the main matrix should be made of 3 raw and 3 columns, so this means made up of 9 matrices, and I have all of their elements, just how to write a code to write the elements of the main matrix, how its indices look like.
:confused::confused::confused:
Re: how to construct a Matrix of matrices element??
I would say that it depends on what you are using for any one matrix. I would guess that you are using a class, though that depends on the language. Does the matrix class only accept numbers? If so, you might have to write your own matrix class that can hold matrix classes. How difficult this would be would depend largely on the functionality you are putting into it. First off, though, what is the language, and what construct are you currently using?
Re: how to construct a Matrix of matrices element??
Quote:
Originally Posted by
Shaggy Hiker
I would say that it depends on what you are using for any one matrix. I would guess that you are using a class, though that depends on the language. Does the matrix class only accept numbers? If so, you might have to write your own matrix class that can hold matrix classes. How difficult this would be would depend largely on the functionality you are putting into it. First off, though, what is the language, and what construct are you currently using?
thanks, actually I ma using Fortran77, and I used a loop to construct each matrix, so I have all the elements of the partitioned matrix, but I do not know how to write the indices to construct the main matrix, as I need it to solve a linear system