Changeset 172b7ae in git


Ignore:
Timestamp:
Dec 9, 2005, 9:36:11 AM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
7c99d074ee342f560ecfcba31c7b7f6646a716ec
Parents:
dad0bc5ac0d19dd0c4e479bffe04b7dbd90ee182
Message:
*hannes: stuff for homog. polys ->factory


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

Legend:

Unmodified
Added
Removed
  • libfac/factor/homogfactor.cc

    rdad0bc5 r172b7ae  
    11/* Copyright 1997 Michael Messollen. All rights reserved. */
    22////////////////////////////////////////////////////////////
    3 // static char * rcsid = "$Id: homogfactor.cc,v 1.5 2005-12-05 15:47:32 Singular Exp $ ";
     3// static char * rcsid = "$Id: homogfactor.cc,v 1.6 2005-12-09 08:36:11 Singular Exp $ ";
    44////////////////////////////////////////////////////////////
    55// FACTORY - Includes
     
    2121TIMING_DEFINE_PRINT(hfactorize_time);
    2222
     23#if 0
    2324///////////////////////////////////////////////////////////////
    2425// get_Terms: Split the polynomial in the containing terms.  //
     
    5556  return result;
    5657}
     58#endif
    5759
    5860#if 0
     
    7375#endif
    7476
     77#if 0
    7578///////////////////////////////////////////////////////////////
    7679// get_max_degree_Variable returns Variable with             //
     
    8790  return Variable(maxlevel);
    8891}
     92#endif
    8993
     94#if 0
    9095///////////////////////////////////////////////////////////////
    9196// homogenize homogenizes f with Variable x                  //
     
    111116  return result;
    112117}
     118#endif
    113119
    114120// we assume g is square-free
     
    145151    DEBOUTLN(cout, "      that is ", unhomogelem);
    146152    Unhomoglist.append(CFFactor(unhomogelem,j.getItem().exp()));
    147     d_xn -= degree(unhomogelem,xn);
     153    d_xn -= degree(unhomogelem,xn)*j.getItem().exp();
    148154  }
    149155  DEBOUTLN(cout, "Power of xn to append is ", d_xn);
     
    157163/*
    158164$Log: not supported by cvs2svn $
     165Revision 1.5  2005/12/05 15:47:32  Singular
     166*hannes: is_homogeneous -> factory: isHomogeneous
     167
    159168Revision 1.4  2002/08/19 11:11:34  Singular
    160169* hannes/pfister: alg_gcd etc.
Note: See TracChangeset for help on using the changeset viewer.