Changeset 8838ab in git
- Timestamp:
- Jun 15, 1999, 10:34:18 AM (24 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- df4422b2fdaedca7c8e3cbd827167ed22d5024c7
- Parents:
- 3c8e50bcc6eb720109f4b83d71567c36d48d8ae1
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/clapconv.h
r3c8e50 r8838ab 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 // $Id: clapconv.h,v 1. 6 1998-12-16 18:43:35Singular Exp $5 // $Id: clapconv.h,v 1.7 1999-06-15 08:33:13 Singular Exp $ 6 6 /* 7 7 * ABSTRACT: convert data between Singular and factory … … 25 25 poly convClapAPSingAP ( const CanonicalForm & f ); 26 26 27 CanonicalForm convSingGFClapGF ( poly p , const Variable & a);27 CanonicalForm convSingGFClapGF ( poly p ); 28 28 poly convClapGFSingGF ( const CanonicalForm & f ); 29 29 -
Singular/clapsing.cc
r3c8e50 r8838ab 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 // $Id: clapsing.cc,v 1.5 1 1999-06-14 16:25:42Singular Exp $5 // $Id: clapsing.cc,v 1.52 1999-06-15 08:32:31 Singular Exp $ 6 6 /* 7 7 * ABSTRACT: interface between Singular and factory … … 683 683 } 684 684 } 685 #if 0 685 686 else if (rField_is_GF()) 686 687 { … … 697 698 } 698 699 } 700 #endif 699 701 // and over Q(a) / Fp(a) 700 702 else if (rField_is_Extension()) … … 775 777 if (rField_is_Zp() || rField_is_Q()) /* Q, Fp */ 776 778 res->m[j] = convClapPSingP( J.getItem().factor() ); 779 #if 0 777 780 else if (rField_is_GF()) 778 781 res->m[j] = convClapGFSingGF( J.getItem().factor() ); 782 #endif 779 783 else if (rField_is_Extension()) /* Q(a), Fp(a) */ 780 784 { -
Singular/extra.cc
r3c8e50 r8838ab 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.9 2 1999-06-09 11:53:42 mschulzeExp $ */4 /* $Id: extra.cc,v 1.93 1999-06-15 08:29:23 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 1000 1000 else 1001 1001 #endif 1002 /*==================== GF =================*/ 1003 #if 0 1004 if (strcmp(sys_cmd, "GF") == 0) 1005 { 1006 int c=rChar(currRing); 1007 setCharacteristic( c, 2); 1008 CanonicalForm F( convSingGFClapGF( (poly)h->Data() ) ); 1009 res->rtyp=POLY_CMD; 1010 res->data=convClapGFSingGF( F ); 1011 return FALSE; 1012 } 1013 else 1014 #endif 1002 1015 /*============================================================*/ 1003 1016 Werror( "system(\"%s\",...) %s", sys_cmd, feNotImplemented ); -
factory/singext.cc
r3c8e50 r8838ab 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: singext.cc,v 1. 2 1997-06-19 12:21:59 schmidtExp $ */2 /* $Id: singext.cc,v 1.3 1999-06-15 08:34:18 Singular Exp $ */ 3 3 4 4 #include <config.h> … … 54 54 } 55 55 56 int gf_value (const CanonicalForm & f ) 57 { 58 InternalCF * ff = f.getval(); 59 return ((int)ff) >>2; 60 } 61 56 62 CanonicalForm 57 63 make_cf ( const MP_INT & n ) … … 65 71 return CanonicalForm( CFFactory::rational( n, d, normalize ) ); 66 72 } 73 74 CanonicalForm make_cf_from_gf ( const int z ) 75 { 76 return CanonicalForm(int2imm_gf(z)); 77 } -
factory/singext.h
r3c8e50 r8838ab 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: singext.h,v 1. 5 1998-06-08 15:40:54 schmidtExp $ */2 /* $Id: singext.h,v 1.6 1999-06-15 08:34:02 Singular Exp $ */ 3 3 4 4 #ifndef INCL_SINGEXT_H … … 26 26 MP_INT gmp_denominator ( const CanonicalForm & f ); 27 27 28 int gf_value (const CanonicalForm & f ); 29 28 30 CanonicalForm make_cf ( const MP_INT & n ); 29 31 30 32 CanonicalForm make_cf ( const MP_INT & n, const MP_INT & d, bool normalize ); 31 33 34 CanonicalForm make_cf_from_gf ( const int z ); 35 32 36 /*ENDPUBLIC*/ 33 37
Note: See TracChangeset
for help on using the changeset viewer.