Student[LinearAlgebra] - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Education : Student Package : Linear Algebra : Computation : Standard : Student/LinearAlgebra/Trace

Student[LinearAlgebra]

 Trace
 compute the trace of a square Matrix

 Calling Sequence Trace(A)

Parameters

 A - square Matrix

Description

 • The Trace(A) command computes the sum of the diagonal elements of Matrix A.

Examples

 > $\mathrm{with}\left(\mathrm{Student}[\mathrm{LinearAlgebra}]\right):$
 > $A≔⟨⟨a,b,c⟩|⟨d,e,f⟩|⟨g,h,i⟩⟩$
 ${A}{≔}\left[\begin{array}{ccc}{a}& {d}& {g}\\ {b}& {e}& {h}\\ {c}& {f}& {i}\end{array}\right]$ (1)
 > $\mathrm{Trace}\left(A\right)$
 ${a}{+}{e}{+}{i}$ (2)

 See Also

## Was this information helpful?

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