代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/473077/6854995
cpp complex.cpp
//---------------------------------------------------------------------------
#include
#pragma hdrstop
#include "Complex.h"
//----------------------------------------------------------
www.eeworm.com/read/473077/6854997
h complex.h
//---------------------------------------------------------------------------
#ifndef ComplexH
#define ComplexH
#include
template < typename T > class TComplex // : public TObject
{
www.eeworm.com/read/472699/6864716
c complex.c
#include
#include "Complex.h"
void initComplex(Complex * pc){
initRational(&pc->real);
initRational(&pc->imag);
}
Complex multiplyComplex(Complex *pc1, Complex *pc2){
Complex r
www.eeworm.com/read/472699/6864718
h complex.h
#ifndef _COMPLEX_H_
#define _COMPLEX_H_
#include "Rational.h"
struct complex{
Rational real;
Rational imag;
};
typedef struct complex Complex;
void initComplex(Complex * pc);
Complex
www.eeworm.com/read/195157/8171188
h complex.h
#if !defined COMPLEX_H
#define COMPLEX_H
//------------------------------------
// complex.h
// Complex number
// (c) Reliable Software, 1996
//------------------------------------
#includ
www.eeworm.com/read/295122/8186259
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/295122/8186263
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/294461/8224747
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/294203/8246860
m complex.m
function q = complex(a,b)
% COMPLEX Construct a complex quaternion from real quaternions.
% (Quaternion overloading of standard Matlab function.)
% Copyright