|
-
Nov 6th, 2009, 08:02 AM
#1
Thread Starter
Member
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
Last edited by Sallygreen; Nov 6th, 2009 at 11:07 AM.
-
Nov 6th, 2009, 03:59 PM
#2
-
Nov 7th, 2009, 11:03 AM
#3
Thread Starter
Member
Re: how to construct a Matrix of matrices element??
-
Nov 7th, 2009, 04:05 PM
#4
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?
My usual boring signature: Nothing
 
-
Nov 8th, 2009, 06:32 AM
#5
Thread Starter
Member
Re: how to construct a Matrix of matrices element??
 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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|