Displaying 3 results from an estimated 3 matches for "memberssxp".
Did you mean:
membership
2012 May 07
0
R CMD check, interfacing c++ linking errors
...multimap<double,treeNode,greater<double> >::iterator it_tM;
int l =LENGTH(membership);
//Rprintf("beleptunk");
int p = 0;
map<int,int> degrees;
for(int i=0;i < l;i++){
SEXP members = VECTOR_ELT(membership,i);
//Rprintf("%d\n",Nmembers);
SEXP membersSXP = VECTOR_ELT(members,0);
SEXP sizesxp = VECTOR_ELT(members,1);
double* sizevc = REAL(sizesxp);
double size = sizevc[0];
int Nmembers = LENGTH(membersSXP);
treeNode tmp_tN;
//Rprintf("the size of the module is: %f\n",size);
it_tM = treeMap.insert(make_pair(size,tmp_tN));
//Rp...
2012 May 08
0
R CMD check, c++ source linking errors
...multimap<double,treeNode,greater<double> >::iterator it_tM;
int l =LENGTH(membership);
//Rprintf("beleptunk");
int p = 0;
map<int,int> degrees;
for(int i=0;i < l;i++){
SEXP members = VECTOR_ELT(membership,i);
//Rprintf("%d\n",Nmembers);
SEXP membersSXP = VECTOR_ELT(members,0);
SEXP sizesxp = VECTOR_ELT(members,1);
double* sizevc = REAL(sizesxp);
double size = sizevc[0];
int Nmembers = LENGTH(membersSXP);
treeNode tmp_tN;
//Rprintf("the size of the module is: %f\n",size);
it_tM = treeMap.insert(make_pair(size,tmp_tN));
//Rp...
2012 May 08
1
R CMD check linking errors, when interfacing c++
...multimap<double,treeNode,greater<double> >::iterator it_tM;
int l =LENGTH(membership);
//Rprintf("beleptunk");
int p = 0;
map<int,int> degrees;
for(int i=0;i < l;i++){
SEXP members = VECTOR_ELT(membership,i);
//Rprintf("%d\n",Nmembers);
SEXP membersSXP = VECTOR_ELT(members,0);
SEXP sizesxp = VECTOR_ELT(members,1);
double* sizevc = REAL(sizesxp);
double size = sizevc[0];
int Nmembers = LENGTH(membersSXP);
treeNode tmp_tN;
//Rprintf("the size of the module is: %f\n",size);
it_tM = treeMap.insert(make_pair(size,tmp_tN));
//Rp...