return the diagonal of a Matrix - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Linear Algebra : Computation : SubOperations : Student/LinearAlgebra/Diagonal

Student[LinearAlgebra][Diagonal] - return the diagonal of a Matrix

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

withStudent[LinearAlgebra]:

A:=1,2,3|4,5,6|7,8,9|10,11,12

A:=147102581136912

(1)

DiagonalA

159

(2)

See Also

LinearAlgebra[Diagonal], Student[LinearAlgebra], Student[LinearAlgebra][DiagonalMatrix]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam