Changeset 359b792 in git


Ignore:
Timestamp:
Oct 7, 2008, 7:55:52 PM (16 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '4188d308699580d975efd0f6cca8dcb41c396f70')
Children:
0c97d628cec893e481da6229e10b8066c8a40642
Parents:
4f950e90480a2c27ecf206371f3402003926507e
Message:
*levandov: proc smith renamed to oldsmith, it is not mentioned officially in the header anymore


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/control.lib

    r4f950e r359b792  
    1 version="$Id: control.lib,v 1.38 2007-06-20 22:31:00 levandov Exp $";
     1version="$Id: control.lib,v 1.39 2008-10-07 17:55:52 levandov Exp $";
    22category="System and Control Theory";
    33info="
     
    2222  leftInverse(R);      a left inverse of R
    2323  rightInverse(R);     a right inverse of R
    24   smith(M);            a Smith form of a module M
    2524  colrank(M);          a column rank of M as of matrix
    2625  genericity(M);       analysis of the genericity of parameters
     
    11401139
    11411140//---------------------------------------------------------------
    1142 proc smith( module M )
    1143 "USAGE: smith(M); M a module/matrix
     1141proc oldsmith( module M )
     1142"USAGE: oldsmith(M); M a module/matrix
    11441143PURPOSE: computes the Smith normal form of a matrix
    11451144RETURN: a list of length 4 with the following entries:
     
    11491148@*      [4]: a unimodular matrix V,
    11501149such that U*M*V=S. An warning is returned when no Smith form exists.
    1151 NOTE: The Smith form only exists over PIDs (principal ideal domains). Use global ordering for computations!
     1150NOTE: Older experimental implementation. The Smith form only exists over PIDs (principal ideal domains). Use global ordering for computations!
    11521151"
    11531152{
     
    12731272  module M = [x2,x,3x3-4], [2x2-1,4x,5x2], [2x5,3x,4x];
    12741273  print(M);
    1275   list P = smith(M);
     1274  list P = oldsmith(M);
    12761275  print(P[1]);
    12771276  matrix N = matrix(M);
     
    12811280// see what happens when the matrix is already in Smith-Form
    12821281//  module M = [x,0,0],[0,x2,0],[0,0,x3];
    1283 //  list L = smith(M);
     1282//  list L = oldsmith(M);
    12841283// print(L[1]);
    12851284//matrix N=matrix(M);
Note: See TracChangeset for help on using the changeset viewer.