代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/199277/7870888
hpp mympi.hpp
// -*- C++ -*-
/* Copyright (C) 2006 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 Lic
www.eeworm.com/read/199277/7870893
hpp meep.hpp
/* Copyright (C) 2006 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 publish
www.eeworm.com/read/198623/7920444
f csqrt.f
function csqrt(z1)
complex csqrt, z1, z2
dimension dummy(2)
equivalence (a,z2,dummy(1)), (b,dummy(2))
z2 = z1
c = cabs(z2)
c = sqrt(c)
b = atan2(b, a)/2.0
a = c*cos(b)
b = c*sin(b)
csqrt =
www.eeworm.com/read/198623/7920453
f csin.f
function csin(z1)
complex csin, z1, z2
dimension dummy(2)
equivalence (a,z2,dummy(1)), (b,dummy(2))
z2 = z1
c = exp(b)
d = 1.0/c
b = cos(a)*(c-d)/2.0
a = sin(a)*(c+d)/2.0
csin = z2
return
www.eeworm.com/read/198623/7920560
f dcsqrt.f
function dcsqrt(z1)
double complex dcsqrt, z1, z2
double precision dummy(2), a, b, c
equivalence (a,z2,dummy(1)), (b,dummy(2))
z2 = z1
c = dcabs(z2)
c = dsqrt(c)
b = datan2(b, a)/2.0d0
a = c
www.eeworm.com/read/198623/7920567
f ccos.f
function ccos(z1)
complex ccos, z1, z2
dimension dummy(2)
equivalence (a,z2,dummy(1)), (b,dummy(2))
z2 = z1
c = exp(b)
d = 1.0/c
b = sin(a)*(d-c)/2.0
a = cos(a)*(c+d)/2.0
ccos = z2
return
www.eeworm.com/read/198623/7920611
f clog.f
function clog(z1)
complex clog, z1, z2
dimension dummy(2)
equivalence (a,z2,dummy(1)), (b,dummy(2))
z2 = z1
c = cabs(z2)
b = atan2(b, a)
a = alog(c)
clog = z2
return
end
www.eeworm.com/read/433381/7934190
cpp rootmontecarlocomplex.cpp
//RootMonteCarloComplex.cpp
//MonteCarlo法求解非线性方程一复根
#define FM //注解此行,将调用FunctionModule2()
#ifdef FM
#define FunctionModule FunctionModule1
#else
#define FunctionModule FunctionModule2
www.eeworm.com/read/398180/8000653
inc fft_size.inc
*********************************************************************************
* (C) COPYRIGHT TEXAS INSTRUMENTS, INC. 1996 *
**********************************
www.eeworm.com/read/296067/8125418
c fillpolygon.c
#include
#include
#include "nxlib.h"
int
XFillPolygon(Display * display, Drawable d, GC gc,
XPoint * points, int npoints, int shape, int mode)
{
int i;
GR_POINT *gr_points;