Changeset 97f004 in git
- Timestamp:
- May 19, 1998, 11:48:51 AM (25 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 6ab5b1ea6008656f2868d8ce72434f8a16df99bd
- Parents:
- 480cefb0e97369b8fa992141df1c4d2076bef283
- Location:
- Singular
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/fglmcomb.cc
r480cef r97f004 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmcomb.cc,v 1.1 0 1998-05-15 14:31:20 wichmannExp $2 // $Id: fglmcomb.cc,v 1.11 1998-05-19 09:46:46 pohl Exp $ 3 3 4 4 /**************************************** … … 260 260 } 261 261 nf[k]= current; 262 #ifdef __ MWERKS__262 #ifdef __NO_CONSTR__ 263 263 mv[k].mac_constr( currV ); 264 264 #else … … 271 271 STICKYPROT( "." ); 272 272 273 #ifdef __ MWERKS__273 #ifdef __NO_CONSTR__ 274 274 v[k].mac_constr_i( basisSize ); 275 275 #else … … 472 472 STICKYPROT2( "(%i)", basisSize ); 473 473 for ( k= 0; k < numMonoms; k++ ) { 474 #ifdef __ MWERKS__474 #ifdef __NO_CONSTR__ 475 475 v[k].mac_constr_i( basisSize ); 476 476 #else -
Singular/fglmgauss.cc
r480cef r97f004 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmgauss.cc,v 1. 6 1998-04-08 12:12:43 pohl Exp $2 // $Id: fglmgauss.cc,v 1.7 1998-05-19 09:47:43 pohl Exp $ 3 3 4 4 /**************************************** … … 32 32 newfac= NULL; 33 33 } 34 #ifdef __ MWERKS__34 #ifdef __NO_CONSTR__ 35 35 void mac_gaussElem( const fglmVector newv, const fglmVector newp, number & newpdenom, number & newfac ) 36 36 { … … 170 170 171 171 pivot= nCopy( v.getconstelem( pivotcol ) ); 172 #ifdef __ MWERKS__172 #ifdef __NO_CONSTR__ 173 173 elems[size].mac_gaussElem( v, p, pdenom, pivot ); 174 174 #else -
Singular/fglmvec.cc
r480cef r97f004 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmvec.cc,v 1. 7 1998-04-08 12:13:21pohl Exp $2 // $Id: fglmvec.cc,v 1.8 1998-05-19 09:45:02 pohl Exp $ 3 3 4 4 /**************************************** … … 143 143 delete rep; 144 144 } 145 #ifdef __ MWERKS__145 #ifdef __NO_CONSTR__ 146 146 void 147 147 fglmVector::mac_constr( const fglmVector & v) -
Singular/fglmvec.h
r480cef r97f004 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmvec.h,v 1. 5 1998-04-08 12:12:04pohl Exp $2 // $Id: fglmvec.h,v 1.6 1998-05-19 09:43:47 pohl Exp $ 3 3 4 4 /**************************************** … … 30 30 fglmVector( const fglmVector & v ); 31 31 ~fglmVector(); 32 #ifdef __ MWERKS__32 #ifdef __NO_CONSTR__ 33 33 void mac_constr( const fglmVector & v); 34 34 void mac_constr_i( int size); -
Singular/fglmzero.cc
r480cef r97f004 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmzero.cc,v 1.1 5 1998-05-15 14:31:04 wichmannExp $2 // $Id: fglmzero.cc,v 1.16 1998-05-19 09:48:51 pohl Exp $ 3 3 4 4 /**************************************** … … 291 291 borderElem( poly p, fglmVector n ) : monom( p ), nf( n ) {} 292 292 ~borderElem() { pDelete1( &monom ); } 293 #ifdef __ MWERKS__293 #ifdef __NO_CONSTR__ 294 294 void insertElem( poly p, fglmVector n ) 295 295 { … … 370 370 borderMax= borderBS; 371 371 borderSize= 0; 372 #ifdef __ MWERKS__372 #ifdef __NO_CONSTR__ 373 373 border= new borderElem[ borderMax ]; 374 374 #else … … 384 384 pDelete1( basis + k ); //. rem: basis runs from basis[1]..basis[basisSize] 385 385 Free( (ADDRESS)basis, basisMax*sizeof( poly ) ); 386 #ifdef __ MWERKS__386 #ifdef __NO_CONSTR__ 387 387 delete [] border; 388 388 #else … … 420 420 borderSize++; 421 421 if ( borderSize == borderMax ) { 422 #ifdef __ MWERKS__422 #ifdef __NO_CONSTR__ 423 423 borderElem * tempborder = new borderElem[ borderMax+borderBS ]; 424 424 for ( int k = 0; k < borderMax; k++ ) { … … 433 433 borderMax+= borderBS; 434 434 } 435 #ifdef __ MWERKS__435 #ifdef __NO_CONSTR__ 436 436 border[borderSize].insertElem( m, v ); 437 437 #else … … 674 674 number fac; 675 675 676 #ifdef __ MWERKS__676 #ifdef __NO_CONSTR__ 677 677 oldGaussElem() : v(), p(), pdenom( NULL ), fac( NULL ) {} 678 678 #endif … … 683 683 } 684 684 ~oldGaussElem(); 685 #ifdef __ MWERKS__685 #ifdef __NO_CONSTR__ 686 686 void insertElem( const fglmVector newv, const fglmVector newp, number & newpdenom, number & newfac ) 687 687 { … … 742 742 basisSize= 0; 743 743 //. All arrays run from [1]..[dimen], thus Alloc( dimen + 1 )! 744 #ifdef __ MWERKS__744 #ifdef __NO_CONSTR__ 745 745 gauss= new oldGaussElem[ dimen+1 ]; 746 746 #else … … 760 760 fglmASSERT( dimen == basisSize, "Es wurden nicht alle BasisElemente gefunden!" ); 761 761 int k; 762 #ifdef __ MWERKS__762 #ifdef __NO_CONSTR__ 763 763 delete [] gauss; 764 764 #else … … 813 813 814 814 pivot= nCopy( v.getconstelem( pivotcol ) ); 815 #ifdef __ MWERKS__815 #ifdef __NO_CONSTR__ 816 816 gauss[basisSize].insertElem( v, p, denom, pivot ); 817 817 #else
Note: See TracChangeset
for help on using the changeset viewer.