Changeset 76aca2 in git


Ignore:
Timestamp:
May 6, 2005, 6:01:50 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
Children:
d4d4f74a0f49c75932d49fa745327497d552f7d5
Parents:
dd3da434bbe41ef954b8fa6d42afe3dbd2593975
Message:
*lossen: Ann, headStand: help, example


git-svn-id: file:///usr/local/Singular/svn/trunk@8080 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular/LIB
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/matrix.lib

    rdd3da4 r76aca2  
    11///////////////////////////////////////////////////////////////////////////////
    2 version="$Id: matrix.lib,v 1.29 2005-05-06 14:38:45 hannes Exp $";
     2version="$Id: matrix.lib,v 1.30 2005-05-06 16:01:49 Singular Exp $";
    33category="Linear Algebra";
    44info="
     
    975975//////////////////////////////////////////////////////////////////////////////
    976976proc headStand(matrix M)
     977"USAGE:   headStand(M);  M matrix
     978RETURN:  matrix B such that B[i][j]=M[n-i+1,m-j+1], n=nrows(M), m=ncols(M)
     979EXAMPLE: example headStand; shows an example
     980"
    977981{
    978982  int i,j;
     
    989993  return(B);
    990994}
     995example
     996{ "EXAMPLE:"; echo = 2;
     997   ring r=0,(A,B,C),dp;
     998   matrix M[2][3]=
     999   0,A,  B,
     1000   A2, B2, C;
     1001   print(M);
     1002   print(headStand(M));
     1003}
    9911004//////////////////////////////////////////////////////////////////////////////
  • Singular/LIB/primdec.lib

    rdd3da4 r76aca2  
    11///////////////////////////////////////////////////////////////////////////////
    2 version="$Id: primdec.lib,v 1.104 2005-05-06 14:38:57 hannes Exp $";
     2version="$Id: primdec.lib,v 1.105 2005-05-06 16:01:50 Singular Exp $";
    33category="Commutative Algebra";
    44info="
     
    5454RETURN:  saturation of id with respect to j (= union_(k=1...) of id:j^k)
    5555NOTE:    result is a std basis in the basering
    56 EXAMPLE: example sat1; shows an example
    5756"
    5857{
     
    8079RETURN:  saturation of id with respect to j (= union_(k=1...) of id:j^k)
    8180NOTE:    result is a std basis in the basering
    82 EXAMPLE: example sat2; shows an example
    8381"
    8482{
     
    38303828
    38313829proc Ann(module M)
     3830"USAGE:   Ann(M);  M module
     3831RETURN:  ideal, the annihilator of coker(M)
     3832NOTE:    The output is the ideal of all elements a of the basering R such that
     3833         a * R^m is contained in M  (m=number of rows of M).
     3834EXAMPLE: example Ann; shows an example
     3835"
    38323836{
    38333837  M=prune(M);  //to obtain a small embedding
     
    38353839  return(ann);
    38363840}
     3841example
     3842{ "EXAMPLE:"; echo = 2;
     3843   ring  r = 0,(x,y,z),lp;
     3844   module M = x2-y2,z3;
     3845   Ann(M);
     3846   M = [1,x2],[y,x];
     3847   Ann(M);
     3848   qring Q=std(xy-1);
     3849   module M=imap(r,M);
     3850   Ann(M);
     3851}
     3852
    38373853///////////////////////////////////////////////////////////////////////////////
    38383854
Note: See TracChangeset for help on using the changeset viewer.