https://github.com/janverschelde/PHCpack
Tip revision: 7463fcd239768b115638e7e4823ad17c931c9990 authored by janv@uic.edu on 24 December 2015, 21:01:13 UTC
update configuration of Sphinx documentation for release 2.4.07
update configuration of Sphinx documentation for release 2.4.07
Tip revision: 7463fcd
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;
}