spielwiese
Last change
on this file since 0fbdd1 was
4a81ec,
checked in by Hans Schönemann <hannes@…>, 26 years ago
|
* hannes/michael: libfac-0.3.0
git-svn-id: file:///usr/local/Singular/svn/trunk@708 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | /* Copyright 1996 Michael Messollen. All rights reserved. */ |
---|
2 | //////////////////////////////////////////////////////////// |
---|
3 | // emacs edit mode for this file is -*- C++ -*- |
---|
4 | //////////////////////////////////////////////////////////// |
---|
5 | // $Id: alg_factor.h,v 1.2 1997-09-12 07:19:37 Singular Exp $ |
---|
6 | //////////////////////////////////////////////////////////// |
---|
7 | |
---|
8 | #ifndef INCL_NEW_ALGFACTOR_H |
---|
9 | #define INCL_NEW_ALGFACTOR_H |
---|
10 | |
---|
11 | #include <factory.h> |
---|
12 | #include <tmpl_inst.h> // for typedef's |
---|
13 | |
---|
14 | // missing class: IntGenerator: |
---|
15 | class IntGenerator : public CFGenerator |
---|
16 | { |
---|
17 | private: |
---|
18 | int current; |
---|
19 | public: |
---|
20 | IntGenerator() : current(0) {} |
---|
21 | ~IntGenerator() {} |
---|
22 | bool hasItems() const; |
---|
23 | void reset() { current = 0; } |
---|
24 | CanonicalForm item() const; |
---|
25 | void next(); |
---|
26 | void operator++ () { next(); } |
---|
27 | void operator++ ( int ) { next(); } |
---|
28 | }; |
---|
29 | |
---|
30 | CFFList newfactoras( const CanonicalForm & f, const CFList & as, int success); |
---|
31 | CFFList newcfactor(const CanonicalForm & f, const CFList & as, int success ); |
---|
32 | /*BEGINPUBLIC*/ |
---|
33 | /*ENDPUBLIC*/ |
---|
34 | |
---|
35 | #endif /* INCL_ALGFACTOR_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.