代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/331439/12828828
m inv.m
function R = inv(a)
% INV Inverse of a quaternion (matrix).
% (Quaternion overloading of standard Matlab function.)
%
% For a single quaternion, this function computes the inverse,
% that is the con
www.eeworm.com/read/331439/12828990
m eq.m
function r = eq(a, b)
% == Equal.
% (Quaternion overloading of standard Matlab function.)
%
% If one of the operands is not a quaternion and the other has zero vector part,
% the result is obtained b
www.eeworm.com/read/346459/11743056
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/346459/11743060
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/346459/11743066
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/346459/11743075
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/346459/11743097
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/346459/11743191
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/162614/5521628
c null1.c
// { dg-do run }
// Test for overloading with g++ NULL.
void f (int *) { }
void f (char, char);
int main ()
{
f (__null);
}