Changeset 3edea1 in git for factory/canonicalform.h


Ignore:
Timestamp:
Feb 19, 2021, 9:18:42 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c862f03b61a6c0dba7a6e4eb197ceb7ac0304b53
Parents:
33dd62182b65166a5cf7662ec505fa7b3f4b17a3
Message:
cygwin port: shared lib libfactory
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/canonicalform.h

    r33dd62 r3edea1  
    7676 * @sa int_poly.h, variable.h, ffops.h, gfops.h, imm.h, int_int.h, int_rat.h
    7777**/
    78 class CanonicalForm
     78class FACTORY_PUBLIC CanonicalForm
    7979#ifdef HAVE_OMALLOC
    8080#ifndef XMEMORY_H
     
    179179    friend CF_NO_INLINE CanonicalForm operator - ( const CanonicalForm& );
    180180
    181     friend void divrem ( const CanonicalForm&, const CanonicalForm&, CanonicalForm&, CanonicalForm& );
     181    friend void FACTORY_PUBLIC divrem ( const CanonicalForm&, const CanonicalForm&, CanonicalForm&, CanonicalForm& );
    182182    friend bool divremt ( const CanonicalForm&, const CanonicalForm&, CanonicalForm&, CanonicalForm& );
    183183    friend bool tryDivremt ( const CanonicalForm&, const CanonicalForm&, CanonicalForm&, CanonicalForm&, const CanonicalForm&, bool& );
     
    233233CanonicalForm blcm ( const CanonicalForm & f, const CanonicalForm & g );
    234234
    235 CanonicalForm power ( const CanonicalForm & f, int n );
    236 
    237 CanonicalForm power ( const Variable & v, int n );
     235CanonicalForm FACTORY_PUBLIC power ( const CanonicalForm & f, int n );
     236
     237CanonicalForm FACTORY_PUBLIC power ( const Variable & v, int n );
    238238//}}}
    239239
    240240//{{{ function declarations from cf_gcd.cc
    241 CanonicalForm gcd ( const CanonicalForm&, const CanonicalForm& );
     241CanonicalForm FACTORY_PUBLIC gcd ( const CanonicalForm&, const CanonicalForm& );
    242242
    243243CanonicalForm gcd_poly ( const CanonicalForm & f, const CanonicalForm & g );
     
    259259CanonicalForm swapvar ( const CanonicalForm &, const Variable &, const Variable & );
    260260
    261 CanonicalForm replacevar ( const CanonicalForm &, const Variable &, const Variable & );
     261CanonicalForm FACTORY_PUBLIC replacevar ( const CanonicalForm &, const Variable &, const Variable & );
    262262
    263263int getNumVars( const CanonicalForm & f );
     
    369369
    370370//{{{ other function declarations
    371 void setCharacteristic( int c ); // -> Fp && Q
     371void FACTORY_PUBLIC setCharacteristic( int c ); // -> Fp && Q
    372372void setCharacteristic( int c, int n ); // -> PrimePower
    373373void setCharacteristic( int c, int n, char name ); // -> GF(q)
    374374
    375 int getCharacteristic();
     375int FACTORY_PUBLIC getCharacteristic();
    376376int getGFDegree();
    377377CanonicalForm getGFGenerator();
    378378
    379 void On( int );
    380 void Off( int );
    381 bool isOn( int );
     379void FACTORY_PUBLIC On( int );
     380void FACTORY_PUBLIC Off( int );
     381bool FACTORY_PUBLIC isOn( int );
    382382//}}}
    383383
Note: See TracChangeset for help on using the changeset viewer.