[35aab3] | 1 | // emacs edit mode for this file is -*- C++ -*- |
---|
| 2 | /**************************************** |
---|
| 3 | * Computer Algebra System SINGULAR * |
---|
| 4 | ****************************************/ |
---|
[341696] | 5 | // $Id$ |
---|
[35aab3] | 6 | /* |
---|
| 7 | * ABSTRACT: convert data between Singular and factory |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | #ifndef INCL_SINGCONV_H |
---|
| 12 | #define INCL_SINGCONV_H |
---|
| 13 | |
---|
[599326] | 14 | #include <kernel/structs.h> |
---|
[661c214] | 15 | #include <kernel/longtrans.h> |
---|
[599326] | 16 | #include <kernel/ring.h> |
---|
[b1dfaf] | 17 | #ifdef HAVE_FACTORY |
---|
| 18 | # include <factory/factory.h> |
---|
| 19 | #endif /* HAVE_FACTORY */ |
---|
[35aab3] | 20 | |
---|
[ab33f6e] | 21 | poly convFactoryPSingP ( const CanonicalForm & f, const ring r=currRing ); |
---|
[64a88e] | 22 | CanonicalForm convSingPFactoryP( poly p, const ring r=currRing ); |
---|
[35aab3] | 23 | |
---|
[cf74cd6] | 24 | CanonicalForm convSingAPFactoryAP ( poly p , const Variable & a, const ring r ); |
---|
[aaf310] | 25 | poly convFactoryAPSingAP ( const CanonicalForm & f, const ring r ); |
---|
[46f6af6] | 26 | poly convFactoryAPSingAP_R ( const CanonicalForm & f, int par_start, int var_start ); |
---|
[35aab3] | 27 | |
---|
[46f6af6] | 28 | CanonicalForm convSingGFFactoryGF ( poly p ); |
---|
| 29 | poly convFactoryGFSingGF ( const CanonicalForm & f ); |
---|
[35aab3] | 30 | |
---|
[cf74cd6] | 31 | CanonicalForm convSingAFactoryA ( napoly p , const Variable & a, const ring r ); |
---|
[aaf310] | 32 | napoly convFactoryASingA ( const CanonicalForm & f, const ring r ); |
---|
[35aab3] | 33 | |
---|
[6620d75] | 34 | CanonicalForm convSingTrPFactoryP ( poly p, const ring r=currRing ); |
---|
| 35 | poly convFactoryPSingTrP ( const CanonicalForm & f, const ring r=currRing ); |
---|
[35aab3] | 36 | |
---|
[cf74cd6] | 37 | CanonicalForm convSingNFactoryN( number n, const ring r ); |
---|
[f2b6f0b] | 38 | number convFactoryNSingN( const CanonicalForm & n, const ring r); |
---|
[35aab3] | 39 | |
---|
[46f6af6] | 40 | |
---|
| 41 | // CanonicalForm convSingIFactoryI( int i);a <- by constructor of CanonicalForm |
---|
| 42 | int convFactoryISingI( const CanonicalForm & f); |
---|
[35aab3] | 43 | #endif /* INCL_SINGCONV_H */ |
---|