Changeset 1aa55bf in git for Singular/p_Procs.cc


Ignore:
Timestamp:
Oct 16, 2000, 2:06:41 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
dc078459b7830eda29e3e82e01acd64423bbddc0
Parents:
b559f83182d4517c4869319c1caa185e21439112
Message:
* sparsemat.cc : faster smSelectCopy and relatives
* ring: VarL_* stuff
* divisiblity tests based on longs


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

Legend:

Unmodified
Added
Removed
  • Singular/p_Procs.cc

    rb559f8 r1aa55bf  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: p_Procs.cc,v 1.14 2000-10-04 15:37:54 obachman Exp $
     9 *  Version: $Id: p_Procs.cc,v 1.15 2000-10-16 12:06:37 obachman Exp $
    1010 *******************************************************************/
    1111#include <string.h>
     
    4646//   5 -- all Field*_Length*_Ord* procs
    4747#ifdef NDEBUG
    48 const int HAVE_FAST_P_PROCS = 2;
     48const int HAVE_FAST_P_PROCS = 3;
    4949#else
    5050const int HAVE_FAST_P_PROCS = 0;
     
    6464//   3 -- special cases for length <= 4
    6565//   4 -- special cases for length <= 8
    66 const int HAVE_FAST_LENGTH = 4;
     66const int HAVE_FAST_LENGTH = 3;
    6767
    6868// Set HAVE_FAST_ORD to:
     
    180180  p_Minus_mm_Mult_qq_Proc,
    181181  p_Neg_Proc,
     182  pp_Mult_Coeff_mm_DivSelect_Proc,
    182183  p_Unknown_Proc
    183184};
     
    268269      case p_Minus_mm_Mult_qq_Proc: return "p_Minus_mm_Mult_qq_Proc";
    269270      case p_Neg_Proc: return "p_Neg_Proc";
     271      case pp_Mult_Coeff_mm_DivSelect_Proc: return "pp_Mult_Coeff_mm_DivSelect_Proc";
    270272      case p_Unknown_Proc: return "p_Unknown_Proc";
    271273  }
     
    483485      case p_Mult_mm_Proc:
    484486      case pp_Mult_nn_Proc:
     487      case pp_Mult_Coeff_mm_DivSelect_Proc:
    485488        return index(field, length);
    486489
     
    636639    (p_Procs->p_Add_q != NULL) &&
    637640    (p_Procs->p_Neg != NULL) &&
     641    (p_Procs->pp_Mult_Coeff_mm_DivSelect != NULL) &&
    638642    (p_Procs->p_Minus_mm_Mult_qq != NULL));
    639643}
     
    901905  SetProc(p_Minus_mm_Mult_qq, field, length, ord);
    902906  SetProc(p_Neg, field, LengthGeneral, OrdGeneral);
    903 }
    904 
    905 
    906 
     907  SetProc(pp_Mult_Coeff_mm_DivSelect, field, length, OrdGeneral);
     908}
     909
     910
     911
Note: See TracChangeset for help on using the changeset viewer.