代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/203890/15349899
m eq.m
function c=eq(a,b)
% overloading of operator ==
% $Id: eq.m 31 2004-07-28 10:46:46Z mairas $
if ~(isa(a,'signal') & isa(b,'signal'))
error('Both operands must be signal objects');
end
try
c =
www.eeworm.com/read/110993/15520717
cpp opconv.cpp
//: C12:Opconv.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Op overloading conversion
www.eeworm.com/read/287770/8670294
m plus.m
function c = plus(a,b)
% overloading of operator +
% $Id: plus.m 39 2004-08-06 09:05:50Z mairas $
if isa(a,'spectrum') & isnumeric(b)
c = spectrum(a.s + b, a.frequency);
elseif isnumeric(a) & isa
www.eeworm.com/read/287770/8670301
m times.m
function c = times(a,b)
% overloading of operator .*
% $Id: times.m 3 2004-02-04 12:57:04Z mairas $
if isa(a,'spectrum') & isa(b,'spectrum') & a.frequency==b.frequency
c = spectrum(a.s .* b.s,a.f
www.eeworm.com/read/287770/8670310
m minus.m
function c = minus(a,b)
% overloading of operator -
% $Id: minus.m 39 2004-08-06 09:05:50Z mairas $
if isa(a,'spectrum') & isnumeric(b)
c = spectrum(a.s - b, a.frequency);
elseif isnumeric(a) & i
www.eeworm.com/read/287770/8670324
m mtimes.m
function c = mtimes(a,b)
% overloading of operator *
% $Id: mtimes.m 3 2004-02-04 12:57:04Z mairas $
if isa(a,'spectrum') & isa(b,'spectrum')
error('Matrix multiplication of two spectra not suppo
www.eeworm.com/read/287770/8670359
m rdivide.m
function c = rdivide(a,b)
% overloading of operator ./
% $Id: times.m 3 2004-02-04 12:57:04Z mairas $
if isa(a,'spectrum') & isa(b,'spectrum') & a.frequency==b.frequency
c = spectrum(a.s ./ b.s,a
www.eeworm.com/read/287770/8670476
m times.m
function c = times(a,b)
% overloading of operator .*
% $Id: times.m 3 2004-02-04 12:57:04Z mairas $
if isa(a,'signal') & isa(b,'signal') & a.time==b.time
c = signal(a.s .* b.s,a.time);
elseif isa
www.eeworm.com/read/331439/12828652
m isnan.m
function tf = isnan(A)
% ISNAN True for Not-a-Number.
% (Quaternion overloading of standard Matlab function.)
% Copyright
www.eeworm.com/read/331439/12828694
m imag.m
function p = imag(q)
% IMAG Imaginary part of a quaternion.
% (Quaternion overloading of standard Matlab function.)
%
% This function returns the quaternion that is the imaginary
% part of q. If q i