Changeset 6a13742 in git


Ignore:
Timestamp:
Dec 20, 2000, 6:18:53 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
bfbc32c19cef318430013cfd78dc6aa9af738067
Parents:
be939130441cde83c49169517306405bb842d34b
Message:
* hp Anpassung


git-svn-id: file:///usr/local/Singular/svn/trunk@4968 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/p_Procs_Impl.h

    rbe9391 r6a13742  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 12/00
    9  *  Version: $Id: p_Procs_Impl.h,v 1.2 2000-12-12 08:44:50 obachman Exp $
     9 *  Version: $Id: p_Procs_Impl.h,v 1.3 2000-12-20 17:18:52 obachman Exp $
    1010 *******************************************************************/
    1111#ifndef P_PROCS_IMPL_H
     
    387387 *
    388388 *******************************************************************/
     389#ifdef p_Procs_Static
     390static inline void StaticKernelFilter(p_Field &field, p_Length &length,
     391                                      p_Ord &ord, const p_Proc proc)
     392{
     393  // simply exclude some things
     394  if ((proc == pp_Mult_mm_Noether_Proc || proc == p_kBucketSetLm_Proc) &&
     395      (field != FieldZp))
     396  {
     397    field = FieldGeneral;
     398    length = LengthGeneral;
     399    ord = OrdGeneral;
     400  }
     401}
     402#endif
     403
    389404static inline void FastP_ProcsFilter(p_Field &field, p_Length &length, p_Ord &ord, const p_Proc proc)
    390405{
     
    513528  FastFieldFilter(field);
    514529  FastP_ProcsFilter(field, length, ord, proc);
     530#ifdef p_Procs_Static
     531  StaticKernelFilter(field, length, ord, proc);
     532#endif
    515533}
    516534
  • Singular/p_Procs_Static.h

    rbe9391 r6a13742  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 12/00
    9  *  Version: $Id: p_Procs_Static.h,v 1.2 2000-12-12 08:44:51 obachman Exp $
     9 *  Version: $Id: p_Procs_Static.h,v 1.3 2000-12-20 17:18:53 obachman Exp $
    1010 *******************************************************************/
    1111
     
    2020//   4 -- plus FieldGeneral_Length*_OrdGeneral procs
    2121//   5 -- all Field*_Length*_Ord* procs
    22 #define HAVE_FAST_P_PROCS 2
     22#define HAVE_FAST_P_PROCS 3
    2323
    2424// Set HAVE_FAST_FIELD to:
     
    2727//   2 -- plus special cases for FieldQ
    2828//   nothing else is implemented, yet
    29 #define HAVE_FAST_FIELD 1
     29#define HAVE_FAST_FIELD 2
    3030
    3131// Set HAVE_FAST_LENGTH to:
     
    5050//  2 -- ZeroOrds for all
    5151#define HAVE_FAST_ZERO_ORD 1
     52
     53// on top of all this, see the StaticKernelFilter in p_Procs_Impl.h
    5254#endif
Note: See TracChangeset for help on using the changeset viewer.