Changeset e2a912 in git for libfac/factor


Ignore:
Timestamp:
Dec 5, 2005, 4:47:32 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
44c2b1c03fdeb332bf8888856de788024d5daa35
Parents:
3b8b56c35cf3cb763e89ec0a52ba75f41460b30d
Message:
*hannes: is_homogeneous -> factory: isHomogeneous


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

Legend:

Unmodified
Added
Removed
  • libfac/factor/Factor.cc

    r3b8b56c re2a912  
    11/* Copyright 1996 Michael Messollen. All rights reserved. */
    22///////////////////////////////////////////////////////////////////////////////
    3 static char * rcsid = "$Id: Factor.cc,v 1.19 2005-10-17 13:18:44 Singular Exp $ ";
     3static char * rcsid = "$Id: Factor.cc,v 1.20 2005-12-05 15:47:32 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///////////////////////////////////////////////////////////////////////////////
     
    878878      }
    879879      else{ // multivariate polynomial
    880         if ( is_homogeneous(g) ){
     880        if ( g.isHomogeneous() ){
    881881          DEBOUTLN(cout, "Poly is homogeneous! : ", g);
    882882          // Now we can substitute one variable to 1, factorize and then
     
    10541054      }
    10551055      else{ // multivariate polynomial
    1056         if ( is_homogeneous(g) ){
     1056        if ( g.isHomogeneous() ){
    10571057          DEBOUTLN(cout, "Poly is homogeneous! : ", g);
    10581058          // Now we can substitute one variable to 1, factorize and then
     
    11151115/*
    11161116$Log: not supported by cvs2svn $
     1117Revision 1.19  2005/10/17 13:18:44  Singular
     1118*hannes: apply sqrFree before newfactoras (Factorize in Q(a))
     1119
    11171120Revision 1.18  2005/10/17 13:17:39  Singular
    11181121*hannes: aplly sqrFree before newfactoras (Factorize in Q(a))
  • libfac/factor/homogfactor.cc

    r3b8b56c re2a912  
    11/* Copyright 1997 Michael Messollen. All rights reserved. */
    22////////////////////////////////////////////////////////////
    3 // static char * rcsid = "$Id: homogfactor.cc,v 1.4 2002-08-19 11:11:34 Singular Exp $ ";
     3// static char * rcsid = "$Id: homogfactor.cc,v 1.5 2005-12-05 15:47:32 Singular Exp $ ";
    44////////////////////////////////////////////////////////////
    55// FACTORY - Includes
     
    5656}
    5757
     58#if 0
    5859///////////////////////////////////////////////////////////////
    5960// is_homogeneous returns 1 iff f is homogeneous, 0 otherwise//
     
    6869    if ( totaldegree(i.getItem()) != deg ) return 0;
    6970  return 1;
     71  // now: return f.isHomogeneous();
    7072}
     73#endif
    7174
    7275///////////////////////////////////////////////////////////////
     
    154157/*
    155158$Log: not supported by cvs2svn $
     159Revision 1.4  2002/08/19 11:11:34  Singular
     160* hannes/pfister: alg_gcd etc.
     161
    156162Revision 1.3  1997/09/12 07:19:57  Singular
    157163* hannes/michael: libfac-0.3.0
  • libfac/factor/homogfactor.h

    r3b8b56c re2a912  
    22///////////////////////////////////////////////////////////////////////////////
    33// emacs edit mode for this file is -*- C++ -*-
    4 // $Id: homogfactor.h,v 1.4 2002-08-19 11:11:34 Singular Exp $
     4// $Id: homogfactor.h,v 1.5 2005-12-05 15:47:32 Singular Exp $
    55///////////////////////////////////////////////////////////////////////////////
    66#ifndef HFACTOR_H
    77#define HFACTOR_H
    88CFList  get_Terms( const CanonicalForm & f );
    9 bool    is_homogeneous( const CanonicalForm & f);
    109CFFList HomogFactor( const CanonicalForm & g, const CanonicalForm  & minpoly, const int Mainvar );
    1110#endif /* HFACTOR_H */
     
    1413/*
    1514$Log: not supported by cvs2svn $
     15Revision 1.4  2002/08/19 11:11:34  Singular
     16* hannes/pfister: alg_gcd etc.
     17
    1618Revision 1.3  1997/09/12 07:19:58  Singular
    1719* hannes/michael: libfac-0.3.0
Note: See TracChangeset for help on using the changeset viewer.