代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/329572/12947221
doc complex.doc
www.eeworm.com/read/141794/12984126
java complex.java
//复数类
public class Complex
{
//定义实部,虚部,模,辐角
private double real,img,mod,angle;
public Complex()
{
real=0.0;
img=0.0;
setMod();
setAngle();
}
public Complex(double
www.eeworm.com/read/328638/13009716
h complex.h
struct c_complex
{ float re, im;
};
struct complex
{ float re, im;
complex(float r, float i = 0.0) { re = r; im = i; }
complex() { } /* uninitialized complex */
complex(
www.eeworm.com/read/328637/13009775
h complex.h
struct c_complex
{ float re, im;
};
struct complex
{ float re, im;
complex(float r, float i = 0.0) { re = r; im = i; }
complex() { } /* uninitialized complex */
complex(
www.eeworm.com/read/139776/13133727
c complex.c
/* CAUTION: This is the ANSI 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 same subdirec
www.eeworm.com/read/139776/13134915
c complex.c
#include
typedef struct FCOMPLEX {float r,i;} fcomplex;
#if defined(__STDC__) || defined(ANSI) || defined(NRANSI) /* ANSI */
fcomplex Cadd(fcomplex a, fcomplex b)
{
fcomplex c;
c.r=a.r+b
www.eeworm.com/read/139776/13134920
h complex.h
#ifndef _NR_COMPLEX_H_
#define _NR_COMPLEX_H_
#ifndef _FCOMPLEX_DECLARE_T_
typedef struct FCOMPLEX {float r,i;} fcomplex;
#define _FCOMPLEX_DECLARE_T_
#endif /* _FCOMPLEX_DECLARE_T_ */
#if defined(_
www.eeworm.com/read/326349/13145942
java complex.java
//本程序给出的是复数的定义和复数的计算方法。
import java.io.*;
import java.math.*;
//复数的定义和复数访问的方法。
public class complex
{
private
double complex_real_a = 0;//复数的实部
double compleximaginary_b = 0;//复数的虚
www.eeworm.com/read/240985/13182424
h complex.h
/* complex.h
Complex Number Library - Include File
class complex: declarations for complex numbers.
Copyright (c) 1990, 1991 by Borland International
All Rights Reserved.
A
www.eeworm.com/read/325403/13207746
cpp complex.cpp
//////////////////////////////////////////////////////////////////////
// Complex.h
//
// 操作复数的类 CComplex 的实现代码
//
// 周长发编制, 2002/8
//////////////////////////////////////////////////////////////