Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: addmatrices (<f>, <M_1>, ..., <M_n>) Using the function <f> as the addition function, return the sum of the matrices <M_1>, ..., <M_n>. The function <f> must accept any number of arguments (a Maxima nary function).
![Addmatrices Example m1 : matrix([1,2],[3,4]);
m2 : matrix([7,8],[9,10]);
addmatrices(](http://maxima-online.org//plot.html?g=i1913808149.png&t=img&db=r1563014889)
Examples:
(%i1) m1 : matrix([1,2],[3,4])$
(%i2) m2 : matrix([7,8],[9,10])$
(%i3) addmatrices(max,m1,m2);
(%o3) matrix([7,8],[9,10])
(%i4) addmatrices(max,m1,m2,5*m1);
(%o4) matrix([7,10],[15,20])(%o1) true (%i2)