Hello :

        I think, first of all, this is not the list for these questions. I
don't know if there are any mailing lists for such, but it's better you
search for one.

Anyway, the following is the solution for this !!

for (i=0; i<3; i++)
    for(j=0; j<3; j++);{
        array3[i,j]=0;
        for (k=0; k<2; k++)
            array[i][j] = array1[i][k] * array2[k][j]; 
    }


Cheers,
-Vinay.



On Thu, 25 Nov 1999, Ian Moss wrote:

> Hi there,
> 
> Could you please help me?  I need a C program which multiplies a 3x2
> matrix and a 2x3 matrix and puts the result into a 3x3 matrix.  Thanks,
> 
> Ian Moss
> 

" Some people complain because  God  put  thorns  on  roses,
   while others praise Him for putting roses among thorns."
-------------------------------------------------------------
Vinay V. Kulkarni
Project Assistant, ERNET, ECE Dept., IISc., Bangalore 560 012
Ph : +91-80-334 0855.           Fax : +91-80-334 7991   
-------------------------------------------------------------



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to