Top
Back: D.9.1.12 sys_code
Forward: E. Release Notes
FastBack: D. SINGULAR libraries
FastForward: E. Release Notes
Up: D.9.1 brnoeth_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

D.9.1.13 permute_L

Procedure from library brnoeth.lib (see brnoeth_lib).

Usage:

permute_L( L, P ); L,P either intvecs or lists

Return:

list obtained from L by applying the permutation given by P.

Note:

If P is a list, all entries must be integers.

Example:

 
LIB "brnoeth.lib";
list L=list();
L[1]="a";
L[2]="b";
L[3]="c";
L[4]="d";
intvec P=1,3,4,2;
// the list L is permuted according to P :
permute_L(L,P);
→ [1]:
→    a
→ [2]:
→    c
→ [3]:
→    d
→ [4]:
→    b

See also: AGcode_Omega; prepSV; sys_code.


Top Back: D.9.1.12 sys_code Forward: E. Release Notes FastBack: D. SINGULAR libraries FastForward: E. Release Notes Up: D.9.1 brnoeth_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.