Changeset 5baddf in git
- Timestamp:
- Mar 8, 2007, 5:53:37 PM (17 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- fbe4eb0243660e9001d8cf336b5c222f96062489
- Parents:
- 28a9f11ff98e2dd1fb22177c7dd69e2479df36e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/perron.lib
r28a9f1 r5baddf 1 1 /////////////////////////////////////////////////////////////////////////////// 2 version="$Id: perron.lib,v 1. 5 2006-07-18 15:48:29Singular Exp $";2 version="$Id: perron.lib,v 1.6 2007-03-08 16:53:37 Singular Exp $"; 3 3 category="Noncommutative"; 4 4 info=" … … 201 201 } 202 202 example 203 { 204 "EXAMPLE:"; echo = 2; 205 int p = 3; 206 ring A = p,(x,y,z),dp; 207 matrix D[3][3]=0; 208 D[1,2]=-z; D[1,3]=2*x; D[2,3]=-2*y; 209 ncalgebra(1,D); // this algebra is U(sl_2) 210 ideal I = x^p, y^p, z^p-z, 4*x*y+z^2-2*z; // the center 211 def RA = perron( I, p ); 212 setring RA; 213 RA; 214 Relations; // it was exported from perron to be in the returned ring. 215 216 // perron can be also used in a commutative case, for example: 217 ring B = 0,(x,y,z),dp; 218 ideal J = xy+z2, z2+y2, x2y2-2xy3+y4; 219 def RB = perron(J); 220 setring RB; 221 Relations; 203 { "EXAMPLE:"; echo = 2; 204 int p = 3; 205 ring A = p,(x,y,z),dp; 206 matrix D[3][3]=0; 207 D[1,2]=-z; D[1,3]=2*x; D[2,3]=-2*y; 208 ncalgebra(1,D); // this algebra is U(sl_2) 209 ideal I = x^p, y^p, z^p-z, 4*x*y+z^2-2*z; // the center 210 def RA = perron( I, p ); 211 setring RA; 212 RA; 213 Relations; // it was exported from perron to be in the returned ring. 214 215 // perron can be also used in a commutative case, for example: 216 ring B = 0,(x,y,z),dp; 217 ideal J = xy+z2, z2+y2, x2y2-2xy3+y4; 218 def RB = perron(J); 219 setring RB; 220 Relations; 222 221 } 223 222
Note: See TracChangeset
for help on using the changeset viewer.