OpenersNotesSection(Spacer1)Details

This message is generated when the first argument in the indicated expression is not a list, or if one or more of the elements in the first argument of the indicated expression are lists.

(RefLink[Off, paclet:ref/Off])[message] switches off the message; (RefLink[On, paclet:ref/On])[message] switches it on. For example: (RefLink[Off, paclet:ref/Off])[General::vector].

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

The elements in the first argument of (RefLink[DiagonalMatrix, paclet:ref/DiagonalMatrix]) are lists:

DiagonalMatrix[{{2,0},{0,3}}]

This shows a valid use of (RefLink[DiagonalMatrix, paclet:ref/DiagonalMatrix]):

DiagonalMatrix[{2,3}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[DiagonalMatrix, paclet:ref/DiagonalMatrix])}})}})