https://github.com/janverschelde/PHCpack
Tip revision: 64e4b0bbbf1c7367ffc8ae1c10b3bd70bf4804b4 authored by Jan Verschelde on 02 September 2019, 02:01:57 UTC
prepared files for version 1.0.0 of phcpy
prepared files for version 1.0.0 of phcpy
Tip revision: 64e4b0b
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;
}