Changeset e3cab3 in git
- Timestamp:
- Apr 8, 1998, 2:14:07 PM (25 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
- Children:
- 41e149d29e021987bb189509b26919708bad6e45
- Parents:
- 99cfcba795ebe458e864dea1374dafda993d2601
- Location:
- Singular
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/fglmcomb.cc
r99cfcba re3cab3 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmcomb.cc,v 1. 8 1998-03-27 14:21:29 SingularExp $2 // $Id: fglmcomb.cc,v 1.9 1998-04-08 12:11:24 pohl Exp $ 3 3 4 4 /**************************************** … … 31 31 #include "kstd1.h" 32 32 #include "fglm.h" 33 #ifdef macintosh34 #include <:templates:ftmpl_list.h>35 #else36 33 #include <templates/ftmpl_list.h> 37 #endif38 34 39 35 // nur fuer debug-Ausgaben: … … 264 260 } 265 261 nf[k]= current; 266 #ifdef macintosh262 #ifdef __MWERKS__ 267 263 mv[k].mac_constr( currV ); 268 264 #else … … 275 271 STICKYPROT( "." ); 276 272 277 #ifdef macintosh273 #ifdef __MWERKS__ 278 274 v[k].mac_constr_i( basisSize ); 279 275 #else … … 476 472 STICKYPROT2( "(%i)", basisSize ); 477 473 for ( k= 0; k < numMonoms; k++ ) { 478 #ifdef macintosh474 #ifdef __MWERKS__ 479 475 v[k].mac_constr_i( basisSize ); 480 476 #else -
Singular/fglmgauss.cc
r99cfcba re3cab3 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmgauss.cc,v 1. 5 1998-01-27 16:47:29pohl Exp $2 // $Id: fglmgauss.cc,v 1.6 1998-04-08 12:12:43 pohl Exp $ 3 3 4 4 /**************************************** … … 32 32 newfac= NULL; 33 33 } 34 #ifdef macintosh34 #ifdef __MWERKS__ 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 macintosh172 #ifdef __MWERKS__ 173 173 elems[size].mac_gaussElem( v, p, pdenom, pivot ); 174 174 #else -
Singular/fglmvec.cc
r99cfcba re3cab3 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmvec.cc,v 1. 6 1998-01-27 14:25:29pohl Exp $2 // $Id: fglmvec.cc,v 1.7 1998-04-08 12:13:21 pohl Exp $ 3 3 4 4 /**************************************** … … 143 143 delete rep; 144 144 } 145 #ifdef macintosh145 #ifdef __MWERKS__ 146 146 void 147 147 fglmVector::mac_constr( const fglmVector & v) -
Singular/fglmvec.h
r99cfcba re3cab3 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmvec.h,v 1. 4 1998-01-27 14:25:28pohl Exp $2 // $Id: fglmvec.h,v 1.5 1998-04-08 12:12:04 pohl Exp $ 3 3 4 4 /**************************************** … … 30 30 fglmVector( const fglmVector & v ); 31 31 ~fglmVector(); 32 #ifdef macintosh32 #ifdef __MWERKS__ 33 33 void mac_constr( const fglmVector & v); 34 34 void mac_constr_i( int size); -
Singular/fglmzero.cc
r99cfcba re3cab3 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fglmzero.cc,v 1.1 2 1998-01-27 14:49:15pohl Exp $2 // $Id: fglmzero.cc,v 1.13 1998-04-08 12:14:07 pohl Exp $ 3 3 4 4 /**************************************** … … 36 36 // assumes, that NOSTREAMIO is set in factoryconf.h, which is included 37 37 // by templates/list.h. 38 #ifdef macintosh39 #include <:templates:ftmpl_list.h>40 #else41 38 #include <templates/ftmpl_list.h> 42 #endif43 39 #define PROT(msg) 44 40 #define STICKYPROT(msg) if (BTEST1(OPT_PROT)) Print(msg) … … 295 291 borderElem( poly p, fglmVector n ) : monom( p ), nf( n ) {} 296 292 ~borderElem() { pDelete1( &monom ); } 297 #ifdef macintosh293 #ifdef __MWERKS__ 298 294 void insertElem( poly p, fglmVector n ) 299 295 { … … 374 370 borderMax= borderBS; 375 371 borderSize= 0; 376 #ifdef macintosh372 #ifdef __MWERKS__ 377 373 border= new borderElem[ borderMax ]; 378 374 #else … … 388 384 pDelete1( basis + k ); //. rem: basis runs from basis[1]..basis[basisSize] 389 385 Free( (ADDRESS)basis, basisMax*sizeof( poly ) ); 390 #ifdef macintosh386 #ifdef __MWERKS__ 391 387 delete [] border; 392 388 #else … … 424 420 borderSize++; 425 421 if ( borderSize == borderMax ) { 426 #ifdef macintosh422 #ifdef __MWERKS__ 427 423 borderElem * tempborder = new borderElem[ borderMax+borderBS ]; 428 424 for ( int k = 0; k < borderMax; k++ ) { … … 437 433 borderMax+= borderBS; 438 434 } 439 #ifdef macintosh435 #ifdef __MWERKS__ 440 436 border[borderSize].insertElem( m, v ); 441 437 #else … … 678 674 number fac; 679 675 680 #ifdef macintosh676 #ifdef __MWERKS__ 681 677 oldGaussElem() : v(), p(), pdenom( NULL ), fac( NULL ) {} 682 678 #endif … … 687 683 } 688 684 ~oldGaussElem(); 689 #ifdef macintosh685 #ifdef __MWERKS__ 690 686 void insertElem( const fglmVector newv, const fglmVector newp, number & newpdenom, number & newfac ) 691 687 { … … 746 742 basisSize= 0; 747 743 //. All arrays run from [1]..[dimen], thus Alloc( dimen + 1 )! 748 #ifdef macintosh744 #ifdef __MWERKS__ 749 745 gauss= new oldGaussElem[ dimen+1 ]; 750 746 #else … … 764 760 fglmASSERT( dimen == basisSize, "Es wurden nicht alle BasisElemente gefunden!" ); 765 761 int k; 766 #ifdef macintosh762 #ifdef __MWERKS__ 767 763 delete [] gauss; 768 764 #else … … 817 813 818 814 pivot= nCopy( v.getconstelem( pivotcol ) ); 819 #ifdef macintosh815 #ifdef __MWERKS__ 820 816 gauss[basisSize].insertElem( v, p, denom, pivot ); 821 817 #else
Note: See TracChangeset
for help on using the changeset viewer.