代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/403009/11524629
h mytime1.h
// mytime1.h -- Time class before operator overloading
#ifndef MYTIME1_H_
#define MYTIME1_H_
class Time
{
private:
int hours;
int minutes;
public:
Time();
Time(int h, int m
www.eeworm.com/read/403009/11524641
h mytime2.h
// mytime2.h -- Time class after operator overloading
#ifndef MYTIME2_H_
#define MYTIME2_H_
class Time
{
private:
int hours;
int minutes;
public:
Time();
Time(int h, int m
www.eeworm.com/read/403009/11524646
h mytime0.h
// mytime0.h -- Time class before operator overloading
#ifndef MYTIME0_H_
#define MYTIME0_H_
class Time
{
private:
int hours;
int minutes;
public:
Time();
Time(int h, int m
www.eeworm.com/read/347945/11624086
m det.m
function d = det(X)
%DET (overloaded)
% Author Johan L鰂berg
% $Id: det.m,v 1.1 2006/08/10 18:00:19 joloef Exp $
n = X.dim(1);
m = X.dim(2);
if n~=m
error('Matrix must be square.');
www.eeworm.com/read/347945/11625681
m det.m
function d = det(X)
%DET (overloaded)
% Author Johan L鰂berg
% $Id: det.m,v 1.5 2007/01/02 12:15:47 joloef Exp $
n = X.dim(1);
m = X.dim(2);
if n~=m
error('Matrix must be square.');
e
www.eeworm.com/read/346459/11743050
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,'frequency') & isa(b,'frequency'))
error('Both operands must be frequency objects');
end
t
www.eeworm.com/read/346459/11743106
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,'spectrum') & isa(b,'spectrum'))
error('Both operands must be spectrum objects');
end
try
www.eeworm.com/read/346459/11743151
m eq.m
function c=eq(a,b)
% overloading of operator ==
% $Id: eq.m 47 2004-09-09 08:01:57Z mairas $
if ~(isa(a,'time') & isa(b,'time'))
error('Both operands must be time objects');
end
try
c = (a.beg
www.eeworm.com/read/346459/11743364
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/258191/11878542
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
clas