/dports/biology/bcftools/bcftools-1.14/ |
H A D | hclust.c | 73 if ( clust->nrmme >= clust->ndat*2 ) error("hclust fixme: %d vs %d\n",clust->nrmme,clust->ndat); in append_node() 74 clust->rmme[clust->nrmme++] = node; in append_node() 80 if ( node==clust->first ) clust->first = node->next; in remove_node() 81 if ( node==clust->last ) clust->last = node->prev; in remove_node() 135 for (i=0; i<clust->ndat; i++) append_node(clust,i); in hclust_init() 241 hts_expand(char*,clust->ndbg,clust->mdbg,clust->dbg); in hclust_explain() 242 clust->dbg[clust->ndbg-1] = beg; in hclust_explain() 277 clust->memb = (int*) realloc(clust->memb,sizeof(int)*clust->nmemb); in append_cluster() 278 clust->memb[clust->nmemb-1] = node->id; in append_cluster() 313 node_t **dat = clust->rmme + clust->ndat; in hclust_set_threshold() [all …]
|
H A D | hclust.h | 54 void hclust_destroy(hclust_t *clust); 64 cluster_t *hclust_create_list(hclust_t *clust, float min_inter_dist, float *max_intra_dist, int *nc… 65 void hclust_destroy_list(cluster_t *clust, int nclust); 72 char **hclust_explain(hclust_t *clust, int *nlines); 74 char *hclust_create_dot(hclust_t *clust, char **labels, float th);
|
/dports/biology/bio-mocha/bcftools-1.14/ |
H A D | hclust.c | 73 if ( clust->nrmme >= clust->ndat*2 ) error("hclust fixme: %d vs %d\n",clust->nrmme,clust->ndat); in append_node() 74 clust->rmme[clust->nrmme++] = node; in append_node() 80 if ( node==clust->first ) clust->first = node->next; in remove_node() 81 if ( node==clust->last ) clust->last = node->prev; in remove_node() 135 for (i=0; i<clust->ndat; i++) append_node(clust,i); in hclust_init() 241 hts_expand(char*,clust->ndbg,clust->mdbg,clust->dbg); in hclust_explain() 242 clust->dbg[clust->ndbg-1] = beg; in hclust_explain() 277 clust->memb = (int*) realloc(clust->memb,sizeof(int)*clust->nmemb); in append_cluster() 278 clust->memb[clust->nmemb-1] = node->id; in append_cluster() 313 node_t **dat = clust->rmme + clust->ndat; in hclust_set_threshold() [all …]
|
H A D | hclust.h | 54 void hclust_destroy(hclust_t *clust); 64 cluster_t *hclust_create_list(hclust_t *clust, float min_inter_dist, float *max_intra_dist, int *nc… 65 void hclust_destroy_list(cluster_t *clust, int nclust); 72 char **hclust_explain(hclust_t *clust, int *nlines); 74 char *hclust_create_dot(hclust_t *clust, char **labels, float th);
|
/dports/biology/py-pysam/pysam-0.18.0/bcftools/ |
H A D | hclust.c | 73 if ( clust->nrmme >= clust->ndat*2 ) error("hclust fixme: %d vs %d\n",clust->nrmme,clust->ndat); in append_node() 74 clust->rmme[clust->nrmme++] = node; in append_node() 80 if ( node==clust->first ) clust->first = node->next; in remove_node() 81 if ( node==clust->last ) clust->last = node->prev; in remove_node() 135 for (i=0; i<clust->ndat; i++) append_node(clust,i); in hclust_init() 241 hts_expand(char*,clust->ndbg,clust->mdbg,clust->dbg); in hclust_explain() 242 clust->dbg[clust->ndbg-1] = beg; in hclust_explain() 277 clust->memb = (int*) realloc(clust->memb,sizeof(int)*clust->nmemb); in append_cluster() 278 clust->memb[clust->nmemb-1] = node->id; in append_cluster() 313 node_t **dat = clust->rmme + clust->ndat; in hclust_set_threshold() [all …]
|
H A D | hclust.c.pysam.c | 75 if ( clust->nrmme >= clust->ndat*2 ) error("hclust fixme: %d vs %d\n",clust->nrmme,clust->ndat); in append_node() 76 clust->rmme[clust->nrmme++] = node; in append_node() 82 if ( node==clust->first ) clust->first = node->next; in remove_node() 83 if ( node==clust->last ) clust->last = node->prev; in remove_node() 137 for (i=0; i<clust->ndat; i++) append_node(clust,i); in hclust_init() 243 hts_expand(char*,clust->ndbg,clust->mdbg,clust->dbg); in hclust_explain() 244 clust->dbg[clust->ndbg-1] = beg; in hclust_explain() 279 clust->memb = (int*) realloc(clust->memb,sizeof(int)*clust->nmemb); in append_cluster() 280 clust->memb[clust->nmemb-1] = node->id; in append_cluster() 315 node_t **dat = clust->rmme + clust->ndat; in hclust_set_threshold() [all …]
|
H A D | hclust.h | 54 void hclust_destroy(hclust_t *clust); 64 cluster_t *hclust_create_list(hclust_t *clust, float min_inter_dist, float *max_intra_dist, int *nc… 65 void hclust_destroy_list(cluster_t *clust, int nclust); 72 char **hclust_explain(hclust_t *clust, int *nlines); 74 char *hclust_create_dot(hclust_t *clust, char **labels, float th);
|
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/cluster/tests/ |
H A D | test_optics.py | 102 clust = OPTICS( 108 clust = OPTICS( 119 clust = OPTICS( 132 clust = OPTICS( 160 clust.fit(X) 162 n_clusters_1 = len(set(clust.labels_)) - int(-1 in clust.labels_) 190 clust.fit(X) 204 clust.fit(X) 216 clust.fit(X) 329 cluster_sizes = np.bincount(clust.labels_[clust.labels_ != -1]) [all …]
|
/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | edt_clust.c | 116 jc = clust->j[icl]; in MCW_find_clusters() 117 kc = clust->k[icl]; in MCW_find_clusters() 142 ic = clust->i[icl]; in MCW_find_clusters() 143 jc = clust->j[icl]; in MCW_find_clusters() 144 kc = clust->k[icl]; in MCW_find_clusters() 230 ijk = THREE_TO_IJK (clust->i[icl], clust->j[icl], clust->k[icl], in MCW_cluster_to_vol() 240 ijk = THREE_TO_IJK (clust->i[icl], clust->j[icl], clust->k[icl], in MCW_cluster_to_vol() 250 ijk = THREE_TO_IJK (clust->i[icl], clust->j[icl], clust->k[icl], in MCW_cluster_to_vol() 287 ijk = THREE_TO_IJK (clust->i[icl], clust->j[icl], clust->k[icl], in MCW_vol_to_cluster() 297 ijk = THREE_TO_IJK (clust->i[icl], clust->j[icl], clust->k[icl], in MCW_vol_to_cluster() [all …]
|
H A D | edt_clust2.c | 19 MCW_cluster *clust , *mask=NULL ; in NIH_find_clusters() local 110 for( icl=0 ; icl < clust->num_pt ; icl++ ){ in NIH_find_clusters() 112 jc = clust->j[icl]; in NIH_find_clusters() 113 kc = clust->k[icl]; in NIH_find_clusters() 133 ic = clust->i[icl]; in NIH_find_clusters() 134 jc = clust->j[icl]; in NIH_find_clusters() 135 kc = clust->k[icl]; in NIH_find_clusters() 155 ic = clust->i[icl]; in NIH_find_clusters() 156 jc = clust->j[icl]; in NIH_find_clusters() 157 kc = clust->k[icl]; in NIH_find_clusters() [all …]
|
H A D | thd_avts.c | 15 MCW_cluster *clust ; in THD_average_timeseries() local 33 clust = clustar->clar[jj] ; in THD_average_timeseries() 34 if( clust == NULL || clust->num_pt == 0 ) continue ; in THD_average_timeseries() 35 npt = clust->num_pt ; in THD_average_timeseries() 38 ijk = THREE_TO_IJK(clust->i[kk],clust->j[kk],clust->k[kk],nx,nxy) ; in THD_average_timeseries() 57 MRI_IMAGE * THD_average_one_timeseries( MCW_cluster *clust , in THD_average_one_timeseries() argument 65 if( clust == NULL || !ISVALID_DSET(dset) ) RETURN(NULL) ; in THD_average_one_timeseries() 68 ADDTO_CLARR(clustar,clust) ; in THD_average_one_timeseries()
|
H A D | mri_clusterize.c | 330 MCW_cluster *clust ; 349 INIT_CLUSTER(clust) ; 358 ii = clust->i[icl] ; jj = clust->j[icl] ; kk = clust->k[icl] ; 369 ADDTO_CLARR(clust_arr,clust) ; 381 MCW_cluster *clust ; 400 INIT_CLUSTER(clust) ; 409 ii = clust->i[icl] ; jj = clust->j[icl] ; kk = clust->k[icl] ; 436 ADDTO_CLARR(clust_arr,clust) ; 448 MCW_cluster *clust ; 467 INIT_CLUSTER(clust) ; [all …]
|
H A D | mri_alphasim.c | 17 MCW_cluster *clust , *mask ; 59 ic = clust->i[icl] ; 60 jc = clust->j[icl] ; 61 kc = clust->k[icl] ; 76 if( clust->num_pt >= minsize ){ 78 iv->ar[nclu++] = clust->num_pt ; 100 MCW_cluster *clust , *mask ; in ALP_largest_clustersize() local 142 ic = clust->i[icl] ; in ALP_largest_clustersize() 143 jc = clust->j[icl] ; in ALP_largest_clustersize() 144 kc = clust->k[icl] ; in ALP_largest_clustersize() [all …]
|
/dports/science/py-scikit-learn/scikit-learn-1.0.2/examples/cluster/ |
H A D | plot_optics.py | 44 clust.fit(X) 47 reachability=clust.reachability_, 48 core_distances=clust.core_distances_, 49 ordering=clust.ordering_, 53 reachability=clust.reachability_, 54 core_distances=clust.core_distances_, 55 ordering=clust.ordering_, 60 reachability = clust.reachability_[clust.ordering_] 61 labels = clust.labels_[clust.ordering_] 85 Xk = X[clust.labels_ == klass] [all …]
|
/dports/sysutils/fatback/fatback-1.3/ |
H A D | cmd_chain.c | 36 unsigned long clust = 0; in cmd_chain() local 41 clust = clust ? clusts[clust].fat_entry : dent->cluster; in cmd_chain() 42 display(NORMAL, "%10lu", clust); in cmd_chain() 43 } while (clust >= 2 && in cmd_chain() 44 !clust_is_end(&clusts[clust]) && in cmd_chain() 45 !clust_is_bad(&clusts[clust])); in cmd_chain()
|
H A D | recovery.c | 53 unsigned long clust = 0, left; 107 clust = clust ? clusts[clust].fat_entry : cluster; 115 if ((clust > max_cluster) || (clust < 2)) { 122 if (ent && ent != clusts[clust].owner) { 123 if (clusts[clust].flags & CLUST_ACTIVE) { 141 read_data(buffer, clusts[clust].loc, bytes_per_clust); 143 display(NORMAL, error_reading, clusts[clust].loc); 157 clusts[clust].flags |= CLUST_RECOVERED; 160 !clust_is_end(&clusts[clust]) && 161 !clust_is_bad(&clusts[clust]) && [all …]
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libslic3r/SLA/ |
H A D | Clustering.hpp | 33 long cluster_centroid(const ClusterEl &clust, PointFn pointfn, DistFn df) in cluster_centroid() argument 35 switch(clust.size()) { in cluster_centroid() 53 std::vector<bool> sel(clust.size(), false); // create full zero bitmask in cluster_centroid() 55 std::vector<double> avgs(clust.size(), 0.0); // store the average distances in cluster_centroid() 59 for(size_t i = 0, j = 0; i < clust.size(); i++) in cluster_centroid() 62 double d = df(pointfn(clust[idx[0]]), in cluster_centroid() 63 pointfn(clust[idx[1]])); in cluster_centroid() 72 for(auto& a : avgs) a /= clust.size(); in cluster_centroid()
|
/dports/science/gromacs/gromacs-2021.4/src/gromacs/gmxana/ |
H A D | gmx_cluster.cpp | 325 return a.clust < b.clust; in clust_id_comp() 371 diff = c[d[k].j].clust - c[d[k].i].clust; in gather() 394 if (c[k].clust != c[k - 1].clust) in gather() 415 clust->cl[c[k].conf] = c[k].clust; in gather() 564 diff = c[j].clust - c[i].clust; in jarvis_patrick() 570 c[j].clust = c[i].clust; in jarvis_patrick() 574 c[i].clust = c[j].clust; in jarvis_patrick() 590 if (c[k].clust != c[k - 1].clust) in jarvis_patrick() 604 clust->cl[c[k].conf] = c[k].clust; in jarvis_patrick() 868 if (clust->cl[i] == clust->cl[j]) in mark_clusters() [all …]
|
/dports/math/octave-forge-statistics/statistics-1.4.3/inst/ |
H A D | evalclusters.m | 140 if (ischar (clust)) 141 clust = lower (clust); variable 145 elseif (! isscalar (clust)) 146 if ((! isnumeric (clust)) || (length (size (clust)) != 2) || ... 147 (rows (clust) != n)) 189 if (ischar (clust) || isa (clust, "function_handle")) 279 if (isempty (klist) && (ischar (clust) || isa (clust, "function_handle"))) 290 klist = 1 : columns (clust); 298 klist = 1 : columns (clust); 306 klist = 1 : columns (clust); [all …]
|
/dports/graphics/graphviz/graphviz-2.44.1/lib/dotgen/ |
H A D | cluster.c | 303 graph_t *clust; in mark_clusters() local 313 clust = GD_clust(g)[c]; in mark_clusters() 320 agdelete(clust,n); in mark_clusters() 324 ND_clust(n) = clust; in mark_clusters() 332 ND_clust(vn) = clust; in mark_clusters() 382 graph_t *clust; in install_cluster() local 384 clust = ND_clust(n); in install_cluster() 386 for (r = GD_minrank(clust); r <= GD_maxrank(clust); r++) in install_cluster() 388 for (r = GD_minrank(clust); r <= GD_maxrank(clust); r++) in install_cluster() 419 Agraph_t *clust; in mark_lowcluster_basic() local [all …]
|
/dports/science/py-rmf/rmf-1.3.1/test/ |
H A D | test_provenance.py | 27 clust = clustpf.get(clust_node) 28 clust.set_members(10) 29 clust.set_precision(2.0) 30 clust.set_density(os.path.abspath('foo.mrc')) 96 clust = clustpf.get(prov_root) 97 self.assertEqual(clust.get_members(), 10) 98 self.assertAlmostEqual(clust.get_precision(), 2.0, delta=1e-5) 103 clust = clustpf.get(clust_node) 104 self.assertEqual(clust.get_members(), 10) 105 self.assertAlmostEqual(clust.get_precision(), 0.0, delta=1e-5) [all …]
|
/dports/science/rmf/rmf-1.3.1/test/ |
H A D | test_provenance.py | 27 clust = clustpf.get(clust_node) 28 clust.set_members(10) 29 clust.set_precision(2.0) 30 clust.set_density(os.path.abspath('foo.mrc')) 96 clust = clustpf.get(prov_root) 97 self.assertEqual(clust.get_members(), 10) 98 self.assertAlmostEqual(clust.get_precision(), 2.0, delta=1e-5) 103 clust = clustpf.get(clust_node) 104 self.assertEqual(clust.get_members(), 10) 105 self.assertAlmostEqual(clust.get_precision(), 0.0, delta=1e-5) [all …]
|
/dports/sysutils/py-pytsk/pytsk3-20210419/sleuthkit/tsk/fs/ |
H A D | fatfs.c | 244 if (clust > fatfs->lastclust) { 246 if ((clust == fatfs->lastclust + 1) && 258 PRIuDADDR, clust); 264 if (clust & 0xf000) { 269 " too large", clust); 275 ((clust + (clust >> 1)) >> fatfs->ssize_sh); 288 (clust + (clust >> 1)) % fatfs->ssize; 314 offs = (clust + (clust >> 1)) % fatfs->ssize; 325 if (clust & 1) 357 ((clust << 1) % fatfs->ssize); [all …]
|
H A D | fatfs_meta.c | 93 TSK_DADDR_T clust = 0; 99 first_clust_addr_ptr[0] = clust; 103 while ((clust) && (0 == FATFS_ISEOF(clust, FATFS_32_MASK))) { 125 clust = nxt; 400 TSK_DADDR_T clust = 0; 458 (clust == 1)) { 519 data_run->addr = clust; 620 clust = startclust; 647 clust++; 680 clust++; [all …]
|
/dports/sysutils/sleuthkit/sleuthkit-4.7.0/tsk/fs/ |
H A D | fatfs.c | 244 if (clust > fatfs->lastclust) { in fatfs_getFAT() 246 if ((clust == fatfs->lastclust + 1) && in fatfs_getFAT() 258 PRIuDADDR, clust); in fatfs_getFAT() 264 if (clust & 0xf000) { in fatfs_getFAT() 269 " too large", clust); in fatfs_getFAT() 275 ((clust + (clust >> 1)) >> fatfs->ssize_sh); in fatfs_getFAT() 288 (clust + (clust >> 1)) % fatfs->ssize; in fatfs_getFAT() 314 offs = (clust + (clust >> 1)) % fatfs->ssize; in fatfs_getFAT() 325 if (clust & 1) in fatfs_getFAT() 357 ((clust << 1) % fatfs->ssize); in fatfs_getFAT() [all …]
|