User guide

10.2.1 Numeric Operators
Fordetailsonhowmatrixconformabilityisdefinedforelement-by-elementoperators,
seeElement-by-Element Operators,Section10.1.
+Addition:
y = x + z;
Performselement-by-elementaddition.
-Subtractionornegation:
y = x - z;
y = - k;
Performselement-by-elementsubtractionorthenegationofallelements,dependingon
context.*Matrixmultiplicationormultiplication:
y = x * z;
Whenzhasthesamenumberofrowsasxhascolumns,thiswillperformmatrixmul-
tiplication(innerproduct).Ifxor zarescalar,thisperformsstandardelement-by-ele-
mentmultiplication.
/Divisionorlinearequationsolution:
x = b / A;
If Aand barescalars,thisperformsstandarddivision.Ifoneoftheoperandsisa
matrixandtheotherisscalar,theresultisamatrixthesamesizewiththeresultsofthe
divisionsbetweenthescalarandthecorrespondingelementsofthematrix.Use./for
element-by-elementdivisionofmatrices.
If band Aareconformable,thisoperatorsolvesthelinearmatrixequation:
10-4
GAUSSUser Guide
Operators