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