Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Linear Algebra > Matrix Analysis > trace

trace

トレース

呼び出し手順

trace(X)

引数

X

実数または複素数の正方行列, 多項式または有理行列.

説明

trace(X)は,行列Xの トレースです.

sum(diag(X))と同じです.

A=rand(3,3);
trace(A)-sum(spec(A))

参考

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Apr 01 10:25:00 CEST 2015