|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Working with C on ms visual studio2005:
Is there a way i can multiply 2 matrices (dimensions of NxM) without having to do dot product? can anyone post an example source code? here are two matrices for example: set A: (3x3) 1 -5 6 3 5 -7 9 8 4 set B: (3x3) 2 -3 4 -8 7 5 6 1 9 |
| Sponsored Links |
|
|
|
|||||
|
I believe the Boost library has support for matrix classes, which might take care of your problem for you. If you are manually creating matrices, then I would create the class and overload the * operator.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Programming is a branch of mathematics. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tutorial: C++ Functions | Jordan | C Tutorials | 2 | 04-22-2008 03:09 PM |
| Understanding the differences between a class and struct in C# : | Jordan | CSharp Tutorials | 4 | 04-20-2008 10:32 AM |
| sizeof Struct | Eagle_ | C and C++ | 2 | 11-18-2007 11:15 AM |
| Need help on matrix. | sania21 | Java Help | 15 | 06-28-2007 04:29 AM |
| Flex, bison multifunction calculator | annatsos | C and C++ | 1 | 01-04-2007 07:00 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |