Blame view

fz/examples/aust-paccs.c 1.11 KB
51e810c0   Salvador Abreu   give usage exampl...
1
2
#include "paccs.h"

a5ffa1f0   Salvador Abreu   does basic covera...
3
int main(int argc, char *argv[])
51e810c0   Salvador Abreu   give usage exampl...
4
5
{
  int i, j;
a5ffa1f0   Salvador Abreu   does basic covera...
6

ec6f4ebc   Salvador Abreu   Include fz/exampl...
7
8
  fd_int t = fd_new(1, 3);
  fd_int v = fd_new(1, 3);
51e810c0   Salvador Abreu   give usage exampl...
9
10
11
12
13
14
15
16
17
  fd_int nsw = fd_new(1, 3);
  fd_int q = fd_new(1, 3);
  fd_int sa = fd_new(1, 3);
  fd_int nt = fd_new(1, 3);
  fd_int wa = fd_new(1, 3);
  int X_INTRODUCED_0[2] = { 1, -1 };

  fd_int va_1[2] = { nsw, v }; fd_poly_ne_k(X_INTRODUCED_0, va_1, 2, 0);
  fd_int va_2[2] = { q, nsw }; fd_poly_ne_k(X_INTRODUCED_0, va_2, 2, 0);
a5ffa1f0   Salvador Abreu   does basic covera...
18
19
20
21
22
23
24
25
26
27
28
  fd_int va_3[2] = { sa, v }; fd_poly_ne_k(X_INTRODUCED_0, va_3, 2, 0);
  fd_int va_4[2] = { sa, nsw }; fd_poly_ne_k(X_INTRODUCED_0, va_4, 2, 0);
  fd_int va_5[2] = { sa, q }; fd_poly_ne_k(X_INTRODUCED_0, va_5, 2, 0);
  fd_int va_6[2] = { nt, q }; fd_poly_ne_k(X_INTRODUCED_0, va_6, 2, 0);
  fd_int va_7[2] = { nt, sa }; fd_poly_ne_k(X_INTRODUCED_0, va_7, 2, 0);
  fd_int va_8[2] = { wa, sa }; fd_poly_ne_k(X_INTRODUCED_0, va_8, 2, 0);
  fd_int va_9[2] = { wa, nt }; fd_poly_ne_k(X_INTRODUCED_0, va_9, 2, 0);


  if (fd_solve()) {
    fd_println(t);
51e810c0   Salvador Abreu   give usage exampl...
29
30
31
32
33
34
35
36
37
    fd_println(v);
    fd_println(nsw);
    fd_println(q);
    fd_println(sa);
    fd_println(nt);
    fd_println(wa);
  }
  fd_end();
}
a5ffa1f0   Salvador Abreu   does basic covera...

51e810c0   Salvador Abreu   give usage exampl...