https://github.com/janverschelde/PHCpack
Raw File
Tip revision: 7f0b9fe867d81df9c3151809a7e7bb531a15cdd9 authored by Jan Verschelde on 12 November 2018, 01:23:18 UTC
package renaming changes were not committed for the complex series norms
Tip revision: 7f0b9fe
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;
}
back to top