Changeset 77aa42 in git for factory/canonicalform.h


Ignore:
Timestamp:
Jan 22, 1998, 11:56:22 AM (26 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
5f6df6f34dfdbe021b6854f9f20fa223f27dc78d
Parents:
05d0b37ce4c169ece2138d4d69b2e13b305468bb
Message:
	* canonicalform.h (mvar): bug fix.  Declared as `Variable mvar
	  (...)'.

	* canonicalform.cc (bgcd, bextgcd): new functions.  Declarations
	  added.

	* cf_algorithm.h (divides): declaration moved from canonicalform.h
	  to cf_algorithm.h


git-svn-id: file:///usr/local/Singular/svn/trunk@1044 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/canonicalform.h

    r05d0b3 r77aa42  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: canonicalform.h,v 1.19 1997-12-17 08:57:49 schmidt Exp $ */
     2/* $Id: canonicalform.h,v 1.20 1998-01-22 10:56:22 schmidt Exp $ */
    33
    44#ifndef INCL_CANONICALFORM_H
     
    140140    friend bool divremt ( const CanonicalForm&, const CanonicalForm&, CanonicalForm&, CanonicalForm& );
    141141
     142    friend CanonicalForm bgcd ( const CanonicalForm &, const CanonicalForm & );
     143    friend CanonicalForm bextgcd ( const CanonicalForm &, const CanonicalForm &, CanonicalForm &, CanonicalForm & );
     144
     145    // input/output
    142146#ifndef NOSTREAMIO
    143147    void print( ostream&, char * ) const;
     
    155159//}}}
    156160
    157 // some useful functions
    158 
    159161//{{{ function declarations from canonicalform.cc
    160162CanonicalForm power ( const CanonicalForm & f, int n );
    161163
    162164CanonicalForm power ( const Variable & v, int n );
    163 
    164 bool divides ( const CanonicalForm & f, const CanonicalForm & g );
    165165//}}}
    166166
     
    243243level ( const CanonicalForm & f ) { return f.level(); }
    244244
    245 inline CanonicalForm
     245inline Variable
    246246mvar ( const CanonicalForm & f ) { return f.mvar(); }
    247247
Note: See TracChangeset for help on using the changeset viewer.