multiplication of two matrices

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • matheen
    New Member
    • Jul 2007
    • 1

    #1

    multiplication of two matrices

    i want java code for multiplicaion of two matrices,so please write the complete code for my question thankyou.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by matheen
    i want java code for multiplicaion of two matrices,so please write the complete code for my question thankyou.
    Read the posting guidelines

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by matheen
      i want java code for multiplicaion of two matrices,so please write the complete code for my question thankyou.
      All you have to do is write a dot product method for a matrix row and column.
      btw, this was a free tip; if you want me to write the complete code I charge
      Euro 200.00 per hour; this code would take += 15 minutes to complete; but
      I'm not going to accept this little contract because people should at least
      attempt to do their own homework.

      kind regards,

      Jos

      Comment

      • sateesht
        New Member
        • Apr 2007
        • 41

        #4
        Hi,
        Below is the code for the product of Two Matrices, you need to add conditions (as number of columns of First matrix should be equals to Number of Rows of Second Matrix) for this code and you can take the input from the keyboard also by InputStrem Reader of java.io package.

        <code removed>

        Please don't spoonfeed the OP with full code solutions. Also read the guidelines.

        kind regards,

        Jos

        Comment

        Working...