結果 : define diagonal and scalar matrix with example