Changeset aadd442 in git for libfac/factor/Factor.cc


Ignore:
Timestamp:
Jan 25, 2008, 3:19:40 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
bfe72e2bcb7632d5cf79dc5196713a5fba2bafb5
Parents:
6bbc8e2c339d1928744e2f67b390389567caa462
Message:
*hannes: SqrFreeTest -> isSqrFree


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

Legend:

Unmodified
Added
Removed
  • libfac/factor/Factor.cc

    r6bbc8e raadd442  
    11/* Copyright 1996 Michael Messollen. All rights reserved. */
    22///////////////////////////////////////////////////////////////////////////////
    3 static char * rcsid = "$Id: Factor.cc,v 1.39 2008-01-22 09:51:37 Singular Exp $ ";
     3static char * rcsid = "$Id: Factor.cc,v 1.40 2008-01-25 14:19:40 Singular Exp $ ";
    44static char * errmsg = "\nYou found a bug!\nPlease inform (Michael Messollen) michael@math.uni-sb.de \nPlease include above information and your input (the ideal/polynomial and characteristic) in your bug-report.\nThank you.";
    55///////////////////////////////////////////////////////////////////////////////
     
    363363  if ( degree(g) == deg ) // degrees match
    364364    if ( level(compress(g,m)) == (vars_left) ) // exactly one variable less
    365       if ( SqrFreeTest(g,1) ) // poly is sqrfree
     365      if ( isSqrFree(g) ) // poly is sqrfree
    366366        if ( gcd(g,g.deriv()).isOne() ) // Discriminante != 0
    367367           return 1;
     
    924924  // (If gcd is fast...)
    925925  ///////
    926   //  if ( ! SqrFreeTest(F) ){
     926  //  if ( ! isSqrFree(F) ){
    927927  if ( ! is_SqrFree )
    928928  {
     
    12231223  // (If gcd is fast...)
    12241224  ///////
    1225   //  if ( ! SqrFreeTest(F) ){
     1225  //  if ( ! isSqrFree(F) ){
    12261226  if ( ! is_SqrFree )
    12271227  {
     
    13291329/*
    13301330$Log: not supported by cvs2svn $
     1331Revision 1.39  2008/01/22 09:51:37  Singular
     1332*hannes: sqrFree/InternalSqrFree -> factory
     1333
    13311334Revision 1.38  2008/01/07 13:34:56  Singular
    13321335*hannes: omse optiomzations(isOne)
Note: See TracChangeset for help on using the changeset viewer.