Diagonal - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[LinearAlgebra]

  

Diagonal

  

return the diagonal of a Matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Diagonal(A, options)

Parameters

A

-

Matrix

options

-

(optional) parameters; for a complete list, see LinearAlgebra[Diagonal]

Description

• 

The Diagonal(A) command returns the main diagonal of the Matrix A as a (column) Vector.

Examples

withStudentLinearAlgebra:

A1,2,3|4,5,6|7,8,9|10,11,12

A147102581136912

(1)

DiagonalA

159

(2)

See Also

LinearAlgebra[Diagonal]

Student[LinearAlgebra]

Student[LinearAlgebra][DiagonalMatrix]