Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,105 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,695 people online right now. Registration is fast and FREE... Join Now!




Matrix Multiplication using 1d dimension arrays

 
Reply to this topicStart new topic

Matrix Multiplication using 1d dimension arrays, Looking for advice on how to do this.

stormsong13
16 Oct, 2007 - 06:51 PM
Post #1

New D.I.C Head
*

Joined: 16 Oct, 2007
Posts: 1


My Contributions
I'm a student and for an assignment I need to multiply two matrices. They must by of variable length and I must use one dimensional arrays to represent multi-dimensional matrices. Does anyone know how to do this?
User is offlineProfile CardPM
+Quote Post

hayate
RE: Matrix Multiplication Using 1d Dimension Arrays
16 Oct, 2007 - 07:15 PM
Post #2

New D.I.C Head
*

Joined: 16 Oct, 2007
Posts: 2


My Contributions
for the dimension is variable,you have to allocate memory for matrices from heap,using library function malloc()/free()
User is offlineProfile CardPM
+Quote Post

Jayman
RE: Matrix Multiplication Using 1d Dimension Arrays
16 Oct, 2007 - 07:36 PM
Post #3

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 6,922



Thanked: 42 times
Dream Kudos: 500
Expert In: C#, VB.NET, Java

My Contributions
Please post the code you have completed in your attempt to fulfill your assignment and we will help you get it working.
User is online!Profile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 09:13PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month