Top
Back: D.3.1.21 permcol
Forward: D.3.1.23 rowred
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.22 permrow

Procedure from library matrix.lib (see section matrix_lib).

Usage:

permrow(A,r1,r2); A matrix, r1,r2 positive integers

Return:

matrix, A being modified by permuting row r1 and r2

Example:

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

Top Back: D.3.1.21 permcol Forward: D.3.1.23 rowred 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 texinfo.