UITS

In Maple, how can I multiply two matrices?

Maple uses the dot product operator . to multiply two matrices. The older operator &*& now stands for a user-defined neutral operator.

  > A:=<1,2|3,4>;
         [1    3]
    A := [      ]
         [2    4]
 > B:=<1,1;2,-1>;
        [1    1]
   B := [      ]
        [2   -1] 
 > A.B;          
        [ 7  -2]
        [      ]
        [10  -2]  
                                     

For more about Maple, see the UITS Research Analytics Maple page.

If you have questions about using statistical and mathematical software at Indiana University, email UITS Research Analytics. Research Analytics is located on the IU Bloomington campus at Woodburn Hall 200, and is open for consultation by appointment Monday-Friday 9am-5pm.

This is document afbm in the Knowledge Base.
Last modified on 2014-06-25.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.