/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/CNRP/src/Common/ |
H A D | network.c | 40 int nv0, nv1; in create_net() local 106 verts[nv0].first = verts[nv0].last = adjlist; in create_net() 107 verts[nv0].degree++; in create_net() 112 verts[nv0].degree++; in create_net() 161 int nv0, nv1; in create_flow_net() local 253 if (nv0 < nv1){ in create_flow_net() 278 if (nv0 < nv1){ in create_flow_net() 294 net_edges->v0 = nv0 < nv1 ? nv0 : nv1; in create_flow_net() 295 net_edges->v1 = nv0 < nv1 ? nv1 : nv0; in create_flow_net() 297 verts[nv0].first = verts[nv0].last = adjlist; in create_flow_net() [all …]
|
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/VRP/src/Common/ |
H A D | network.c | 40 int nv0, nv1; in createnet() local 92 if (!verts[nv0].first){ in createnet() 93 verts[nv0].first = verts[nv0].last = adjlist; in createnet() 94 verts[nv0].degree++; in createnet() 98 verts[nv0].last = adjlist; in createnet() 99 verts[nv0].degree++; in createnet() 149 int nv0, nv1; in createnet2() local 218 verts[nv0].first = verts[nv0].last = adjlist; in createnet2() 219 verts[nv0].degree++; in createnet2() 223 verts[nv0].last = adjlist; in createnet2() [all …]
|
/dports/math/hpipm/hpipm-0.1.1/ipm_core/ |
H A D | x_core_qp_ipm.c | 43 int nv0 = nv; in MEMSIZE_CORE_QP_IPM() local 51 size += 3*nv0*sizeof(REAL); // v_bkp dv res_g in MEMSIZE_CORE_QP_IPM() 70 int nv0 = nv; in CREATE_CORE_QP_IPM() local 82 d_ptr += nv0; in CREATE_CORE_QP_IPM() 94 d_ptr += nv0; in CREATE_CORE_QP_IPM() 106 d_ptr += nv0; in CREATE_CORE_QP_IPM()
|
/dports/math/geogram/geogram-1.7.7/src/lib/geogram/mesh/ |
H A D | mesh_subdivision.cpp | 106 index_t nv0 = M.vertices.nb(); in mesh_split_triangles() local 142 index_t v12 = ctov[c1] + nv0; in mesh_split_triangles() 155 index_t v12 = ctov[M.facets.corners_begin(f) ] + nv0; in mesh_split_triangles() 195 index_t nv0 = M.vertices.nb(); in mesh_split_quads() local 234 cb->zero_vertex(ftov[f] + nv0); in mesh_split_quads() 241 index_t v12 = ctov[c1] + nv0; in mesh_split_quads() 243 cb->madd_vertex(ftov[f] + nv0, 1.0, v1); in mesh_split_quads() 250 cb->scale_vertex(ftov[f]+nv0, s); in mesh_split_quads() 262 index_t v1 = ctov[c0] + nv0; in mesh_split_quads() 264 index_t v3 = ctov[c1] + nv0; in mesh_split_quads() [all …]
|
/dports/science/py-ase/ase-3.22.0/ase/geometry/ |
H A D | geometry.py | 252 (v0, v1), (nv0, nv1) = conditional_find_mic([v0, v1], cell, pbc) 254 if (nv0 <= 0).any() or (nv1 <= 0).any(): 256 v0n = v0 / nv0[:, np.newaxis] 276 (v0, v1), (nv0, nv1) = conditional_find_mic([v0, v1], cell, pbc) 284 product = nv0 * nv1 286 - np.einsum('ij,i->ij', v0, cos_angles / nv0**2)) 334 (v0, v1, v2), (nv0, nv1, nv2) = conditional_find_mic([v0, v1, v2], cell, 337 v0 /= nv0[:, np.newaxis] 349 deriv_d0 = -normal_v01 / (nv0 * sin_psi01**2)[:, np.newaxis] # by atom 0 351 deriv_d1 = (((nv1 + nv0 * cos_psi01) / nv1)[:, np.newaxis] * -deriv_d0 [all …]
|
/dports/math/disco/DisCO-releases-1.0.0-33-g68720be/examples/VRP/ |
H A D | VrpNetwork.cpp | 49 int nv0, nv1, i; in createNet() local 91 nv0 = edges->v0 = edgeList[*indices]->getv0(); in createNet() 93 if (!verts_[nv0].first){ in createNet() 94 verts_[nv0].first = verts_[nv0].last = adjlist; in createNet() 95 verts_[nv0].degree++; in createNet() 98 verts_[nv0].last->next_edge = adjlist; in createNet() 99 verts_[nv0].last = adjlist; in createNet() 100 verts_[nv0].degree++; in createNet() 116 adjlist->other_end = nv0; in createNet() 117 adjlist->other = verts_ + nv0; in createNet()
|
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/CNRP/src/CutPool/ |
H A D | cnrp_cp.c | 535 int nv0 = 0, nv1 = 0; local 557 nv0 = edges[indices[i] << 1]; 560 nv0 = edges[(indices[i]-total_edgenum) << 1]; 563 for (edge_exists = FALSE, pedge = verts[nv0].first; pedge; 568 if (pedge->other_end == nv0){ 579 nv0 = edges[indices[i] << 1]; 583 if (!verts[nv0].first) 584 verts[nv0].first = adjlist; 586 adjlist->next = verts[nv0].first; 587 verts[nv0].first = adjlist; [all …]
|
/dports/math/R/R-4.1.2/src/library/base/R/ |
H A D | LAPACK.R | 36 nu0 <- nv0 <- np functionVar 41 nu0 <- n; nv0 <- p 56 if(nv && nv < nv0) res$vt <- res$vt[seq_len(min(p, nv)), , drop = FALSE]
|
/dports/math/libRmath/R-4.1.1/src/library/base/R/ |
H A D | LAPACK.R | 36 nu0 <- nv0 <- np functionVar 41 nu0 <- n; nv0 <- p 56 if(nv && nv < nv0) res$vt <- res$vt[seq_len(min(p, nv)), , drop = FALSE]
|
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/VRP/src/DrawGraph/ |
H A D | vrp_dg_functions.c | 329 int v0 = 0, v1 = tour[0], nv1, nv0; in display_part_tour() local 350 nv0 = v0>numroutes?v0-numroutes:0; in display_part_tour() 351 j = INDEX(nv0,nv1); in display_part_tour() 353 send_int_array(&nv0, 1); in display_part_tour() 359 nv0 = v0>numroutes?v0-numroutes:0; in display_part_tour() 360 j = INDEX(nv0,nv1); in display_part_tour() 362 send_int_array(&nv0, 1); in display_part_tour()
|
/dports/editors/ted/Ted-2.23/Ted/ |
H A D | tedRuler.c | 468 int nv0; in tedTopRulerSetValue() local 489 if ( nv0 < v0 && nv0 < trd->trdXmin ) in tedTopRulerSetValue() 492 { nv0= v0; } in tedTopRulerSetValue() 493 else{ nv0= trd->trdXmin; } in tedTopRulerSetValue() 495 nv1= nv0+ ( v1- v0 ); in tedTopRulerSetValue() 504 nv0= nv1- ( v1- v0 ); in tedTopRulerSetValue() 507 *(trd->trdV0Pointer)= nv0; in tedTopRulerSetValue() 511 if ( v0 < nv0 ) in tedTopRulerSetValue() 599 int nv0; in tedTopRulerDragItem() local 613 nv0= nv1= *(trd.trdV0Pointer); in tedTopRulerDragItem() [all …]
|
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/VRP/src/CutPool/ |
H A D | vrp_cp.c | 364 int nv0 = 0, nv1 = 0; in create_pool_net() local 379 nv0 = edges[indices[i] << 1]; in create_pool_net() 381 if (!verts[nv0].first) in create_pool_net() 382 verts[nv0].first = adjlist; in create_pool_net() 384 adjlist->next = verts[nv0].first; in create_pool_net() 385 verts[nv0].first = adjlist; in create_pool_net() 396 adjlist->other_end = nv0; in create_pool_net()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/acro/tpl/ampl/ |
H A D | fg_read.c | 88 #define nv0 S->_nv0 macro 885 ce = &cexps[j - nv0]; 1065 ce = cexps + k - nv0; 1088 *(zp += k - nv0) = 0; 1104 if (zci[i] >= nv0) 1332 nv = nv0; 1722 nv0b = nv0 + comb; 1724 nv01 = nv0 + ncom0; 1758 var_ex = e + nv0; 1958 Urhsx, cvar, nv0); [all …]
|
H A D | pfg_read.c | 1214 a = zl[a-nv0]; 1224 b = zl[b-nv0]; 1248 a -= nv0; 1298 if (ix < nv0) { 2051 i += nv0; 2052 j = k + nv0; 3479 r += i = nv0; 3482 i = nv0; 3854 ka = k + nv0; 4122 nv = nv0; [all …]
|
H A D | fgh_read.c | 866 if ((k = zci[i]) >= nv0) 887 ce = &cexps[j - nv0]; 1041 ce = cexps + k - nv0; 1304 nv = nv0; in zerograd_chk() 1619 nv0b = nv0 + comb; 1621 nv01 = nv0 + ncom0; 1644 memset(havex0, 0, nv0); 1646 var_ex = e + nv0; 1821 Urhsx, cvar, nv0); 1850 x = nv0*sizeof(real); [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/ampl/ |
H A D | fg_read.c | 88 #define nv0 S->_nv0 macro 885 ce = &cexps[j - nv0]; 1065 ce = cexps + k - nv0; 1088 *(zp += k - nv0) = 0; 1104 if (zci[i] >= nv0) 1332 nv = nv0; 1722 nv0b = nv0 + comb; 1724 nv01 = nv0 + ncom0; 1758 var_ex = e + nv0; 1958 Urhsx, cvar, nv0); [all …]
|
H A D | pfg_read.c | 1214 a = zl[a-nv0]; 1224 b = zl[b-nv0]; 1248 a -= nv0; 1298 if (ix < nv0) { 2051 i += nv0; 2052 j = k + nv0; 3479 r += i = nv0; 3482 i = nv0; 3854 ka = k + nv0; 4122 nv = nv0; [all …]
|
H A D | fgh_read.c | 866 if ((k = zci[i]) >= nv0) 887 ce = &cexps[j - nv0]; 1041 ce = cexps + k - nv0; 1304 nv = nv0; in zerograd_chk() 1619 nv0b = nv0 + comb; 1621 nv01 = nv0 + ncom0; 1644 memset(havex0, 0, nv0); 1646 var_ex = e + nv0; 1821 Urhsx, cvar, nv0); 1850 x = nv0*sizeof(real); [all …]
|
/dports/cad/ngspice_rework/ngspice-35/src/ciderlib/support/ |
H A D | mater.c | 36 info->nv0 = 0.0; in MATLdefaults() 89 info->nv0 = 0.0; in MATLdefaults() 142 info->nv0 = NCV_NOM * pow(M_P_GA, 1.5); in MATLdefaults() 223 if (info->nv0 > 0.0) { in MATLtempDep() 224 info->mass[HOLE] = pow(info->nv0 / NCV_NOM / tmp1, 2.0 / 3.0); in MATLtempDep() 229 info->nv0 = NCV_NOM * pow(info->mass[HOLE], 1.5) * tmp1; in MATLtempDep() 230 info->ni0 = sqrt(info->nc0) * sqrt(info->nv0) * in MATLtempDep() 233 + 0.5 * (info->eg0 + Vt * log(info->nc0 / info->nv0))) / VNorm; in MATLtempDep() 258 (CHARGE * info->nv0 * ENorm); in MATLtempDep() 332 fprintf(stdout, newformat, "Nv", info->nv0, "/cm^3"); in printMaterialInfo()
|
H A D | globals.c | 41 double nc0, nv0; /* conduction/valence band states */ in GLOBcomputeGlobals() local 54 nv0 = NCV_NOM * pow( mpSi, 1.5 ) * tmp1; in GLOBcomputeGlobals() 60 NNorm = sqrt( nc0 ) * sqrt( nv0 ); /* this way no overflow */ in GLOBcomputeGlobals()
|
/dports/math/R-cran-sf/sf/src/ |
H A D | gdal_write.cpp | 112 Rcpp::NumericVector nv0(1); in SetFields() local 113 nv0[0] = nv[i]; in SetFields() 114 nv0.attr("class") = "Date"; in SetFields() 117 Rcpp::NumericVector ret = unlist(as_POSIXlt_Date(nv0)); // use R in SetFields() 130 Rcpp::NumericVector nv0(1); in SetFields() local 131 nv0[0] = nv[i]; in SetFields() 132 nv0.attr("tzone") = "UTC"; in SetFields() 134 Rcpp::NumericVector rd = get_dbl6(as_POSIXlt_POSIXct(nv0)); // use R in SetFields()
|
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/CNRP/src/DrawGraph/ |
H A D | cnrp_dg_functions.c | 426 int v0 = 0, v1 = tour[0], nv1, nv0; in display_part_tour() local 447 nv0 = v0>numroutes?v0-numroutes:0; in display_part_tour() 448 j = INDEX(nv0,nv1); in display_part_tour() 450 send_int_array(&nv0, 1); in display_part_tour() 456 nv0 = v0>numroutes?v0-numroutes:0; in display_part_tour() 457 j = INDEX(nv0,nv1); in display_part_tour() 459 send_int_array(&nv0, 1); in display_part_tour()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/3d-viewer/3d_cache/sg/ |
H A D | sg_index.cpp | 191 int nv0 = 0; in writeCoordIndex() local 199 if( ++nv0 == 3 ) in writeCoordIndex() 203 nv0 = 0; in writeCoordIndex()
|
/dports/math/py-fpylll/fpylll-0.5.6/tests/ |
H A D | test_svp.py | 27 nv0 = sum([v_**2 for v_ in v0]) 29 assert nv0 == nv1
|
/dports/cad/ngspice_rework/ngspice-35/src/ciderlib/oned/ |
H A D | onefreez.c | 62 temp1 = info->gAcc * pNode->pConc * NNorm * exp(eLev) / info->nv0; in ONEQfreezeOut() 116 temp1 = info->gAcc * exp(eLev) * NNorm / info->nv0; in ONE_freezeOut()
|