Changeset c335c5 in git for Singular/LIB


Ignore:
Timestamp:
Apr 6, 2009, 3:21:58 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
c1f6a9ca685ae005c4cbd13e1df1355305542a7c
Parents:
08e081516771eec845058a046616a8c0d7e8325b
Message:
*hannes: syntax fix


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/zeroset.lib

    r08e081 rc335c5  
    11// Last change 12.02.2001 (Eric Westenberger)
    22///////////////////////////////////////////////////////////////////////////////
    3 version="$Id: zeroset.lib,v 1.19 2009-04-06 09:17:01 seelisch Exp $";
     3version="$Id: zeroset.lib,v 1.20 2009-04-06 13:21:58 Singular Exp $";
    44category="Symbolic-numerical solving";
    55info="
     
    1818 of Singular for univariate factorization of polynomials over simple algebraic
    1919 extensions in characteristic 0.
    20  
     20
    2121 NOTE:
    2222 Subprocedures with postfix 'Main' require that the ring contains a variable
     
    2525
    2626PROCEDURES:
    27  quotient(f, g)    quotient q  of f w.r.t. g (in f = q*g + remainder)
     27 Quotient(f, g)    quotient q  of f w.r.t. g (in f = q*g + remainder)
    2828 remainder(f,g)    remainder of the division of f by g
    2929 roots(f)    computes all roots of f in an extension field of Q
     
    470470///////////////////////////////////////////////////////////////////////////////
    471471
    472 proc quotient(poly f, poly g)
    473 "USAGE:   quotient(f, g); where f,g are polynomials;
     472proc Quotient(poly f, poly g)
     473"USAGE:   Quotient(f, g); where f,g are polynomials;
    474474PURPOSE: compute the quotient q and remainder r s.t. f = g*q + r, deg(r) < deg(g)
    475475RETURN:  list of polynomials
     
    480480ASSUME:  basering = Q[x] or Q(a)[x]
    481481NOTE: outdated, use div/mod instead
    482 EXAMPLE: example  quotient; shows an example
     482EXAMPLE: example  Quotient; shows an example
    483483"
    484484{
     
    502502 poly f =  x4 - 2;
    503503 poly g = x - a;
    504  list qr = quotient(f, g);
     504 list qr = Quotient(f, g);
    505505 qr;
    506506 qr[1]*g + qr[2] - f;
     
    518518         this represents the ring Q(a)[x] together with its minimal polynomial.
    519519NOTE: outdated, use div/mod instead
    520 EXAMPLE: example  quotient; shows an example
    521520"
    522521{
Note: See TracChangeset for help on using the changeset viewer.