diagonal 對角化



如果矩陣可對角化,則回傳對角元素

Example Code
Note and Comments
result