trace.m
来自「Interval Arithmetic Toolbox for Matlab」· M 代码 · 共 24 行
M
24 行
function y = trace(A)
%TRACE (interval) computes sum(diag(A)) for interval argument.
%
%b4m - datatype interval Version 1.02 (c) 23.9.1998 Jens Zemke
%
% DESCRIPTION:
% 'trace' is called
%
% tr = trace(A)
%
% with an interval matrix A and computes
% the sum of the diagonal of A (equals
% the sum of the eigenvalues of A).
%
% The operations on the datatype interval
% are based on BIAS by Olaf Knueppel.
%
% SEE ALSO:
% interval: sum, diag.
% double: trace.
y = sum(diag(A));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?