代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/362900/9977240
hpp meep.hpp
/* Copyright (C) 2005-2008 Massachusetts Institute of Technology
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as pu
www.eeworm.com/read/416348/10002517
cpp ep4_8_1.cpp
/*4.8 为复数类(Complex)增加重载的运算符-、-=、*=和/=。设++为实部和虚部各自增一,
亦请重载前置与后置++运算符。分别使用成员函数和友元函数各做一遍。并测试。*/
//注:测试时后一运算符参数是前一运算符运算结果
//使用成员函数
#include
using namespace std;
class complex{
private:
www.eeworm.com/read/360172/10107599
qqqqqqq+
【例1.8】 演示使用complex和string对象及初始化的例子。
#include
#include
#include
using namespace std;
void main()
{
complex num1(2,3);
complex num2(3.5,4.5);
str
www.eeworm.com/read/163563/10153934
m makesbus.m
function Sbus = makeSbus(baseMVA, bus, gen)
%MAKESBUS Builds the vector of complex bus power injections.
% Sbus = makeSbus(baseMVA, bus, gen) returns the vector of complex bus
% power injecti
www.eeworm.com/read/163503/10156793
cpp main.cpp
#include
#include
#include
#include
using namespace std;
int main(int argc, char *argv[])
{
complex purei(0,7);
cout
www.eeworm.com/read/358593/10184215
h fretrans.h
// FreTrans.h
#ifndef _INC_FreTransAPI
#define _INC_FreTransAPI
#include
using namespace std;
// 函数原型
VOID WINAPI FFT(complex * TD, complex * FD, int r);
VOID
www.eeworm.com/read/355913/10241708
cpp 8_72.cpp
#include
class complex
{
float a,b;
public:
complex(){a=0.0;b=0.0;cout
www.eeworm.com/read/281147/10259842
c maryuwa.c
#include
#include
#include
#include "msp.h"
void maryuwa(complex x[],complex a[],complex r[],int n,int ip,
float *ep,int *ierror)
{
/*-----------------------------
www.eeworm.com/read/162863/10262710
asv creatqam.asv
function sk=creatQAM(k)
% 2*sum((y(:,1)).^2)/length(y)
%1/sqrt(2*sum((y(:,1)).^2)/length(y))*flipud(y)
%complex(flipud(z(:,1)),z(:,2))
%constellation_qam(k)
y=constellation_qam(k)
m=sqrt(leng
www.eeworm.com/read/162863/10262750
m creatqam.m
function sk=creatQAM(k)
% 2*sum((y(:,1)).^2)/length(y)
%1/sqrt(2*sum((y(:,1)).^2)/length(y))*flipud(y)
%complex(flipud(z(:,1)),z(:,2))
%constellation_qam(k)
y=constellation_qam(k)
m=sqrt(leng