source: git/kernel/ncSACache.cc @ 408150

fieker-DuValspielwiese
Last change on this file since 408150 was 1495df4, checked in by Motsak Oleksandr <motsak@…>, 16 years ago
*motsak: special multiplication git-svn-id: file:///usr/local/Singular/svn/trunk@10868 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.1 KB
Line 
1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
4/***************************************************************
5 *  File:    ncSACache.cc
6 *  Purpose: implementation of special Cache+Hash for Multiplier
7 *  Author:  motsak
8 *  Created:
9 *  Version: $Id: ncSACache.cc,v 1.2 2008-07-15 16:27:58 motsak Exp $
10 *******************************************************************/
11
12
13#define MYTEST 1
14#define OUTPUT 1
15
16#if MYTEST
17#define OM_CHECK 4
18#define OM_TRACK 5
19#endif
20
21#include "mod2.h"
22
23#include <ncSACache.h> // for CCacheHash etc classes
24
25#include <ring.h>
26#include <p_polys.h>
27
28
29
30void CGlobalCacheHash::History(const CGlobalCacheHash::CExponent a, const CGlobalCacheHash::CExponent b, const EHistoryType t)
31{
32  Print("History: GlobalPair!");
33  PrintS("Left : "); p_Write(a, GetBasering());
34  PrintS("Right: "); p_Write(b, GetBasering());   
35}
36
37
38void CSpecialPairCacheHash::History(const CSpecialPairCacheHash::CExponent a, const CSpecialPairCacheHash::CExponent b, const EHistoryType t)
39{
40  Print("SpecialPair!\n");
41  Print("Left : %d, Right: %d\n", a, b);
42}
Note: See TracBrowser for help on using the repository browser.