https://github.com/janverschelde/PHCpack
Tip revision: fa6da5f66dd0a2c5843939c9118759669a8117fe authored by janv@uic.edu on 31 July 2015, 21:14:37 UTC
added description of a session with phc -s and updated conf.py for version 2.3.99
added description of a session with phc -s and updated conf.py for version 2.3.99
Tip revision: fa6da5f
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;
}