diagonalMatrix  make a diagonal matrix
Ways to use diagonalMatrix :

diagonalMatrix(Matrix)  make a diagonal matrix from entries of a matrix

"diagonalMatrix(List)"  see diagonalMatrix(Ring,ZZ,ZZ,List)  make a diagonal matrix from a list

"diagonalMatrix(Ring,List)"  see diagonalMatrix(Ring,ZZ,ZZ,List)  make a diagonal matrix from a list

diagonalMatrix(Ring,ZZ,ZZ,List)  make a diagonal matrix from a list

"diagonalMatrix(RingFamily,List)"  see diagonalMatrix(Ring,ZZ,ZZ,List)  make a diagonal matrix from a list

"diagonalMatrix(RingFamily,ZZ,ZZ,List)"  see diagonalMatrix(Ring,ZZ,ZZ,List)  make a diagonal matrix from a list

"diagonalMatrix(ZZ,ZZ,List)"  see diagonalMatrix(Ring,ZZ,ZZ,List)  make a diagonal matrix from a list