Matrix multiplication???

This is a discussion on Matrix multiplication??? within the C Programming forums, part of the General Programming Boards category; does anyone know an algorithm for multiplying 2 matrices that have different sizes??? my matrix 'At' is 9 X 14 ...

  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    19

    Matrix multiplication???

    does anyone know an algorithm for multiplying 2 matrices that have different sizes???
    my matrix 'At' is 9 X 14 and my matrix 'A' is 14 X 9 and they are stored in 2D arrays

    i need to multiply them together to get a W matrix that is 9 X 9

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,755
    Any decent math resource should be able to help you with the algorithms
    http://mathworld.wolfram.com/Matrix.html
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Prying open my third eye.
    Join Date
    Jun 2005
    Posts
    45
    Yes, you don't need to look for programming references. This is a math topic more so than a programming one. A programming language is a tool used to implement mathematical concepts.
    "So you're one of those condescending UNIX computer users?"

    "Here's a nickel, kid. Get yourself a better computer."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C - access violation
    By uber in forum C Programming
    Replies: 2
    Last Post: 07-08-2009, 02:30 PM
  2. *operator overloading: scalar matrix multiplication
    By gemini_shooter in forum C++ Programming
    Replies: 4
    Last Post: 06-08-2009, 02:14 PM
  3. Matrix Multiplication ( Accessing data from a file ) HELP
    By six_degreez in forum C Programming
    Replies: 2
    Last Post: 07-24-2008, 06:21 PM
  4. Matrix Help
    By HelpmeMark in forum C++ Programming
    Replies: 27
    Last Post: 03-06-2008, 05:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21