Home
last modified time | relevance | path

Searched refs:coe (Results 1 – 25 of 738) sorted by relevance

12345678910>>...30

/dports/science/multiwfn/gMultiwfn-3.4.1-0-14-ge873677/src/
H A Dedflib.f9087 call EDFLIB02(iz,nfun,alf,coe)
89 call EDFLIB10(iz,nfun,alf,coe)
91 call EDFLIB18(iz,nfun,alf,coe)
93 call EDFLIB28(iz,nfun,alf,coe)
95 call EDFLIB36(iz,nfun,alf,coe)
97 call EDFLIB46(iz,nfun,alf,coe)
99 call EDFLIB54(iz,nfun,alf,coe)
101 call EDFLIB60(iz,nfun,alf,coe)
103 call EDFLIB68(iz,nfun,alf,coe)
105 call EDFLIB78(iz,nfun,alf,coe)
[all …]
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/expression/operators/
H A DcompQuadFinBounds.cpp18 if (coe > 0) { in updateInf()
44 coe = el -> second, in computeQuadFiniteBound() local
52 else qMin += coe * ui; in computeQuadFiniteBound()
57 else qMax += coe * li; in computeQuadFiniteBound()
63 else qMin += coe * li; in computeQuadFiniteBound()
68 else qMax += coe * ui; in computeQuadFiniteBound()
84 coe = col -> second, in computeQuadFiniteBound() local
95 qMax += coe * tmin; in computeQuadFiniteBound()
101 qMin += coe * tmin; in computeQuadFiniteBound()
113 coe *= 2; in computeQuadFiniteBound()
[all …]
H A DexprQuad.cpp53 CouNumber coe = qel -> coeff (); in exprQuad() local
89 std::pair <exprVar *, CouNumber> newcell (varJ, coe); in exprQuad()
94 if (fabs (cell -> second += coe) < COUENNE_EPS) in exprQuad()
246 CouNumber coe = col -> second; in differentiate() local
258 if (fabs (i -> second += coe) < COUENNE_EPS) in differentiate()
261 std::pair <exprVar *, CouNumber> npair (var, coe); in differentiate()
292 lincoeff coe; in differentiate() local
297 return new exprGroup (c0, coe, arglist, nargs); in differentiate()
414 CouNumber coe = col -> second; in isInteger() local
417 intCoe = ::isInteger (coe), in isInteger()
[all …]
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/expression/operators/bounds/
H A DexprBQuad.cpp56 coe = el -> second, term = 0., in computeQBound() local
61 ((coe > 0.) && (sign > 0))) in computeQBound()
65 bound += coe * term; in computeQBound()
89 if (((coe > 0.) && (sign < 0)) || in computeQBound()
90 ((coe < 0.) && (sign > 0))) in computeQBound()
96 term *= coe; in computeQBound()
103 coe *= 2; in computeQBound()
108 b1 = coe * lbi * lbj, in computeQBound()
109 b2 = coe * lbi * ubj, in computeQBound()
110 b3 = coe * ubi * lbj, in computeQBound()
[all …]
/dports/java/jfreechart/jfreechart-1.0.17/source/org/jfree/data/statistics/
H A DRegression.java282 for(int coe = 0; coe < coefficients - 1; coe++){ in getPolynomialRegression()
283 matrix[eq][coe] += Math.pow(data[0][item],eq + coe); in getPolynomialRegression()
292 for (int coe = 1; coe < coefficients; coe++) { in getPolynomialRegression()
293 matrix[eq][coe] = subMatrix[eq - 1][coe - 1]; in getPolynomialRegression()
298 for (int coe = eq; coe < coefficients -1; coe++) { in getPolynomialRegression()
299 value -= matrix[eq][coe] * result[coe]; in getPolynomialRegression()
335 for (int coe = 1; coe < coefficients; coe++) { in calculateSubMatrix()
336 result[eq - 1][coe -1] = matrix[0][coe] - matrix[eq][coe] in calculateSubMatrix()
364 for (int coe = 1; coe < coefficients - 1; coe++) { in calculateSubMatrix()
365 result[eq][coe] = subMatrix[eq - 1][coe - 1]; in calculateSubMatrix()
/dports/math/clingo/clingo-5.5.1/libgringo/src/
H A Dterms.cc350 int coe = x.coe->toNum(undefined, log); in toGround() local
351 if (coe != 0) { in toGround()
388 , coe(std::move(coe)) { } in CSPMulTerm()
392 coe->collect(vars, false); in collect()
396 coe->collect(vars); in collect()
400 Term::replace(coe, coe->replace(x, true)); in replace()
403 if (var && x.var) { return is_value_equal_to(var, x.var) && is_value_equal_to(coe, x.coe); } in operator ==()
404 else { return !var && !x.var && is_value_equal_to(coe, x.coe); } in operator ==()
408 return !coe->simplify(state, false, false, log).update(coe, false).undefined(); in simplify()
412 Term::replace(coe, coe->rewriteArithmetics(arith, auxGen)); in rewriteArithmetics()
[all …]
/dports/math/creme/Creme-ab42f19/Creme/src/Base/
H A Dinit.h37 static __inline void calc_lhs_block (double *z, double *coe, double *x, int *pos, register int n) { in calc_lhs_block() argument
39 #pragma disjoint (*z, *coe, *x, *pos) in calc_lhs_block()
42 *z += coe [n] * x [pos [n]]; in calc_lhs_block()
49 static __inline void calc_lhs (double *z, int n, double *coe, double *x, int *pos) { in calc_lhs() argument
54 coe += CONCURRENT_FLOPS) in calc_lhs()
55 calc_lhs_block (z, coe, x, pos, CONCURRENT_FLOPS); in calc_lhs()
57 calc_lhs_block (z, coe, x, pos, n % CONCURRENT_FLOPS); in calc_lhs()
H A Dinit.c69 double **ic = lp -> ic, *coe; in init_sat() local
81 coe = * ic ++; in init_sat()
86 calc_lhs (&z, *il++, coe, x, pos); in init_sat()
91 z += *coe++ * x [*pos++]; in init_sat()
H A Dlocsrch.c187 double *coe; in locsrch() local
241 coe = *vc; in locsrch()
246 for (ncuts=k=cursat=0, j=*vl; j>0; j--, pos++, coe++) { in locsrch()
248 if (((th = b_Ax [*pos] / *coe + *x) > *lb + EPS) && (th < *ub - EPS)) { in locsrch()
252 if (*coe > EPS) {cuts -> sense = 'G'; if (*x > th + EPS) cursat ++;} in locsrch()
327 coe = lp -> vc [k]; in locsrch()
336 Delta = - step * *coe++; in locsrch()
H A Dlpio.c67 double coe; in read_problem() local
247 if ((bzgetdbl (bzf, &coe) == 1) && (*++filename)) { in read_problem()
277 bufd [pos_d] = coe; in read_problem()
282 if (coe > 1e-20) { in read_problem()
283 lhsmax += coe * ub [pos]; in read_problem()
284 lhsmin += coe * lb [pos]; in read_problem()
286 else if (coe < -1e-20) { in read_problem()
287 lhsmax += coe * lb [pos]; in read_problem()
288 lhsmin += coe * ub [pos]; in read_problem()
/dports/science/quantum-espresso/q-e-qe-6.7.0/CPV/src/
H A Dexx_module.f901527 coe(0) = -0.20000000000000D+01
1528 coe(1) = 0.10000000000000D+01
1532 coe(0) = -0.25000000000000D+01
1533 coe(1) = 0.13333333333333D+01
1534 coe(2) = -0.83333333333333D-01
1539 coe(0) = -0.27222222222222D+01
1540 coe(1) = 0.15000000000000D+01
1541 coe(2) = -0.15000000000000D+00
1542 coe(3) = 0.11111111111111D-01
1548 coe(0) = -0.28472222222222D+01
[all …]
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/bound_tightening/operators/
H A DimpliedBounds-exprQuad.cpp157 linCoeMin [ind] += coe; in impliedBound()
158 linCoeMax [ind] += coe; in impliedBound()
203 maxbUb *= maxbUb * coe; in impliedBound()
204 maxbLb *= maxbLb * coe; in impliedBound()
206 if (coe > 0) { in impliedBound()
215 coe *= 2; in impliedBound()
219 if (coe > 0) {b1 = l; b2 = u;} in impliedBound()
228 linCoeMin [qi] += coe * b1 [qj]; in impliedBound()
243 addLo *= coe; in impliedBound()
244 addUp *= coe; in impliedBound()
[all …]
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/bound_tightening/
H A DFixPointGenCuts.cpp155 *coe = A -> getElements (); in generateCuts() local
236 const double *coe = row.getElements (); in generateCuts() local
264 double coe [2] = {1., -1.}; in generateCuts() local
266 CoinPackedVector row (2, ind, coe); in generateCuts()
277 double coe [2] = {1., -1.}; in generateCuts() local
279 CoinPackedVector row (2, ind, coe); in generateCuts()
556 printf ("%+g x%d ", coe [i], indices [i]); in createRow()
571 CoinCopyN (coe, nEl, elem); in createRow()
589 if (((sign > 0) && (coe [k] > 0.)) || in createRow()
590 ((sign < 0) && (coe [k] < 0.))) in createRow()
[all …]
/dports/science/openmx/openmx3.8/source/
H A DXC_Ceperly_Alder.c30 double dum,rs,coe; in XC_Ceperly_Alder() local
44 coe = 0.6203504908994; /* pow(3.0/4.0/PI,1.0/3.0); */ in XC_Ceperly_Alder()
45 rs = coe*pow(den,-0.3333333333333333333); in XC_Ceperly_Alder()
75 result = -0.3333333333333333333/(coe*coe*coe)*rs*rs*rs*rs*(dEx + dEc); in XC_Ceperly_Alder()
H A DUnfolding_Bands.c82 double coe; in Unfolding_Bands_Col() local
199 coe=Cell_Volume/volume(a,b,c); in Unfolding_Bands_Col()
584 k1= coe*kpt0*(fracabc[1][1]*fracabc[2][2]-fracabc[1][2]*fracabc[2][1]) in Unfolding_Bands_Col()
585 -coe*kpt1*(fracabc[0][1]*fracabc[2][2]-fracabc[2][1]*fracabc[0][2]) in Unfolding_Bands_Col()
588 +coe*kpt1*(fracabc[0][0]*fracabc[2][2]-fracabc[2][0]*fracabc[0][2]) in Unfolding_Bands_Col()
591 -coe*kpt1*(fracabc[0][0]*fracabc[2][1]-fracabc[2][0]*fracabc[0][1]) in Unfolding_Bands_Col()
667 -coe*kpt1*(fracabc[0][1]*fracabc[2][2]-fracabc[2][1]*fracabc[0][2]) in Unfolding_Bands_Col()
670 +coe*kpt1*(fracabc[0][0]*fracabc[2][2]-fracabc[2][0]*fracabc[0][2]) in Unfolding_Bands_Col()
673 -coe*kpt1*(fracabc[0][0]*fracabc[2][1]-fracabc[2][0]*fracabc[0][1]) in Unfolding_Bands_Col()
1233 double coe; in Unfolding_Bands_NonCol() local
[all …]
H A Dexx_xc.c29 double dum,rs,coe; in EXX_XC_CA_withoutX()
43 coe = 0.6203504908994; /* pow(3.0/4.0/PI,1.0/3.0); */ in EXX_XC_CA_withoutX()
44 rs = coe*pow(den,-0.3333333333333333333); in EXX_XC_CA_withoutX()
95 double dum,rs,coe,tden,min_den; in EXX_XC_CA_LSDA()
125 coe = 0.6203504908994; /* pow(3.0/4.0/PI,1.0/3.0); */ in EXX_XC_CA_LSDA()
129 rs = coe*pow(tden,-0.3333333333333333333); in EXX_XC_CA_LSDA()
/dports/math/ngraph/Ngraph-6.3.54-src/src/
H A Dofit.c113 double coe[11]; member
232 vector b,x1,x2,coe; in fitpoly() local
282 if (matsolv(dim,m,b,coe)) return -2; in fitpoly()
284 for (i=0;i<dim;i++) derror-=coe[i]*b[i]; in fitpoly()
291 for (i=0;i<dim;i++) fitlocal->coe[i]=coe[i]; in fitpoly()
292 for (;i<10;i++) fitlocal->coe[i]=0; in fitpoly()
302 j+=sprintf(equation+j,"%.15e*X+%.15e",coe[1],coe[0]); in fitpoly()
303 } else if (type==1) sprintf(equation,"exp(%.15e)*X^%.15e",coe[0],coe[1]); in fitpoly()
304 else if (type==2) sprintf(equation,"exp(%.15e*X+%.15e)",coe[1],coe[0]); in fitpoly()
305 else if (type==3) sprintf(equation,"%.15e*Ln(X)+%.15e",coe[1],coe[0]); in fitpoly()
[all …]
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/standardize/
H A DCouenneLQelems.hpp60 void insert (int index, CouNumber coe) { in insert() argument
65 if (fabs (i -> second += coe) < COUENNE_EPS) in insert()
68 std::pair <int, CouNumber> npair (index, coe); in insert()
87 void insert (int indI, int indJ, CouNumber coe) { in insert() argument
93 if (fabs (i -> second += coe) < COUENNE_EPS) in insert()
96 std::pair <std::pair <int, int>, CouNumber> npair (nind, coe); in insert()
H A DflattenMul.cpp21 void CouenneProblem::flattenMul (expression *mul, CouNumber &coe, in flattenMul() argument
68 coe *= arg -> Value (); in flattenMul()
73 flattenMul (arg, coe, indices); in flattenMul()
88 coe = -coe; in flattenMul()
91 flattenMul (arg -> Argument (), coe, indices); in flattenMul()
128 flattenMul (arg, coe, indices); in flattenMul()
H A DdecomposeTerm.cpp110 CouNumber coe = initCoe; in decomposeTerm() local
113 flattenMul (term, coe, indices); in decomposeTerm()
116 printf ("from flattenmul: [%g] ", coe); in decomposeTerm()
129 c0 += coe; in decomposeTerm()
138 if (fabs (expon - 1) < COUENNE_EPS) lmap.insert (index, coe); in decomposeTerm()
139 else if (fabs (expon - 2) < COUENNE_EPS) qmap.insert (index, index, coe); in decomposeTerm()
147 lmap.insert (aux -> Index (), coe); in decomposeTerm()
173 qmap.insert (ind0, ind1, coe); in decomposeTerm()
195 lmap.insert (aux -> Index (), coe); in decomposeTerm()
/dports/misc/gpsim/gpsim-0.31.0/cli/
H A Dcmd_stimulus.cc278 void cmd_stimulus::stimulus(cmd_options_expr *coe) in stimulus() argument
288 if (!coe || !coe->expr) in stimulus()
291 Value *value = toValue(coe->expr); in stimulus()
293 switch(coe->co->value) in stimulus()
345 options_entered |= coe->co->value; in stimulus()
346 delete coe->expr; in stimulus()
H A Dcmd_trace.cc102 void cmd_trace::trace(cmd_options_expr *coe) in trace() argument
106 if(coe->expr) in trace()
107 dvalue = evaluate(coe->expr); in trace()
111 switch(coe->co->value) in trace()
/dports/graphics/bmeps/dktools-4.31.1/src/libdk4gra/
H A Ddk4grepi.c437 int coe, in dk4gra_eps_write_procedure() argument
499 switch (coe) { in dk4gra_eps_write_procedure()
612 if (DK4_GRA_COE_ASCII85 == coe) { in dk4gra_eps_write_procedure()
645 if (DK4_GRA_COE_ASCII85 != coe) { in dk4gra_eps_write_procedure()
803 int coe = DK4_GRA_COE_FLATE_ASCII85; in dk4gra_eps_bif_fig_image() local
979 coe = DK4_GRA_COE_LZW_ASCII85; in dk4gra_eps_bif_fig_image()
984 coe = DK4_GRA_COE_RUNLENGTH_ASCII85; in dk4gra_eps_bif_fig_image()
991 coe = FORCED_COE; in dk4gra_eps_bif_fig_image()
994 switch (coe) { in dk4gra_eps_bif_fig_image()
1052 coe, erp in dk4gra_eps_bif_fig_image()
[all …]
/dports/science/mbdyn/mbdyn-1.7.3/mbdyn/aero/
H A Daerodata.cc68 doublereal coe[3]; in Predict() local
90 __FC_DECL__(polcoe)(tt, aa, &order, coe); in Predict()
92 coe[2] = ((aa[2]-aa[0])/(tt[2]-tt[0]) in Predict()
94 coe[1] = (aa[1]-aa[0])/(tt[1]-tt[0]) - (tt[1]+tt[0])*coe[2]; in Predict()
97 coe[1] = aa[0] - tt[0]*coe[1] - tt[0]*tt[0]*coe[2]; in Predict()
104 << "coe[0:2]=" << coe[0] << "," << coe[1] << "," << coe[2] << std::endl; in Predict()
107 alf1 = coe[1]+2.*coe[2]*tt[2]; in Predict()
108 alf2 = 2.*coe[2]; in Predict()
/dports/sysutils/daemontools/admin/daemontools-0.76/src/
H A Dsupervise.c219 coe(selfpipe[0]); in main()
220 coe(selfpipe[1]); in main()
240 coe(fdlock); in main()
246 coe(fdcontrol); in main()
251 coe(fdcontrolwrite); in main()
260 coe(fdok); in main()

12345678910>>...30