Changeset c94e60f in git


Ignore:
Timestamp:
Sep 28, 2010, 12:19:46 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
1b38e5dbbecec05b3fdea59a6b4b159d06d20466
Parents:
4df33b5c9997268b982b1432e0fcc77a23ebe22d
Message:
primecoeffs and new primefactors

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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/general.lib

    r4df33b rc94e60f  
    11751175         e.g. ideal, matrix, vector, module, int, intvec
    11761176         p = integer
    1177 COMPUTE: primefactors <= min(p,32003) of coeffs of J (default p = 32003)
     1177COMPUTE: primefactors <= p of coeffs of J (default p = 32003)
    11781178RETURN:  a list, say l, of two intvectors:@*
    11791179         l[1] : the different primefactors of all coefficients of J@*
    11801180         l[2] : the different remaining factors
    1181 NOTE:    the procedure works for small integers only, just by testing all
    1182          primes (not to be considered as serious prime factorization!)
    11831181EXAMPLE: example primecoeffs; shows an example
    11841182"
     
    12191217   {
    12201218     l = primefactors(number(id[ii]),q);
    1221      jd = jd,l[1];
    1222      rest = rest,l[3];
     1219     list jdl=l[2];
     1220     jd = jd,jdl[1..size(jdl)];
     1221     kill jdl;
     1222     rest=rest, l[1];
    12231223   }
    12241224   jd = simplify(jd,6);
Note: See TracChangeset for help on using the changeset viewer.