Results 1 to 5 of 5

Thread: how to construct a Matrix of matrices element??

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2008
    Posts
    53

    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.

  2. #2
    Fanatic Member VBAhack's Avatar
    Join Date
    Dec 2004
    Location
    Sector 000
    Posts
    617

    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.
    Attached Images Attached Images  

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2008
    Posts
    53

    Re: how to construct a Matrix of matrices element??

    Quote Originally Posted by VBAhack View Post
    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.

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    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

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2008
    Posts
    53

    Re: how to construct a Matrix of matrices element??

    Quote Originally Posted by Shaggy Hiker View Post
    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
  •  



Click Here to Expand Forum to Full Width