Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sylvain Jasson
amap
Commits
a3525d07
Commit
a3525d07
authored
Sep 29, 2007
by
Antoine Lucas
Browse files
plus besoin
parent
1ddd589d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/hclustpar.cpp
deleted
100644 → 0
View file @
1ddd589d
/** \file hclustpar.c
* \brief Parallelized version of hcluster (use distpar routine)
*
*
* \date Created : 14/11/02
* \date Last Modified : Time-stamp: <2005-10-09 14:30:37 antoine>
*
* \author Antoine Lucas.
*/
#include
<stdlib.h>
#include
<math.h>
#include
"mva.h"
#include
"hclustpar.h"
#include
"hclust_template.h"
src/hclustpar.h
deleted
100644 → 0
View file @
1ddd589d
extern
"C"
{
/** Paralelized hierarchical clustering
* \brief allocate distance matrix execute function R_distancepar, launch
* hclust on this distance matrix, and free memory of distance matrix.
* \param x: data nr x nc
* \param nr,nc number of row and columns
* \param membr: member, vector 1:nr
* \param method integer -> distance method
* \param diag integer: if we compute diagonal in distance matrix (usually no)
* \param iopt integer -> link used
* \param nbprocess nb of process for parallelization
* \param precision 1: float; 2: double
* \param ia, ib result (merge)
* \param iorder result (order)
* \param crit result (height)
* \param result flag 0 => correct
* 1 => Pb
* 2 => Cannot allocate memory
* 3 => Pb with distance matrix
*/
void
hclusterpar
(
double
*
x
,
int
*
nr
,
int
*
nc
,
int
*
diag
,
int
*
method
,
int
*
iopt
,
int
*
ia
,
int
*
ib
,
int
*
iorder
,
double
*
crit
,
double
*
membr
,
int
*
nbprocess
,
int
*
precision
,
int
*
result
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment