/dports/math/igraph/igraph-0.9.5/src/paths/ |
H A D | johnson.c | 77 igraph_vector_t edges, newweights; in igraph_shortest_paths_johnson() local 118 IGRAPH_VECTOR_INIT_FINALLY(&newweights, 0); in igraph_shortest_paths_johnson() 136 IGRAPH_CHECK(igraph_vector_reserve(&newweights, no_of_edges + no_of_nodes)); in igraph_shortest_paths_johnson() 137 igraph_vector_update(&newweights, weights); in igraph_shortest_paths_johnson() 138 igraph_vector_resize(&newweights, no_of_edges + no_of_nodes); in igraph_shortest_paths_johnson() 140 VECTOR(newweights)[i] = 0; in igraph_shortest_paths_johnson() local 148 igraph_vss_all(), &newweights, IGRAPH_OUT)); in igraph_shortest_paths_johnson() 157 igraph_vector_resize(&newweights, no_of_edges); in igraph_shortest_paths_johnson() 161 VECTOR(newweights)[i] += MATRIX(bfres, 0, ffrom) - MATRIX(bfres, 0, tto); in igraph_shortest_paths_johnson() local 166 to, &newweights, in igraph_shortest_paths_johnson() [all …]
|
/dports/biology/p5-Bio-NEXUS/Bio-NEXUS-0.78/lib/Bio/NEXUS/ |
H A D | WeightSet.pm | 138 my @newweights = (); 140 push @newweights, $weights[$i]; 142 $self->{'weights'} = \@newweights;
|
/dports/cad/opencascade/opencascade-7.6.0/src/Geom2d/ |
H A D | Geom2d_BezierCurve.cxx | 232 TColStd_Array1OfReal& newweights = nweights->ChangeArray1(); in InsertPoleAfter() local 236 newweights(i) = weights->Value(i); in InsertPoleAfter() 238 newweights(i) = 1.; in InsertPoleAfter() 240 newweights(Index+1) = Weight; in InsertPoleAfter() 244 newweights(i+1) = weights->Value(i); in InsertPoleAfter() 246 newweights(i+1) = 1.; in InsertPoleAfter() 306 TColStd_Array1OfReal& newweights = nweights->ChangeArray1(); in RemovePole() local 310 newweights(i) = oldweights(i); in RemovePole() 313 newweights(i-1) = oldweights(i); in RemovePole()
|
H A D | Geom2d_BSplineCurve.cxx | 522 newweights(i) = weights->Value(i); in InsertPoleAfter() 524 newweights(i) = 1.; in InsertPoleAfter() 526 newweights(Index+1) = Weight; in InsertPoleAfter() 530 newweights(i+1) = weights->Value(i); in InsertPoleAfter() 532 newweights(i+1) = 1.; in InsertPoleAfter() 603 newweights(i) = weights->Value(i); in RemovePole() 604 for (i = Index; i < newweights.Length(); i++) in RemovePole() 605 newweights(i) = weights->Value(i+1); in RemovePole() 941 TColStd_Array1OfReal & newweights = nweights->ChangeArray1(); in SetOrigin() local 948 newweights(k) = weights->Value(i); in SetOrigin() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/Geom/ |
H A D | Geom_BezierCurve.cxx | 238 TColStd_Array1OfReal& newweights = nweights->ChangeArray1(); in InsertPoleAfter() local 242 newweights(i) = weights->Value(i); in InsertPoleAfter() 244 newweights(i) = 1.; in InsertPoleAfter() 246 newweights(Index+1) = Weight; in InsertPoleAfter() 250 newweights(i+1) = weights->Value(i); in InsertPoleAfter() 252 newweights(i+1) = 1.; in InsertPoleAfter() 321 TColStd_Array1OfReal& newweights = nweights->ChangeArray1(); in RemovePole() local 325 newweights(i) = oldweights(i); in RemovePole() 328 newweights(i-1) = oldweights(i); in RemovePole()
|
H A D | Geom_BSplineSurface_1.cxx | 966 TColStd_Array2OfReal & newweights = nweights->ChangeArray2(); in SetUOrigin() local 974 newweights(k,j) = weights->Value(i,j); in SetUOrigin() 981 newweights(k,j) = weights->Value(i,j); in SetUOrigin() 1064 TColStd_Array2OfReal & newweights = nweights->ChangeArray2(); in SetVOrigin() local 1072 newweights(i,k) = weights->Value(i,j); in SetVOrigin() 1079 newweights(i,k) = weights->Value(i,j); in SetVOrigin()
|
H A D | Geom_BSplineCurve.cxx | 797 TColStd_Array1OfReal & newweights = nweights->ChangeArray1(); in SetOrigin() local 804 newweights(k) = weights->Value(i); in SetOrigin() 809 newweights(k) = weights->Value(i); in SetOrigin()
|
/dports/math/polymake/polymake-4.5/bundled/atint/apps/tropical/src/ |
H A D | recession_fan.cc | 72 Vector<Integer> newweights; in recession_fan() local 90 newweights |= weights[mc]; in recession_fan() 101 BigObject cplxify = make_complex<Addition>(newrays,rec_cones,newweights); in recession_fan()
|
H A D | coarsen.cc | 180 Vector<Integer> newweights; in coarsen() local 215 if (weights_exist) newweights |= weights[*(conesInClass.begin())]; in coarsen() 253 result.take("WEIGHTS") << newweights; in coarsen()
|
/dports/math/igraph/igraph-0.9.5/src/cliques/ |
H A D | glet.c | 328 igraph_vector_t *newweights = 0; in igraph_i_graphlets() local 359 &newgraphs, &newweights, &newids, in igraph_i_graphlets() 364 freedata.resultweights = newweights; in igraph_i_graphlets() 386 igraph_vector_t *w_sub = newweights + i; in igraph_i_graphlets() 599 igraph_vector_t edgelist, newweights, normfact; in igraph_i_graphlets_project() local 721 IGRAPH_CHECK(igraph_vector_init(&newweights, no_of_edges)); in igraph_i_graphlets_project() 722 IGRAPH_FINALLY(igraph_vector_destroy, &newweights); in igraph_i_graphlets_project() 727 VECTOR(newweights)[e] = 0.0001; in igraph_i_graphlets_project() local 730 VECTOR(newweights)[e] += VECTOR(*Mu)[clique]; in igraph_i_graphlets_project() local 739 sumratio += VECTOR(*weights)[edge] / VECTOR(newweights)[edge]; in igraph_i_graphlets_project() [all …]
|
/dports/math/R-cran-igraph/igraph/src/ |
H A D | glet.c | 326 igraph_vector_t *newweights = 0; in igraph_i_graphlets() local 357 &newgraphs, &newweights, &newids, in igraph_i_graphlets() 362 freedata.resultweights = newweights; in igraph_i_graphlets() 384 igraph_vector_t *w = newweights + i; in igraph_i_graphlets() 597 igraph_vector_t edgelist, newweights, normfact; in igraph_i_graphlets_project() local 719 IGRAPH_CHECK(igraph_vector_init(&newweights, no_of_edges)); in igraph_i_graphlets_project() 720 IGRAPH_FINALLY(igraph_vector_destroy, &newweights); in igraph_i_graphlets_project() 725 VECTOR(newweights)[e] = 0.0001; in igraph_i_graphlets_project() local 728 VECTOR(newweights)[e] += VECTOR(*Mu)[clique]; in igraph_i_graphlets_project() local 737 sumratio += VECTOR(*weights)[edge] / VECTOR(newweights)[edge]; in igraph_i_graphlets_project() [all …]
|
H A D | structural_properties.c | 5577 igraph_vector_t edges, newweights; in igraph_shortest_paths_johnson() local 5607 IGRAPH_VECTOR_INIT_FINALLY(&newweights, 0); in igraph_shortest_paths_johnson() 5625 IGRAPH_CHECK(igraph_vector_reserve(&newweights, no_of_edges + no_of_nodes)); in igraph_shortest_paths_johnson() 5626 igraph_vector_update(&newweights, weights); in igraph_shortest_paths_johnson() 5627 igraph_vector_resize(&newweights, no_of_edges + no_of_nodes); in igraph_shortest_paths_johnson() 5629 VECTOR(newweights)[i] = 0; in igraph_shortest_paths_johnson() local 5637 igraph_vss_all(), &newweights, IGRAPH_OUT)); in igraph_shortest_paths_johnson() 5646 igraph_vector_resize(&newweights, no_of_edges); in igraph_shortest_paths_johnson() 5650 VECTOR(newweights)[i] += MATRIX(bfres, 0, ffrom) - MATRIX(bfres, 0, tto); in igraph_shortest_paths_johnson() local 5655 to, &newweights, in igraph_shortest_paths_johnson() [all …]
|
/dports/textproc/stardict3/stardict-3.0.6/dict/src/lib/ |
H A D | ctype-uca.cpp | 7831 uint16 **newweights; in create_tailoring() local 7853 if (!(newweights= (uint16**) (*alloc)(256*sizeof(uint16*)))) in create_tailoring() 7855 bzero(newweights, 256*sizeof(uint16*)); in create_tailoring() 7889 if (!newweights[pagec]) in create_tailoring() 7894 if (!(newweights[pagec]= (uint16*) (*alloc)(size))) in create_tailoring() 7896 bzero((void*) newweights[pagec], size); in create_tailoring() 7900 memcpy(newweights[pagec] + chc*newlengths[pagec], in create_tailoring() 7912 memcpy(newweights[pagec] + chc*newlengths[pagec], in create_tailoring() 7922 if (!newweights[i]) in create_tailoring() 7923 newweights[i]= defweights[i]; in create_tailoring() [all …]
|
/dports/math/R-cran-lava/lava/R/ |
H A D | estimate.multigroup.R | 99 newweights <- as.matrix(x$data[[i]][,stweights]) functionVar 100 colnames(newweights) <- index(x$lvm[[i]])$endogenous[seq_len(ncol(newweights))] 101 weights <- c(weights, list(newweights)) 125 newweights <- list() 133 if (!is.null(res$weights)) newweights <- c(newweights,list(res$weights)) 141 if (!any(unlist(lapply(newweights,is.null)))) { 142 weights <- newweights
|
/dports/cad/opencascade/opencascade-7.6.0/src/Law/ |
H A D | Law_BSpline.cxx | 691 newweights(i) = weights->Value(i); 693 newweights(i) = 1.; 695 newweights(Index+1) = Weight; 699 newweights(i+1) = weights->Value(i); 701 newweights(i+1) = 1.; 786 newweights(i) = weights->Value(i); 787 for (i = Index; i < newweights.Length(); i++) 788 newweights(i) = weights->Value(i+1); 1105 TColStd_Array1OfReal & newweights = nweights->ChangeArray1(); in SetOrigin() local 1112 newweights(k) = weights->Value(i); in SetOrigin() [all …]
|
/dports/math/gismo/gismo-21.12.0/src/gsNurbs/ |
H A D | gsNurbsCreator.hpp | 93 gsMatrix<T> newweights(2*sz, 1), newcoefs( 2*sz, geo.geoDim() ) ; in lift3D() local 100 newweights.topRows(sz) = in lift3D() 101 newweights.bottomRows(sz) = geo.basis().weights(); in lift3D() 115 KV, give(newcoefs), give(newweights) )); in lift3D() 125 gsMatrix<T> newweights(2*sz, 1), newcoefs(2*sz, geo.geoDim()); in lift4D() local 132 newweights.topRows(sz) = in lift4D() 133 newweights.bottomRows(sz) = geo.basis().weights(); in lift4D() 148 KV, give(newcoefs), give(newweights) )); in lift4D()
|
/dports/math/polymake/polymake-4.5/bundled/atint/apps/tropical/include/ |
H A D | divisor.h | 184 std::vector<Integer> newweights; // Contains the new weights in divisorByValueMatrix() local 199 newweights.push_back( Integer(coweight) ); in divisorByValueMatrix() 221 weights = Vector<Integer>(newweights); in divisorByValueMatrix()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Tools/MayaExport/src/ |
H A D | mesh.cpp | 88 newweights.clear(); in load() 182 newweights.clear(); in load() 554 newweights.resize(mesh.numVertices()); in getVertices() 592 newweights[i]=vertexWeights; in getVertexBoneWeights() 608 newjointIds[i].setLength(newweights[i].length()); in getVertexBoneWeights() 742 newvertices[vtxIdx].vba.resize(newweights[vtxIdx].length()); in getFaces() 743 for (int j=0; j<newweights[vtxIdx].length(); j++) in getFaces() 745 newvertices[vtxIdx].vba[j] = (newweights[vtxIdx])[j]; in getFaces() 829 vtx.vba.resize(newweights[vtxIdx].length()); in getFaces() 830 for (int j=0; j<newweights[vtxIdx].length(); j++) in getFaces() [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/Tools/MayaExport/src/ |
H A D | mesh.cpp | 88 newweights.clear(); in load() 182 newweights.clear(); in load() 554 newweights.resize(mesh.numVertices()); in getVertices() 592 newweights[i]=vertexWeights; in getVertexBoneWeights() 608 newjointIds[i].setLength(newweights[i].length()); in getVertexBoneWeights() 742 newvertices[vtxIdx].vba.resize(newweights[vtxIdx].length()); in getFaces() 743 for (int j=0; j<newweights[vtxIdx].length(); j++) in getFaces() 745 newvertices[vtxIdx].vba[j] = (newweights[vtxIdx])[j]; in getFaces() 829 vtx.vba.resize(newweights[vtxIdx].length()); in getFaces() 830 for (int j=0; j<newweights[vtxIdx].length(); j++) in getFaces() [all …]
|
/dports/databases/mysql55-client/mysql-5.5.62/strings/ |
H A D | ctype-uca.c | 7930 uint16 **newweights; in create_tailoring() local 7955 if (!(newweights= (uint16**) (*alloc)(256*sizeof(uint16*)))) in create_tailoring() 7957 bzero(newweights, 256*sizeof(uint16*)); in create_tailoring() 7996 if (!newweights[pagec]) in create_tailoring() 8001 if (!(newweights[pagec]= (uint16*) (*alloc)(size))) in create_tailoring() 8003 bzero((void*) newweights[pagec], size); in create_tailoring() 8007 memcpy(newweights[pagec] + chc*newlengths[pagec], in create_tailoring() 8019 memcpy(newweights[pagec] + chc*newlengths[pagec], in create_tailoring() 8029 if (!newweights[i]) in create_tailoring() 8030 newweights[i]= defweights[i]; in create_tailoring() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Tools/MayaExport/include/ |
H A D | mesh.h | 121 std::vector<MFloatArray> newweights; variable
|
/dports/graphics/ogre3d/ogre-1.11.6/Tools/MayaExport/include/ |
H A D | mesh.h | 121 std::vector<MFloatArray> newweights; variable
|
/dports/games/xonotic/Xonotic/source/darkplaces/ |
H A D | model_alias.c | 220 if(!newweights->influence[1]) in Mod_Skeletal_AddBlend() 221 return newweights->index[0]; in Mod_Skeletal_AddBlend() 229 memcpy(weights, newweights, sizeof(blendweights_t)); in Mod_Skeletal_AddBlend() 237 blendweights_t newweights; in Mod_Skeletal_CompressBlend() local 247 newweights.index[i] = newindex[i]; in Mod_Skeletal_CompressBlend() 249 total += newweights.influence[i]; in Mod_Skeletal_CompressBlend() 255 if(newweights.influence[i] > 0 && total > 255) in Mod_Skeletal_CompressBlend() 257 newweights.influence[i]--; in Mod_Skeletal_CompressBlend() 266 if(newweights.influence[i] < 255 && total < 255) in Mod_Skeletal_CompressBlend() 268 newweights.influence[i]++; in Mod_Skeletal_CompressBlend() [all …]
|
/dports/games/darkplaces/darkplaces/ |
H A D | model_alias.c | 220 if(!newweights->influence[1]) in Mod_Skeletal_AddBlend() 221 return newweights->index[0]; in Mod_Skeletal_AddBlend() 229 memcpy(weights, newweights, sizeof(blendweights_t)); in Mod_Skeletal_AddBlend() 237 blendweights_t newweights; in Mod_Skeletal_CompressBlend() local 247 newweights.index[i] = newindex[i]; in Mod_Skeletal_CompressBlend() 249 total += newweights.influence[i]; in Mod_Skeletal_CompressBlend() 255 if(newweights.influence[i] > 0 && total > 255) in Mod_Skeletal_CompressBlend() 257 newweights.influence[i]--; in Mod_Skeletal_CompressBlend() 266 if(newweights.influence[i] < 255 && total < 255) in Mod_Skeletal_CompressBlend() 268 newweights.influence[i]++; in Mod_Skeletal_CompressBlend() [all …]
|