spielwiese
Last change
on this file since 2dd068 was
2dd068,
checked in by Rüdiger Stobbe <stobbe@…>, 27 years ago
|
Initial revision
git-svn-id: file:///usr/local/Singular/svn/trunk@6 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
979 bytes
|
Line | |
---|
1 | // emacs edit mode for this file is -*- C++ -*- |
---|
2 | // $Id: fac_util.h,v 1.0 1996-05-17 10:59:40 stobbe Exp $ |
---|
3 | |
---|
4 | #ifndef INCL_FAC_UTIL_H |
---|
5 | #define INCL_FAC_UTIL_H |
---|
6 | |
---|
7 | /* |
---|
8 | $Log: not supported by cvs2svn $ |
---|
9 | */ |
---|
10 | |
---|
11 | #include "canonicalform.h" |
---|
12 | |
---|
13 | /*BEGINPUBLIC*/ |
---|
14 | |
---|
15 | class modpk |
---|
16 | { |
---|
17 | private: |
---|
18 | CanonicalForm pk; |
---|
19 | CanonicalForm pkhalf; |
---|
20 | int p; |
---|
21 | int k; |
---|
22 | public: |
---|
23 | modpk(); |
---|
24 | modpk( int q, int l ); |
---|
25 | modpk( const modpk & m ); |
---|
26 | modpk& operator= ( const modpk& m ); |
---|
27 | ~modpk() {} |
---|
28 | int getp() const { return p; } |
---|
29 | int getk() const { return k; } |
---|
30 | CanonicalForm inverse( const CanonicalForm & f, bool symmetric = true ) const; |
---|
31 | CanonicalForm getpk() const { return pk; } |
---|
32 | CanonicalForm operator() ( const CanonicalForm & f, bool symmetric = true ) const; |
---|
33 | }; |
---|
34 | |
---|
35 | |
---|
36 | CanonicalForm replaceLc( const CanonicalForm & f, const CanonicalForm & c ); |
---|
37 | |
---|
38 | CanonicalForm remainder( const CanonicalForm & f, const CanonicalForm & g, const modpk & pk ); |
---|
39 | |
---|
40 | /*ENDPUBLIC*/ |
---|
41 | |
---|
42 | #endif /* INCL_FAC_UTIL_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.