代码搜索:complex

找到约 10,000 项符合「complex」的源代码

代码结果 10,000
www.eeworm.com/read/237003/13983217

cc complex.cc

/*************************************************************************** * blitz/array/complex.cc Special functions for complex arrays * * Copyright (C) 1997-2001 Todd Veldhuizen
www.eeworm.com/read/236649/14006414

c complex.c

#include #include inline complex< double >& operator+=( complex< double > &c, double dval ) { return c += complex< double >( dval ); } inline complex< double >&
www.eeworm.com/read/134087/14008844

c complex.c

/* complex.c - complex arithmetic functions */ #include /* for MSC and TC/BC, it declares: */ /* \ttt{struct complex} and \t
www.eeworm.com/read/132413/14089922

c complex.c

#include typedef struct FCOMPLEX {float r,i;} fcomplex; fcomplex Cadd(a,b) fcomplex a,b; { fcomplex c; c.r=a.r+b.r; c.i=a.i+b.i; return c; } fcomplex Csub(a,b) fcomplex a,b
www.eeworm.com/read/132413/14090020

h complex.h

typedef struct FCOMPLEX {float r,i;} fcomplex; extern fcomplex Cadd(); extern fcomplex Csub(); extern fcomplex Cmul(); extern fcomplex Complex(); extern fcomplex Conjg(); extern fcomplex Cdiv(
www.eeworm.com/read/234927/14092011

cpp complex.cpp

#include #include "complex.h" CComplex& CComplex::operator =(const CComplex& c) { // 判断是否自复制 if(this == &c) return *this; real = c.real; image = c.image; return *this;
www.eeworm.com/read/234927/14092017

h complex.h

#include class CComplex { public: CComplex(){ real = 0.0; image = 0.0; } CComplex(double rv) { real = rv; image = 0.0; } CComplex(double rv,double iv) { real = rv; image =iv;}
www.eeworm.com/read/234925/14092104

cpp complex.cpp

// complex.cpp: implementation of the Ccomplex class. // ////////////////////////////////////////////////////////////////////// #include "complex.h" ///////////////////////////////////////////
www.eeworm.com/read/234925/14092111

h complex.h

// Complex类的定义及实现都在头文件complex.h中完成。 #include using namespace std; class CComplex { private: double real; double image; public: CComplex() //不带参数的构造函数,即缺省构造函数 {
www.eeworm.com/read/234925/14092211

cpp complex.cpp

#include using namespace std; class CComplex { private: double real; double image; public: CComplex() //不带参数的构造函数,即缺省构造函数 { real = 0.0; image = 0.0; } CC