Home
last modified time | relevance | path

Searched refs:cmplx (Results 1 – 25 of 1463) sorted by relevance

12345678910>>...59

/dports/lang/v/v-0.1.29/vlib/math/complex/
H A Dcomplex_test.v2 import math.complex as cmplx
18 c1 = cmplx.complex(-71,2)
19 c2 = cmplx.complex(88,-12)
22 c1 = cmplx.complex(0,-30)
23 c2 = cmplx.complex(52,-30)
26 c1 = cmplx.complex(12,-9)
27 c2 = cmplx.complex(32,-6)
43 c1 = cmplx.complex(12,0)
48 c2 = cmplx.complex(0,14)
64 c1 = cmplx.complex(4,4)
[all …]
/dports/lang/gomacro/gomacro-2.7-304-g2f4dc7c/imports/
H A Dmath_cmplx.go15 "Abs": ValueOf(cmplx.Abs),
16 "Acos": ValueOf(cmplx.Acos),
18 "Asin": ValueOf(cmplx.Asin),
23 "Cos": ValueOf(cmplx.Cos),
25 "Cot": ValueOf(cmplx.Cot),
26 "Exp": ValueOf(cmplx.Exp),
27 "Inf": ValueOf(cmplx.Inf),
30 "Log": ValueOf(cmplx.Log),
32 "NaN": ValueOf(cmplx.NaN),
35 "Pow": ValueOf(cmplx.Pow),
[all …]
/dports/math/gretl/gretl-2021d/lib/src/
H A Dclapack_complex.h7 cmplx *a, integer *lda, double *w, cmplx *work,
11 cmplx *a, integer *lda, double *w, cmplx *vl,
12 integer *ldvl, cmplx *vr, integer *ldvr, cmplx *work,
30 cmplx *alpha, cmplx *a, integer *lda,
31 cmplx *b, integer *ldb, cmplx *beta,
35 integer *k, cmplx *alpha, cmplx *a, integer *lda,
36 cmplx *beta, cmplx *c, integer *ldc);
40 double *s, cmplx *u, integer *ldu, cmplx *vt, integer *ldvt,
45 cmplx *w, cmplx *vs, integer *ldvs, cmplx *work, integer *lwork,
52 cmplx *tau, cmplx *work, integer *lwork, integer *info);
[all …]
/dports/devel/yaegi/yaegi-0.9.23/stdlib/
H A Dgo1_16_math_cmplx.go15 "Abs": reflect.ValueOf(cmplx.Abs),
16 "Acos": reflect.ValueOf(cmplx.Acos),
17 "Acosh": reflect.ValueOf(cmplx.Acosh),
18 "Asin": reflect.ValueOf(cmplx.Asin),
19 "Asinh": reflect.ValueOf(cmplx.Asinh),
20 "Atan": reflect.ValueOf(cmplx.Atan),
22 "Conj": reflect.ValueOf(cmplx.Conj),
23 "Cos": reflect.ValueOf(cmplx.Cos),
25 "Cot": reflect.ValueOf(cmplx.Cot),
26 "Exp": reflect.ValueOf(cmplx.Exp),
[all …]
H A Dgo1_17_math_cmplx.go16 "Abs": reflect.ValueOf(cmplx.Abs),
17 "Acos": reflect.ValueOf(cmplx.Acos),
18 "Acosh": reflect.ValueOf(cmplx.Acosh),
19 "Asin": reflect.ValueOf(cmplx.Asin),
20 "Asinh": reflect.ValueOf(cmplx.Asinh),
21 "Atan": reflect.ValueOf(cmplx.Atan),
23 "Conj": reflect.ValueOf(cmplx.Conj),
24 "Cos": reflect.ValueOf(cmplx.Cos),
26 "Cot": reflect.ValueOf(cmplx.Cot),
27 "Exp": reflect.ValueOf(cmplx.Exp),
[all …]
/dports/net/traefik/traefik-2.6.1/vendor/github.com/traefik/yaegi/stdlib/
H A Dgo1_16_math_cmplx.go15 "Abs": reflect.ValueOf(cmplx.Abs),
16 "Acos": reflect.ValueOf(cmplx.Acos),
17 "Acosh": reflect.ValueOf(cmplx.Acosh),
18 "Asin": reflect.ValueOf(cmplx.Asin),
19 "Asinh": reflect.ValueOf(cmplx.Asinh),
20 "Atan": reflect.ValueOf(cmplx.Atan),
22 "Conj": reflect.ValueOf(cmplx.Conj),
23 "Cos": reflect.ValueOf(cmplx.Cos),
25 "Cot": reflect.ValueOf(cmplx.Cot),
26 "Exp": reflect.ValueOf(cmplx.Exp),
[all …]
H A Dgo1_17_math_cmplx.go16 "Abs": reflect.ValueOf(cmplx.Abs),
17 "Acos": reflect.ValueOf(cmplx.Acos),
18 "Acosh": reflect.ValueOf(cmplx.Acosh),
19 "Asin": reflect.ValueOf(cmplx.Asin),
20 "Asinh": reflect.ValueOf(cmplx.Asinh),
21 "Atan": reflect.ValueOf(cmplx.Atan),
23 "Conj": reflect.ValueOf(cmplx.Conj),
24 "Cos": reflect.ValueOf(cmplx.Cos),
26 "Cot": reflect.ValueOf(cmplx.Cot),
27 "Exp": reflect.ValueOf(cmplx.Exp),
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/gonum.org/v1/gonum/num/dualcmplx/
H A Ddual_test.go85 return (cmplx.Exp(x) - cmplx.Exp(cmplx.Conj(x))) / (x - cmplx.Conj(x))
97 return (cmplx.Log(x) - cmplx.Log(cmplx.Conj(x))) / (x - cmplx.Conj(x))
308 {d: Number{Real: cmplx.Inf()}, p: 0.5, want: Number{Real: cmplx.Inf(), Dual: cmplx.NaN()}},
309 {d: Number{Real: cmplx.Inf()}, p: 1, want: Number{Real: cmplx.Inf(), Dual: cmplx.NaN()}},
310 {d: Number{Real: cmplx.Inf()}, p: 1.1, want: Number{Real: cmplx.Inf(), Dual: cmplx.NaN()}},
311 {d: Number{Real: cmplx.Inf()}, p: 2, want: Number{Real: cmplx.Inf(), Dual: cmplx.NaN()}},
328 {d: Number{Real: cmplx.NaN(), Dual: 0}, p: 2, want: Number{Real: cmplx.NaN(), Dual: cmplx.NaN()}},
329 {d: Number{Real: cmplx.NaN(), Dual: 0}, p: 3, want: Number{Real: cmplx.NaN(), Dual: cmplx.NaN()}},
330 {d: Number{Real: cmplx.NaN(), Dual: 1}, p: 2, want: Number{Real: cmplx.NaN(), Dual: cmplx.NaN()}},
331 {d: Number{Real: cmplx.NaN(), Dual: 1}, p: 3, want: Number{Real: cmplx.NaN(), Dual: cmplx.NaN()}},
[all …]
H A Ddual.go109 Real: cmplx.Conj(d.Real),
121 return cmplx.Abs(d.Real)
158 d.Dual = cmplx.NaN()
167 return Number{Real: cmplx.Inf(), Dual: cmplx.NaN()}
169 return Number{Real: cmplx.Inf(), Dual: cmplx.Inf()}
180 return Number{Real: cmplx.Inf(), Dual: cmplx.NaN()}
182 return Number{Real: cmplx.Inf(), Dual: cmplx.Inf()}
184 return Number{Real: cmplx.NaN(), Dual: cmplx.NaN()}
194 return Number{Real: cmplx.Inf(), Dual: cmplx.NaN()}
223 fn := cmplx.Exp(d.Real)
[all …]
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/externals/pb_s_am/pbam/src/
H A DASolver.h89 cmplx calc_indi_gamma(int i, int n);
92 cmplx calc_indi_delta(int i, int n);
93 cmplx calc_indi_e(int i, int n, int m);
149 MyMatrix<cmplx> expand_SX(int i, int j, MyMatrix<cmplx> x1,
153 MyMatrix<cmplx> expand_RHX(int i, int j, MyMatrix<cmplx> x2,
208 cmplx get_SH_ij(int i, int j, int n, int m) in get_SH_ij()
212 cmplx get_prevA_ni(int i, int n, int m) in get_prevA_ni()
219 VecOfMats<cmplx>::type conv_to_cart(VecOfMats<cmplx>::type dZ, int i, int j);
222 cmplx get_dAdr_ni(int i, int j, int n, int m) in get_dAdr_ni()
246 cmplx get_dAdx_ni(int i, int j, int n, int m) in get_dAdx_ni()
[all …]
H A DASolver.cpp26 _gamma_ = make_shared<VecOfMats<cmplx>::type>(N_, MyMatrix<cmplx> (p_, p_)); in ASolver()
27 _delta_ = make_shared<VecOfMats<cmplx>::type>(N_, MyMatrix<cmplx> (p_, p_)); in ASolver()
28 _E_ = make_shared<VecOfMats<cmplx>::type>(N_, MyMatrix<cmplx> (p_, 2*p_+1)); in ASolver()
29 _A_ = make_shared<VecOfMats<cmplx>::type>(N_, MyMatrix<cmplx> (p_, 2*p_+1)); in ASolver()
176 aij = VecOfMats<cmplx>::type (3, MyMatrix<cmplx>(p_,2*p_+1)); in grad_iter()
250 if (prev == cmplx(0.0,0.0) && curr == cmplx(0.0,0.0)) in calc_change()
273 cmplx sign; in pre_compute_gradT_A()
297 sign = (( k < i ) ? cmplx(-1.0, 0.0) : cmplx(1.0, 0.0)); in pre_compute_gradT_A()
478 MyMatrix<cmplx> ASolver::expand_SX(int i, int j, MyMatrix<cmplx> x1, in expand_SX()
688 cmplx aval; in which_aval()
[all …]
/dports/math/p5-Math-Cephes/Math-Cephes-0.5305/libmd/
H A Dprotos.h42 extern void clog ( cmplx *z, cmplx *w );
43 extern void cexp ( cmplx *z, cmplx *w );
44 extern void csin ( cmplx *z, cmplx *w );
45 extern void ccos ( cmplx *z, cmplx *w );
46 extern void ctan ( cmplx *z, cmplx *w );
47 extern void ccot ( cmplx *z, cmplx *w );
57 extern void cpow ( cmplx *a, cmplx *z, cmplx *w );
63 extern void cadd ( cmplx *a, cmplx *b, cmplx *c );
64 extern void csub ( cmplx *a, cmplx *b, cmplx *c );
65 extern void cmul ( cmplx *a, cmplx *b, cmplx *c );
[all …]
H A Dclog.c62 void cadd ( cmplx *, cmplx *, cmplx * );
63 void cmul ( cmplx *, cmplx *, cmplx * );
64 void md_csqrt ( cmplx *, cmplx * );
68 void md_clog ( cmplx *, cmplx * );
69 void md_casin ( cmplx *, cmplx * );
70 void md_cacos ( cmplx *, cmplx * );
71 void md_catan ( cmplx *, cmplx * );
449 cmplx *z; in ctans()
808 cmplx u;
890 cmplx u;
[all …]
H A Dcmplx.c85 void cdiv ( cmplx *, cmplx *, cmplx * );
86 void cadd ( cmplx *, cmplx *, cmplx * );
105 extern cmplx cone;
111 cmplx *c;
123 cmplx *c;
134 cmplx *c;
149 cmplx *c;
193 register cmplx *a; in cneg()
391 cmplx *z, *w; in md_csqrt()
393 cmplx q, s;
[all …]
H A Dcpmul_wrap.c29 }cmplx; typedef
38 cmplx *a, *b, *c;
39 extern int cpmul( cmplx a[], int da, cmplx b[], int db, cmplx c[], int *dc);
41 a = (cmplx *) malloc (da * sizeof(cmplx));
42 b = (cmplx *) malloc (db * sizeof(cmplx));
43 c = (cmplx *) malloc (*dc * sizeof(cmplx));
/dports/math/p5-Math-Cephes/Math-Cephes-0.5305/
H A DCephes.i12 } cmplx; typedef
41 c = (cmplx *) malloc(sizeof(cmplx));
50 } cmplx; typedef
105 extern void md_clog ( cmplx *z, cmplx *w );
106 extern void md_cexp ( cmplx *z, cmplx *w );
110 extern void ccot ( cmplx *z, cmplx *w );
120 extern void md_cpow ( cmplx *a, cmplx *z, cmplx *w );
126 extern void cadd ( cmplx *a, cmplx *b, cmplx *c );
127 extern void csub ( cmplx *a, cmplx *b, cmplx *c );
128 extern void cmul ( cmplx *a, cmplx *b, cmplx *c );
[all …]
/dports/science/harminv/harminv-1.3.1/
H A Dharminv.c38 static cmplx my_clog(cmplx z) in my_clog()
129 cmplx* alpha, cmplx* beta,
130 cmplx* vl, int*, cmplx* vr, int*,
138 cmplx* alpha, cmplx* beta,
139 cmplx* vl, int*, cmplx* vr, int*,
142 cmplx*,int*, cmplx*,int*, cmplx*, cmplx*,int*);
144 extern void ZAXPY(int*, cmplx*, cmplx*,int*, cmplx*,int*);
145 extern void ZGEMV(FCHARP, int*,int*, cmplx*, cmplx*,int*, cmplx*,int*,
146 cmplx*, cmplx*,int*);
157 static cmplx cpow_i(cmplx c, int n) in cpow_i()
[all …]
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/mathsResources/specialFunctions/
H A Dcerf.h62 cmplx w_of_z (cmplx z);
68 cmplx cerf (cmplx z);
71 cmplx cerfc(cmplx z);
74 cmplx cerfcx(cmplx z);
78 cmplx cerfi(cmplx z);
82 cmplx cdawson(cmplx z);
92 cmplx cexp(cmplx z) { return std::exp(z); } in cexp()
/dports/games/taisei/taisei-1.3.2/src/
H A Dlaser.h28 cmplx pos;
29 cmplx args[4];
59 Laser *create_laserline(cmplx pos, cmplx dir, float charge, float dur, const Color *clr);
60 Laser *create_laserline_ab(cmplx a, cmplx b, float width, float charge, float dur, const Color *clr…
62 …e_laser(cmplx pos, float time, float deathtime, const Color *color, LaserPosRule prule, LaserLogic…
70 cmplx las_linear(Laser *l, float t);
71 cmplx las_accel(Laser *l, float t);
72 cmplx las_sine(Laser *l, float t);
73 cmplx las_weird_sine(Laser *l, float t);
75 cmplx las_turning(Laser *l, float t);
[all …]
H A Ditem.h45 cmplx pos;
46 cmplx pos0;
52 cmplx v;
55 Item *create_item(cmplx pos, cmplx v, ItemType type);
59 Item* create_clear_item(cmplx pos, uint clear_flags);
64 void spawn_item(cmplx pos, ItemType type);
65 void spawn_and_collect_item(cmplx pos, ItemType type, float collect_value);
72 void spawn_items(cmplx pos, SpawnItemsArgs groups[]);
73 void spawn_and_collect_items(cmplx pos, float collect_value, SpawnItemsArgs groups[]);
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/externals/pb_s_am/pbsam/src/
H A DTMatrix.h54 MyMatrix<cmplx> expand_RX(MyMatrix<cmplx> X,
58 MyMatrix<cmplx> expand_SX(MyMatrix<cmplx> x1,
62 MyMatrix<cmplx> expand_RHX(MyMatrix<cmplx> x2,
66 MyMatrix<cmplx> expand_dRdtheta_sing(MyMatrix<cmplx> mat,
70 MyMatrix<cmplx> expand_dRdphi_sing(MyMatrix<cmplx> mat,
80 VecOfMats<cmplx>::type conv_to_cart(VecOfMats<cmplx>::type dZ,
112 MyMatrix<cmplx> re_expandX(MyMatrix<cmplx> X, int I, int k, int J, int l,
121 MyMatrix<cmplx> re_expandX_numeric(vector<vector<double> > X, int I, int k,
139 MyMatrix<Ptx> re_expandX_gradT(MyMatrix<cmplx> X,
162 VecOfMats<cmplx>::type convert_from_ptx(MyMatrix<Ptx> X);
[all …]
/dports/net/mpich2/mpich2-1.5/src/mpe2/src/slog2sdk/trace_sample/src/
H A Dtrace_impl.c400 return cmplx; in Composite_alloc()
421 if ( cmplx->num_info > 0 && cmplx->info != NULL ) { in Composite_free()
438 free( cmplx ); in Composite_free()
586 tr->cmplx = NULL; in TRACE_Close()
1040 cmplx = fp->cmplx; in TRACE_Peek_next_primitive()
1041 if ( cmplx->idx2prime < cmplx->num_primes ) { in TRACE_Peek_next_primitive()
1042 linebuf = cmplx->lines[ cmplx->idx2prime ]; in TRACE_Peek_next_primitive()
1304 cmplx->info = (char *) malloc( cmplx->num_info * sizeof(char) ); in TRACE_Peek_next_composite()
1305 memcpy( cmplx->info, infovals, cmplx->num_info ); in TRACE_Peek_next_composite()
1323 fp->cmplx = cmplx; in TRACE_Peek_next_composite()
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/gonum.org/v1/gonum/cmplxs/
H A Dcmplxs.go30 dst[i] = cmplx.Abs(v)
321 if cmplx.IsNaN(v) {
353 Span(dst, cmplx.Log(l), cmplx.Log(u))
377 if cmplx.IsNaN(v) {
404 if cmplx.IsNaN(v) {
452 case cmplx.IsNaN(v):
454 case cmplx.IsInf(v):
548 if v != w && !(cmplx.IsNaN(v) && cmplx.IsNaN(w)) {
591 case cmplx.IsNaN(l):
597 case cmplx.IsNaN(u):
[all …]
H A Dcmplxs_test.go644 in: []complex128{cmplx.NaN(), cmplx.NaN(), cmplx.NaN()},
687 in: []complex128{cmplx.NaN(), cmplx.NaN(), cmplx.NaN()},
836 in: []complex128{cmplx.NaN(), cmplx.NaN(), cmplx.NaN()},
1032 n: 5, l: cmplx.Inf(), u: cmplx.Inf(),
1033 want: []complex128{cmplx.Inf(), cmplx.Inf(), cmplx.Inf(), cmplx.Inf(), cmplx.Inf()},
1037 want: []complex128{cmplx.Inf(), cmplx.NaN(), cmplx.NaN(), cmplx.NaN(), cmplx.NaN()},
1041 want: []complex128{cmplx.NaN(), cmplx.NaN(), cmplx.NaN(), cmplx.NaN(), cmplx.Inf()},
1045 want: []complex128{42, cmplx.Inf(), cmplx.Inf(), cmplx.Inf(), cmplx.Inf()},
1049 want: []complex128{42, cmplx.NaN(), cmplx.NaN(), cmplx.NaN(), cmplx.NaN()},
1053 want: []complex128{cmplx.Inf(), cmplx.Inf(), cmplx.Inf(), cmplx.Inf(), 42},
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/gonum.org/v1/gonum/num/quat/
H A Dtrig_test.go274 {q: Number{Imag: 1}, want: Number{Real: real(cmplx.Acos(1i)), Imag: imag(cmplx.Acos(1i))}},
275 {q: Number{Jmag: 1}, want: Number{Real: real(cmplx.Acos(1i)), Jmag: imag(cmplx.Acos(1i))}},
276 {q: Number{Kmag: 1}, want: Number{Real: real(cmplx.Acos(1i)), Kmag: imag(cmplx.Acos(1i))}},
297 {q: Number{Imag: 1}, want: Number{Real: real(cmplx.Acosh(1i)), Imag: imag(cmplx.Acosh(1i))}},
298 {q: Number{Jmag: 1}, want: Number{Real: real(cmplx.Acosh(1i)), Jmag: imag(cmplx.Acosh(1i))}},
299 {q: Number{Kmag: 1}, want: Number{Real: real(cmplx.Acosh(1i)), Kmag: imag(cmplx.Acosh(1i))}},
329 {q: Number{Imag: 0.5}, want: Number{Real: real(cmplx.Atan(0.5i)), Imag: imag(cmplx.Atan(0.5i))}},
330 {q: Number{Jmag: 0.5}, want: Number{Real: real(cmplx.Atan(0.5i)), Jmag: imag(cmplx.Atan(0.5i))}},
331 {q: Number{Kmag: 0.5}, want: Number{Real: real(cmplx.Atan(0.5i)), Kmag: imag(cmplx.Atan(0.5i))}},
352 {q: Number{Imag: 0.5}, want: Number{Real: real(cmplx.Atanh(0.5i)), Imag: imag(cmplx.Atanh(0.5i))}},
[all …]

12345678910>>...59