代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/308968/13684986
class complex.class
www.eeworm.com/read/308968/13685007
java complex.java
//Complex.java
//复数的定义
class Complex {
public double re;
public double im;
Complex(){
this.re=0;
this.im=0;
}
Complex(double re){
this.re=re;
this.im=re;
}
Complex(
www.eeworm.com/read/308968/13685022
class complex.class
www.eeworm.com/read/308835/13689911
cpp complex.cpp
#include "stdafx.h"
#include "complex.h"
complex::complex(double re,double im){
real=re;
imag=im;
}
complex::complex(){
real=0.0;
imag=0.0;
}
complex::complex(const complex& z){
real
www.eeworm.com/read/308835/13689913
h complex.h
/*
* complex.h - complex number class definitions
*
* Copyright (C) lartely
*
*/
#include
#include
#ifndef _COMPLEX_DOT_H_
#define _COMPLEX_DOT
www.eeworm.com/read/302032/13844298
h complex.h
#include
using namespace std;
#ifndef COMPLEX_H
#define COMPLEX_H
class Complex
{
private:
float a,b;
public:
Complex(float x,float y);//构造函数
float Get_a();//获得实部
float G
www.eeworm.com/read/301147/13865629
cpp complex.cpp
#include"complex.h"
#include"iostream.h"
#include
/******************************************************************************
以下定义实现复数类的函数
************
www.eeworm.com/read/301147/13865634
h complex.h
class complex //编写复数类
{
public:
complex(double r=1,double i=1):real(r),imag(i){}//构造函数,实现初始化
complex (double r) {real= r;imag=0;}//转换构造函数
operator double(){return real;}//类型转换函数
fr
www.eeworm.com/read/152695/5670792
c complex.c
/*
* (C) Copyright 2002
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you
www.eeworm.com/read/149098/5703461
cpp complex.cpp
/**************************************************************************
*
* complex.cpp - Example program for complex. See Class Reference Section
*
**************************************