Top
Back: D.3.1.20 multrow
Forward: D.3.1.22 permrow
FastBack: Appendix D SINGULAR libraries
FastForward: E Release Notes
Up: D.3.1 matrix_lib
Top: 1 Preface
Contents: Table of Contents
Index: F Index
About: About This Document

D.3.1.21 permcol

Procedure from library matrix.lib (see matrix_lib).

Usage:

permcol(A,c1,c2); A matrix, c1,c2 positive integers

Return:

matrix, A being modified by permuting column c1 and c2

Example:

LIB "matrix.lib";
ring r=32003,(x,y,z),lp;
matrix A[3][3]=1,x,3,4,y,6,7,z,9;
print(A);
→ 1,x,3,
→ 4,y,6,
→ 7,z,9 
print(permcol(A,2,3));
→ 1,3,x,
→ 4,6,y,
→ 7,9,z 

Top Back: D.3.1.20 multrow Forward: D.3.1.22 permrow FastBack: Appendix D SINGULAR libraries FastForward: E Release Notes Up: D.3.1 matrix_lib Top: 1 Preface Contents: Table of Contents Index: F Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.