Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2009
    Posts
    29
    Thanks
    2
    Thanked 0 Times in 0 Posts

    multiplying 2-d arrays (i.e. matrix multiplication)

    How would I setup the for loops to multiply two 2-d arrays (the first a 2 x 2, and the second a 2 x 2) as if each array was a matrix?

  • #2
    Regular Coder cs_student's Avatar
    Join Date
    Oct 2009
    Location
    ~/
    Posts
    195
    Thanks
    2
    Thanked 22 Times in 22 Posts
    Do you know how to multiply matrices?

    Maybe consider trying to implement one of the more efficient matrix multiplication algorithms.

    Whatever you decide to do, if you are having trouble please post back here with any relevant code of what you have tried.


    cs_student


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •