My Project
Loading...
Searching...
No Matches
Macros | Functions
npolygon.cc File Reference
#include "kernel/mod2.h"
#include "polys/monomials/p_polys.h"
#include "polys/monomials/ring.h"
#include "kernel/spectrum/GMPrat.h"
#include "kernel/spectrum/kmatrix.h"
#include "kernel/spectrum/npolygon.h"
#include "kernel/structs.h"

Go to the source code of this file.

Macros

#define NPOLYGON_CC
 

Functions

int operator== (const linearForm &l1, const linearForm &l2)
 

Macro Definition Documentation

◆ NPOLYGON_CC

#define NPOLYGON_CC

Definition at line 8 of file npolygon.cc.

Function Documentation

◆ operator==()

int operator== ( const linearForm l1,
const linearForm l2 
)

Definition at line 172 of file npolygon.cc.

173{
174 if( l1.N!=l2.N )
175 return FALSE;
176 for( int i=l1.N-1; i >=0 ; i-- )
177 {
178 if( l1.c[i]!=l2.c[i] )
179 return FALSE;
180 }
181 return TRUE;
182}
#define TRUE
Definition: auxiliary.h:100
#define FALSE
Definition: auxiliary.h:96
int i
Definition: cfEzgcd.cc:132
Rational * c
Definition: npolygon.h:22