Functions | Variables
DebugPrint.cc File Reference

Here we implement dPrint-s. More...

#include <kernel/mod2.h>
#include "DebugPrint.h"
#include <omalloc/omalloc.h>
#include <polys/monomials/p_polys.h>
#include <kernel/ideals.h>

Go to the source code of this file.

Functions

 BEGIN_NAMESPACE () static inline void m_DebugPrint(const poly p
 debug-print monomial poly/vector p, assuming that it lives in the ring R More...
 
const ring R Print ("\nexp[0..%d]\n", R->ExpL_Size-1)
 
 for (int i=0;i< R->ExpL_Size;i++) Print("%09lx "
 
 PrintLn ()
 
 Print ("v0:%9ld ", p_GetComp(p, R))
 

Variables

p exp [i]
 

Detailed Description

Here we implement dPrint-s.

ABSTRACT: debug-detailed-printing

Author
Oleksandr Motsak

Definition in file DebugPrint.cc.

Function Documentation

BEGIN_NAMESPACE ( ) const

debug-print monomial poly/vector p, assuming that it lives in the ring R

for ( int  i = 0; i < R->ExpL_Size; i++)

Definition at line 66 of file cfEzgcd.cc.

67  {
68  if (degsf[i] != 0 && degsg[i] != 0)
69  {
70  both_non_zero++;
71  continue;
72  }
73  if (degsf[i] == 0 && degsg[i] != 0 && i <= G.level())
74  {
75  f_zero++;
76  continue;
77  }
78  if (degsg[i] == 0 && degsf[i] && i <= F.level())
79  {
80  g_zero++;
81  continue;
82  }
83  }
int * degsg
Definition: cfEzgcd.cc:54
int level() const
level() returns the level of CO.
int i
Definition: cfEzgcd.cc:123
const CanonicalForm & G
Definition: cfEzgcd.cc:49
int f_zero
Definition: cfEzgcd.cc:63
int g_zero
Definition: cfEzgcd.cc:64
both_non_zero
Definition: cfEzgcd.cc:62
int * degsf
Definition: cfEzgcd.cc:53
const ring R Print ( "\nexp\n"  [0..%d],
R->ExpL_Size-  1 
)
Print ( "v0:%9ld "  ,
p_GetComp(p, R  
)
PrintLn ( )

Definition at line 322 of file reporter.cc.

323 {
324  PrintS("\n");
325 }
void PrintS(const char *s)
Definition: reporter.cc:294

Variable Documentation

p exp[i]

Definition at line 39 of file DebugPrint.cc.