Changeset aca790 in git


Ignore:
Timestamp:
Feb 5, 2015, 12:00:16 AM (9 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
4a74cc6ba5eb686204a6035371b850b26e0232c3
Parents:
8154c3e575652873c3bd7ee9d38728a8a50093e9
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2015-02-05 00:00:16+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2015-02-05 00:01:08+01:00
Message:
Cleanup documentation&example for s_res + added reference to the article
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/schreyer.lib

    r8154c3 raca790  
    3434@* most comutations require the dynamic or built-in module @code{syzextra}, which will be auto-leaded on demand.
    3535PROCEDURES:
     36  s_res(M, len)   compute Schreyer resolution of module M of maximal length len via LiftTree method from [BMSS]
    3637  Sres(M,len)     helper for computing Schreyer resolution of module M of maximal length len
    3738  Ssyz(M)         helper for computing Schreyer resolution of module M of length 1
    3839  Scontinue(len)  helper for extending currently active resolution by (at most) len syszygies
    39   s_res(M, len)   compute Schreyer resolution of module M of maximal length len via LiftTree method from [BMSS]
    4040REFERENCES:
    4141@*
    42 [BMSS] Burcin, E., Motsak, O., Schreyer, F.-O., Steenpass, A.: NEW ALGORITHMS TO COMPUTE SYZYGIES, 2014.
     42[BMSS] Burcin, E., Motsak, O., Schreyer, F.-O., Steenpass, A.: Refined algorithms to compute syzygies, 2015 (to appear).
    4343@*
    4444[SFO]  Schreyer, F.O.: Die Berechnung von Syzygien mit dem verallgemeinerten Weierstrassschen Divisionssatz,
     
    24742474}
    24752475
     2476
     2477// Further recognized switches are the following attributes of @code{Schreyer::SSinit} procedure:
     2478// LEAD2SYZ, TAILREDSYZ, HYBRIDNF, DEBUG, ...
     2479
    24762480proc s_res(def I, int l)
    24772481"USAGE:  s_res(ideal/module M, int len)
    2478 RETURN:  resolution object or SRES
    2479 PURPOSE: compute a Schreyer resolution of M of length at most len (see [BMSS])
    2480 NOTE:    If given len is zero then nvars(basering) + 1 is used instead.
    2481 @* This functions is not related to other helpers from this library.
     2482RETURN:  resolution object over basering
     2483PURPOSE: compute a non-minimal Schreyer free resolution of M of length at most len via the LiftTree algorithm described in [BMSS].
     2484NOTE:    If given len is zero then nvars(basering) + 1 is used instead. 
     2485@* This functions is not related to the helpers from this library. This procedure works in only in commutative case.
    24822486@* One can switch on computation protocol and statistic (depending on the build) by setting the @code{prot} option.
    2483 @* Further recognized switches are the following attributes of @code{Schreyer::SSinit} procedure:
    2484 LEAD2SYZ, TAILREDSYZ, HYBRIDNF
    2485 DEBUG, ...
    2486 SEE ALSO: sres
     2487SEE ALSO: sres, lres, Sres
    24872488EXAMPLE: example s_res; shows an example
    24882489"
     
    25182519  ring R;
    25192520  module M = maxideal(1); M;
    2520   def  rs = s_res(M, 0);
    2521   print(rs);
    2522   print(betti(rs, 0)); // non-minimal betties
    2523   print(SRES_list(rs));
    2524   print(betti(rs, 1)); //minimal betties
     2521  s_res(M, 0); // Koszul complex
     2522  list rs = _; // get syzygies
     2523  print(betti(rs, 0), "betti"); // non-minimal betties
    25252524  print(minres(rs));
     2525  print(betti(rs, 1), "betti"); //minimal betties
    25262526}
    25272527
Note: See TracChangeset for help on using the changeset viewer.