代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/260458/11724067
h complex.h
#pragma once
using namespace System;
value class CComplex
{
public:
property double Re
{
double get()
{
return m_re;
}
void set(double value)
{
m_re=value;
}
}
www.eeworm.com/read/260437/11725497
cpp complex.cpp
/*#include
class complex2
{
public:
complex2() { real=imag=0; }
complex2(double r, double i)
{\
real = r, imag = i;
}
complex2 operator +(const complex2 &c);
complex2 operator -
www.eeworm.com/read/260437/11725548
h complex.h
#ifndef COMPLEX_HH
#define COMPLEX_HH
#include
#include
//#include
class complex2
{
public:
complex2() { real=imag=0.0; }
complex2(double r, double i)
{
www.eeworm.com/read/157007/11745911
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/156908/11753294
cpp complex.cpp
#include "complex.h"
#include
using namespace std;
BOOL Complex::iszero() const
{ if (x.iszero() && y.iszero()) return TRUE; return FALSE; }
Complex& Complex::operator=(const Com
www.eeworm.com/read/156908/11753316
h complex.h
/*
* Quick and dirty complex data type using float arithmetic
* Should be extended
*/
#ifndef COMFLOAT_H
#define COMFLOAT_H
#include "floating.h"
class Complex
{
Float x,y;
pu
www.eeworm.com/read/156891/11756407
dsp complex.dsp
# Microsoft Developer Studio Project File - Name="complex" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) C
www.eeworm.com/read/156891/11756411
cpp complex.cpp
#include
using namespace std;
class complex
{
private:
double real;
double image;
public:
complex ( ); //缺省构造函数
complex (double r, double i); //顺便初始化值的构造函数
com
www.eeworm.com/read/156891/11756414
dsw complex.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/156364/11809325
c complex.c
#include
#include
inline complex< double >&
operator+=( complex< double > &c, double dval )
{
return c += complex< double >( dval );
}
inline complex< double >&