source: git/libfac/charset/alg_factor.h @ 0479e09

spielwiese
Last change on this file since 0479e09 was 0479e09, checked in by Hans Schönemann <hannes@…>, 27 years ago
This commit was generated by cvs2svn to compensate for changes in r703, which included commits to RCS files with non-trunk default branches. git-svn-id: file:///usr/local/Singular/svn/trunk@704 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.1.1.1 1997-09-11 10:58:22 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:
15class IntGenerator : public CFGenerator
16{
17private:
18    int current;
19public:
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
30CFFList newfactoras( const CanonicalForm & f, const CFList & as, int success);
31CFFList 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.