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...
 
 for (int i=0;i< R->ExpL_Size;i++) Print("%09lx "
 
 PrintLn ()
 
 Print ("v0:%9ld ", p_GetComp(p, R))
 

Variables

const ring R
 
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()

BEGIN_NAMESPACE ( ) const

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

◆ for()

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 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
const CanonicalForm CFMap CFMap int & both_non_zero
Definition: cfEzgcd.cc:51
int level() const
level() returns the level of CO.
int * degsf
Definition: cfEzgcd.cc:53

◆ Print()

Print ( "v0:%9ld "  ,
p_GetComp(p, R  
)

◆ PrintLn()

PrintLn ( )

Definition at line 310 of file reporter.cc.

311 {
312  PrintS("\n");
313 }
void PrintS(const char *s)
Definition: reporter.cc:284

Variable Documentation

◆ exp

p exp[i]

Definition at line 39 of file DebugPrint.cc.

◆ R

const ring R
Initial value:
{
Print("\nexp[0..%d]\n", R->ExpL_Size - 1)
const ring R
Definition: DebugPrint.cc:36
Print("v0:%9ld ", p_GetComp(p, R))

Definition at line 36 of file DebugPrint.cc.