https://github.com/janverschelde/PHCpack
Tip revision: 1addd93cd272e8ec22e9922130d1d9c92e79c985 authored by Jan Verschelde on 30 November 2016, 21:42:26 UTC
type error fixed in the main makefile for test_lib
type error fixed in the main makefile for test_lib
Tip revision: 1addd93
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;
}