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
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
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.
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."