https://github.com/janverschelde/PHCpack
Tip revision: 2c851a52ce9b3ce68c0e31f1a834ddb5fa3f9e01 authored by Jan Verschelde on 01 November 2020, 00:47:53 UTC
added mention to CAMPARY in the README files
added mention to CAMPARY in the README files
Tip revision: 2c851a5
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;
}