Changeset e50c50 in git for Singular/LIB


Ignore:
Timestamp:
Jul 28, 2004, 1:49:35 PM (20 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
aa7a84c3c951b761f9cc0771672ea2812e2d9d31
Parents:
3e146b0d0562a9831921eb891f2bee6219d5298a
Message:
*yena: LeftInverse  added, this is usee in output for strongly controllable systems


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/control.lib

    r3e146b re50c50  
    1 version="$Id: control.lib,v 1.2 2004-07-22 18:49:14 plural Exp $";
     1version="$Id: control.lib,v 1.3 2004-07-28 11:49:35 plural Exp $";
    22category="System and Control Theory";
    33info="
     
    1010
    1111PROCEDURES:
    12 declare(string NameOfRing, string Variables[, list #]);
     12declare(string NameOfRing, string Variables[,string  Parameters, string Ordering]);
    1313Defining the ring, optional parametes are a string of parameters and a sting of ordering.
    1414 
     
    182182{
    183183  return( transpose( syz( transpose(M) ) ) );
     184};
     185//------------------------------------------------------------------------
     186proc LeftInverse(module M)
     187{
     188  int NCols=ncols(M);
     189  M=transpose(M);
     190  matrix I[NCols][NCols];
     191  I=I+1;
     192  module Id=I;
     193  return( module( transpose( lift( M,Id ) ) ) );
     194};
     195example
     196{"EXAMPLE:";echo =2;
     197  ring r=0,(x,y,z),dp;
     198 
    184199};
    185200//------------------------------------------------------------------------
     
    209224 
    210225  if(i>NVars)
    211   {
     226  { module RK =RightKernel(R);
    212227    return( list( -1,
    213228                  "strongly controllable, image representation:",
    214                    RightKernel(R),
     229                   RK,
     230                  "left inverse to image representation:",
     231                   LeftInverse(RK),
    215232                   DofS,
    216233                   d)
Note: See TracChangeset for help on using the changeset viewer.