https://github.com/janverschelde/PHCpack
Tip revision: 6e8f04d9358f87fec2bd9f501e37f34645f0b2ff authored by janv@uic.edu on 01 May 2016, 01:55:44 UTC
added function to filter real solutions to the python2 version of phcpy, prepared version 0.4.4 of phcpy
added function to filter real solutions to the python2 version of phcpy, prepared version 0.4.4 of phcpy
Tip revision: 6e8f04d
ts_tree.c
#include <stdio.h>
#include "tree.h"
int main()
{
int m, p, q, sum;
printf("Give p, dimension of the solution planes :");
scanf("%d", &p);
printf("Give m, the co-dimension so that n = m+p :");
scanf("%d", &m);
printf("Give q, the degree of the maps :");
scanf("%d", &q);
if(q==0)
sum = Build_Bottom_Tree(m,p);
else
sum = Q_Build_Bottom_Tree(m,p,q);
printf("The number of roots : %d\n", sum);
return 0;
}