source: git/dyn_modules/syzextra/DebugPrint.h @ 0838d7

spielwiese
Last change on this file since 0838d7 was 6ce030f, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
removal of the $Id$ svn tag from everywhere NOTE: the git SHA1 may be used instead (only on special places) NOTE: the libraries Singular/LIB/*.lib still contain the marker due to our current use of svn
  • Property mode set to 100644
File size: 1.3 KB
Line 
1// -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2/*****************************************************************************\
3 * Computer Algebra System SINGULAR   
4\*****************************************************************************/
5/** @file DebugPrint.h
6 *
7 * Detailed print for debugging
8 *
9 * ABSTRACT: dPrint outputs as much info as possible
10 *
11 * @author Oleksandr Motsak
12 *
13 *
14 **/
15/*****************************************************************************/
16
17#ifndef DEBUGPRINT_H
18#define DEBUGPRINT_H
19
20// include basic definitions
21#include "singularxx_defs.h"
22#include <kernel/polys.h>
23
24BEGIN_NAMESPACE_SINGULARXX    BEGIN_NAMESPACE(DEBUG)
25
26
27
28/// debug-print at most nTerms (2 by default) terms from poly/vector p,
29/// assuming that lt(p) lives in lmRing and tail(p) lives in tailRing.
30void dPrint(const poly p, const ring lmRing = currRing, const ring tailRing = currRing, const int nTerms = 2);
31
32/// prints an ideal, optionally with details
33void dPrint(const ideal id, const ring lmRing = currRing, const ring tailRing = currRing, const int nTerms = 0);
34
35END_NAMESPACE               END_NAMESPACE_SINGULARXX
36
37#endif
38/* #ifndef DEBUGPRINT_H */
39
40// Vi-modeline: vim: filetype=c:syntax:shiftwidth=2:tabstop=8:textwidth=0:expandtab
41
Note: See TracBrowser for help on using the repository browser.