Changeset fde66a9 in git for Singular/LIB/modwalk.lib


Ignore:
Timestamp:
Aug 7, 2014, 4:10:35 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a5ab27d45c122614af41115f7486270074ab53f5
Parents:
a0e7db5bccc63a9fe9ea7898cd864a561f0656cc
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-08-07 16:10:35+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-08-07 16:12:11+02:00
Message:
format errors
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/modwalk.lib

    ra0e7db rfde66a9  
    3131proc modpWalk(def II, int p, int variant, list #)
    3232"USAGE:  modpWalk(I,p,#); I ideal, p integer, variant integer
    33 ASSUME:  If size(#) > 0, then 
     33ASSUME:  If size(#) > 0, then
    3434           #[1] is an intvec describing the current weight vector
    3535           #[2] is an intvec describing the target weight vector
    3636RETURN:  ideal - a standard basis of I mod p, integer - p
    3737NOTE:    The procedure computes a standard basis of the ideal I modulo p and
    38          fetches the result to the basering. 
     38         fetches the result to the basering.
    3939EXAMPLE: example modpWalk; shows an example
    4040"
     
    8989      {
    9090        list rl@r = ringlist(@r);
    91         nvar@r = nvars(@r);     
     91        nvar@r = nvars(@r);
    9292        intvec w;
    9393        for(k = 1; k <= nvar@r; k++)
     
    236236proc modWalk(def II, int variant, list #)
    237237"USAGE:  modWalk(II); II ideal or list(ideal,int)
    238 ASSUME:  If variant = 
     238ASSUME:  If variant =
    239239@*       - 1 the Random Walk algorithm with radius II[2] is applied
    240240           to II[1] if II = list(ideal, int). It is applied to II with radius 2
    241241           if II is an ideal.
    242 @*      - 2, the Groebner Walk algorithm is applied to II[1] or to II, respectively.
     242@*      - 2, the Groebner Walk algorithm is applied to II[1] or to II, respectively.
    243243@*       - 3, the Fractal Walk algorithm with random element is applied to II[1] or II,
    244244           respectively.
     
    246246@*       - 5, the Perturbation Walk algorithm with random element is applied to II[1]
    247247           or II, respectively, with radius II[3] and perturbation degree II[2].
    248 @*      - 6, the Perturbation Walk algorithm is applied to II[1] or II, respectively,
    249            with perturbation degree II[3].
     248@*      - 6, the Perturbation Walk algorithm is applied to II[1] or II, respectively,
     249           with perturbation degree II[3].
    250250         If size(#) > 0, then # contains either 1, 2 or 4 integers such that
    251251@*       - #[1] is the number of available processors for the computation,
     
    300300        II[3] = 2;
    301301      }
    302    
    303302    }
    304303    else
     
    378377          ERROR("Unexpected type of input.");
    379378        }
    380       } 
     379      }
    381380    }
    382381    if(size(#) == 3)
     
    739738  }
    740739  results_chinrem = parallelWaitAll("chinrem",arguments_chinrem);
    741     for(j=1; j <= size(results_chinrem); j++) 
     740    for(j=1; j <= size(results_chinrem); j++)
    742741    {
    743742      J = results_chinrem[j];
Note: See TracChangeset for help on using the changeset viewer.