Question: diagonally dominant matrix???

How do i code into maple to check if a matrix is diagonally dominant?

s:=Matrix([[2,1,2],[-5/4,-5,5/4],[21/5,-14/5,7]]):
 

s[1,1];

2

s[1,2] + s[1,3];

3


this is what av done so far but i dont think its correct

for i from 1 to 3 do
for j from 1 to 3 do

s[i,i] <= s[i,j] + s[i,j+1]

od:od:

Please Wait...