Changeset 34b0314 in git


Ignore:
Timestamp:
Feb 22, 2005, 11:36:38 AM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
5a790ffea68fa34773ddda40acb84e14bfdee4cb
Parents:
b9e6b3a8fbdac60181ba5817714b3bde3734cdff
Message:
*hannes: obsolet: Factor EGCD


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/zeroset.lib

    rb9e6b3a r34b0314  
    11// Last change 12.02.2001 (Eric Westenberger)
    22///////////////////////////////////////////////////////////////////////////////
    3 version="$Id: zeroset.lib,v 1.8 2001-08-27 14:48:02 Singular Exp $";
     3version="$Id: zeroset.lib,v 1.9 2005-02-22 10:36:38 Singular Exp $";
    44category="Symbolic-numerical solving";
    55info="
     
    1212 Algorithms for finding the zero-set of a zero-dim. ideal in Q(a)[x_1,..,x_n],
    1313 Roots and Factorization of univariate polynomials over Q(a)[t]
    14  where a is an algebric number. Written in the frame of the
     14 where a is an algebraic number. Written in the frame of the
    1515 diploma thesis (advisor: Prof. Gert-Martin Greuel) 'Computations of moduli
    16  spaces of semiquasihomogenous singularities and an implementation in Singular'.
     16 spaces of semiquasihomogeneous singularities and an implementation in Singular'.
    1717 This library is meant as a preliminary extension of the functionality
    1818 of Singular for univariate factorization of polynomials over simple algebraic
     
    2323
    2424PROCEDURES:
    25  EGCD(f, g)    gcd over an algebraic extension field of Q
    26  Factor(f)    factorization of f over an algebraic extension field
    2725 Quotient(f, g)    quotient q  of f w.r.t. g (in f = q*g + remainder)
    2826 Remainder(f,g)    remainder of the division of f by g
     
    3230
    3331AUXILIARY PROCEDURES:
    34  EGCDMain(f, g)    gcd over an algebraic extension field of Q
    35  FactorMain(f)    factorization of f over an algebraic extension field
    3632 InvertNumberMain(c)  inverts an element of an algebraic extension field
    3733 QuotientMain(f, g)  quotient of f w.r.t. g
    3834 RemainderMain(f,g)  remainder of the division of f by g
    39  RootsMain(f)    computes all roots of f, might extend the groundfield
     35 RootsMain(f)    computes all roots of f, might extend the ground field
    4036 SQFRNormMain(f)  norm of f (f must be squarefree)
    4137 ContainedQ(data, f)  f in data ?
    4238 SameQ(a, b)    a == b (list a,b)
    4339";
     40// Factor(f)    factorization of f over an algebraic extension field
     41// EGCD(f, g)    gcd over an algebraic extension field of Q
     42// EGCDMain(f, g)    gcd over an algebraic extension field of Q
     43// FactorMain(f)    factorization of f over an algebraic extension field
    4444
    4545LIB "primitiv.lib";
     
    8585  @format
    8686  - 'roots' is the list of roots of the polynomial f (no multiplicities)
    87   - if the groundfield is Q(a') and the extension field is Q(a), then
    88     'newA' is the representation of a' in Q(a).
     87  - if the ground field is Q(a') and the extension field is Q(a), then
     88    'newA' is the representation of a' in Q(a). 
    8989    If the basering contains a parameter 'a' and the minpoly remains unchanged
    9090    then 'newA' = 'a'.
     
    164164  @format
    165165  _[1] = roots of f, each entry is a polynomial
    166   _[2] = 'newA' - if the groundfield is Q(a') and the extension field
     166  _[2] = 'newA' - if the ground field is Q(a') and the extension field
    167167         is Q(a), then 'newA' is the representation of a' in Q(a)
    168   _[3] = minpoly of the algebraic extension of the groundfield
     168  _[3] = minpoly of the algebraic extension of the ground field
    169169  @end format
    170170ASSUME:  basering = Q[x,a] ideal mpoly must be defined, it might be 0!
     
    204204    }
    205205  }
    206   if(linFactors == size(factorList[1]) - 1) {    // all roots of f are contained in the groundfield
     206  if(linFactors == size(factorList[1]) - 1) {    // all roots of f are contained in the ground field
    207207    result[1] = roots;
    208208    result[2] = var(2);
     
    211211  }
    212212
    213   // process the nonlinear factors, i.e., extend the groundfield
     213  // process the nonlinear factors, i.e., extend the ground field
    214214  // where a nonlinear factor (irreducible) is a minimal polynomial
    215215  // compute the primitive element of this extension
     
    302302"USAGE:   ZeroSet(I [,opt] ); I=ideal, opt=integer
    303303PURPOSE: compute the zero-set of the zero-dim. ideal I, in a finite extension
    304          of the groundfield.
     304         of the ground field.
    305305RETURN:  ring, a polynomial ring over an extension field of the ground field,
    306306         containing a list 'zeroset', a polynomial 'newA', and an
     
    308308  @format
    309309  - 'zeroset' is the list of the zeros of the ideal I, each zero is an ideal.
    310   - if the groundfield is Q(a') and the extension field is Q(a), then
     310  - if the ground field is Q(a') and the extension field is Q(a), then
    311311    'newA' is the representation of a' in Q(a).
    312312    If the basering contains a parameter 'a' and the minpoly remains unchanged
    313313    then 'newA' = 'a'.
    314     If the basering does not contain a parameter then 'newA' = 'a' (default).
     314    If the basering does not contain a parameter then 'newA' = 'a' (default).   
    315315  - 'id' is the ideal I in Q(a)[x_1,...] (a' substituted by 'newA')
    316316  @end format
     
    587587ASSUME:  basering = Q(a)[t]
    588588EXAMPLE: example  EGCD; shows an example
     589NOTE: obsolete: use gcd
    589590"
    590591{
     
    769770         is Q or a simple extension of Q given by a minpoly.
    770771NOTE:    if basering = Q[t] then this is the built-in @code{factorize}
     772NOTE:    obsolete: use factorize
    771773EXAMPLE: example  Factor; shows an example
    772774"
     
    857859"USAGE:   ZeroSetMain(ideal I, int opt); ideal I, int opt
    858860PURPOSE: compute the zero-set of the zero-dim. ideal I, in a simple extension
    859          of the groundfield.
     861         of the ground field.
    860862RETURN:  list
    861863         - 'f' is the polynomial f in  Q(a) (a' being substituted by newA)
    862864         _[1] = zero-set (list), is the list of the zero-set of the ideal I,
    863865                each entry is an ideal.
    864          _[2] = 'newA';  if the groundfield is Q(a') and the extension field
     866         _[2] = 'newA';  if the ground field is Q(a') and the extension field
    865867                is Q(a), then 'newA' is the representation of a' in Q(a).
    866868                If the basering contains a parameter 'a' and the minpoly
     
    911913
    912914  // compute the zero-set of each primary ideal and join them.
    913   // If necessary, change the groundfield and transform the zero-set
     915  // If necessary, change the ground field and transform the zero-set
    914916
    915917  dbprint(dbPrt, "
     
    946948"USAGE:   ZeroSetMainWork(I, wt, sVars);
    947949PURPOSE: compute the zero-set of the zero-dim. ideal I, in a finite extension
    948          of the groundfield (without multiplicities).
     950         of the ground field (without multiplicities).
    949951RETURN:  list, all entries are polynomials
    950952         _[1] = zeros, each entry is an ideal
    951          _[2] = newA; if the groundfield is Q(a') this is the rep. of a' w.r.t. a
    952          _[3] = minpoly of the algebraic extension of the groundfield (ideal)
     953         _[2] = newA; if the ground field is Q(a') this is the rep. of a' w.r.t. a
     954         _[3] = minpoly of the algebraic extension of the ground field (ideal)
    953955         _[4] = name of algebraic number (default = 'a')
    954956ASSUME:  basering = Q[x_1,x_2,...,x_n,a]
     
    11101112"USAGE:   ZeroSetMainWork(I, wt, sVars);
    11111113PURPOSE: solves the (nonlinear) univariate polynomials in I
    1112          of the groundfield (without multiplicities).
     1114         of the ground field (without multiplicities).
    11131115RETURN:  list, all entries are polynomials
    11141116         _[1] = list of solutions
Note: See TracChangeset for help on using the changeset viewer.