代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/427960/8908979
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/383307/8956480
cs complex.cs
/*
* 操作复数的类Complex
*
* 周长发编制
*/
using System;
namespace CSharpAlgorithm.Algorithm
{
/**
* 操作复数的类Complex
* @author 周长发
* @version 1.0
*/
public class Complex
{
pr
www.eeworm.com/read/186151/8957307
ase complex.ase
www.eeworm.com/read/382060/9055673
js complex.js
/*
* Complex.js:
* This file defines a Complex class to represent complex numbers.
* Recall that a complex number is the sum of a real number and an
* imaginary number, and that the imaginary numb
www.eeworm.com/read/381785/9071764
h complex.h
/*-------------------------------------------------------------------
浮点复数头文件
-------------------------------------------------------------------*/
struct cmpx
{
float re;
float im;
www.eeworm.com/read/184529/9095846
cpp complex.cpp
#include "stdafx.h"
ComplexNumber ComplexMultiply(ComplexNumber x, ComplexNumber y)
//
// Copyright 2002 The Mobile and Portable Radio Research Group
//
{
ComplexNumber Result;
Result.rea
www.eeworm.com/read/184529/9095901
h complex.h
//
// Copyright 2002 The Mobiel and Portable Radio Research Group
//
typedef class ComplexNumbertag
{
public:
double real;
double imaginary;
} ComplexNumber;
ComplexNumber ComplexMult
www.eeworm.com/read/381159/9106904
cpp complex.cpp
#include "complex.h"
complex complex :: operator + (const complex & c1)const
{
complex c(0,0);
c.real=real+c1.real;
c.imag=imag+c1.imag;
return c;
}
complex complex :: oper
www.eeworm.com/read/381159/9106911
h complex.h
#ifndef COMPLEX_H_INCLUDED
#define COMPLEX_H_INCLUDED
#include
using namespace std;
class complex
{
public :
double real;
double imag;
complex(double r=0,do
www.eeworm.com/read/380882/9124317