Changeset a9c967b in git


Ignore:
Timestamp:
Apr 22, 2005, 6:04:46 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
Children:
834754e36a63571f0f2f35770cdb783eaf40315f
Parents:
492b694ff4ece8ce29a8d09b598f9c12148165cf
Message:
*hannes: example


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/primitiv.lib

    r492b69 ra9c967b  
    33// This library is for Singular 1.2 or newer
    44
    5 version="$Id: primitiv.lib,v 1.19 2005-04-20 17:28:48 Singular Exp $";
     5version="$Id: primitiv.lib,v 1.20 2005-04-22 16:04:46 Singular Exp $";
    66category="Commutative Algebra";
    77info="
     
    383383{ "EXAMPLE:"; echo = 2;
    384384 ring r=0,(x,y),dp;
    385  splitring(x2-2,"r1");   // change to Q(sqrt(2))
     385 def r1=splitring(x2-2);
     386 setring r1; basering;    // change to Q(sqrt(2))
    386387 // change to Q(sqrt(2),sqrt(sqrt(2)))=Q(a) and return the transformed
    387388 // old parameter:
    388  splitring(x2-a,"r2",a);
     389 def r2=splitring(x2-a,a);
     390 setring r2; basering; erg;
    389391 // the result is (a)^2 = (sqrt(sqrt(2)))^2
    390  nameof(basering);
    391  r2;
    392392 kill r1; kill r2;
    393393}
Note: See TracChangeset for help on using the changeset viewer.