代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/263579/11354673
dsw complex.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# 警告: 不能编辑或删除该工作区文件!
###############################################################################
Project: "complex"=".\complex
www.eeworm.com/read/406948/11431860
cpp complex.cpp
/* Contains the functions of the class: Complex */
#include "Complex.h"
double abs(Complex c2)
{
/* Actually returns ABS_SQUARED ... */
return c2.re*c2.re + c2.im*c2.im;
}
Complex
www.eeworm.com/read/406948/11431864
h complex.h
#ifndef COMPLEX
#define COMPLEX
#include
class Complex {
double re, im;
public:
Complex():re(0),im(0){}
Complex(double r):re(r),im(0){}
Complex(double x, double y):re(
www.eeworm.com/read/406664/11437772
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/403544/11515011
java complex.java
import java.io.*;
import java.math.*;
public class complex {
/**
* @param args
*/
static double RealFirst = 0 ;
static double ImaginFirst = 0 ;
static double RealTwo = 0 ;
s
www.eeworm.com/read/158443/11615056
c complex.c
/* CAUTION: This is the traditional K&R C (only) version of the Numerical
Recipes utility file complex.c. Do not confuse this file with the
same-named file complex.c that is supplied in the s
www.eeworm.com/read/158370/11623063
h complex.h
// complex.h Declaration for the class Complex
class Complex
{ public :
void InputC (istream& in); // input a complex number
void OutputC (ostream& out); // output a complex number
C