Top
Back: D.2.2 general_lib
Forward: D.2.2.2 ASCII
FastBack: D. SINGULAR libraries
FastForward: E. Release Notes
Up: D.2.2 general_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

D.2.2.1 A_Z

Procedure from library general.lib (see general_lib).

Usage:

A_Z("a",n); a any letter, n integer (-26<= n <=26, !=0)

Return:

string of n small (if a is small) or capital (if a is capital) letters, comma separated, beginning with a, in alphabetical order (or revers alphabetical order if n<0)

Example:

 
LIB "general.lib";
A_Z("c",5);
→ c,d,e,f,g
A_Z("Z",-5);
→ Z,Y,X,W,V
string sR = "ring R = (0,"+A_Z("A",6)+"),("+A_Z("a",10)+"),dp;";
sR;
→ ring R = (0,A,B,C,D,E,F),(a,b,c,d,e,f,g,h,i,j),dp;
execute(sR);
R;
→ //   characteristic : 0
→ //   6 parameter    : A B C D E F 
→ //   minpoly        : 0
→ //   number of vars : 10
→ //        block   1 : ordering dp
→ //                  : names    a b c d e f g h i j 
→ //        block   2 : ordering C

Top Back: D.2.2 general_lib Forward: D.2.2.2 ASCII FastBack: D. SINGULAR libraries FastForward: E. Release Notes Up: D.2.2 general_lib Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.