?? cos.m
字號:
function x = cos(x)
% COS for adtayl objects.
global adtayl_CSSAV adtayl_CSARG
if ~isreal(x.tc)
error('COS, SIN for adtayl objects must not have imaginary part')
end
% Compute and store COS and SIN together; or check to see if already
% computed.
if isequal(x.tc, adtayl_CSARG)
x.tc = adtayl_CSSAV;
else
adtayl_CSARG = x.tc;
x = exp(i*x); % a adtayl object
adtayl_CSSAV = x.tc; % a complex array
end
x.tc = real(x.tc);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -