Top
Back: D.3.1.4 dsum
Forward: D.3.1.6 genericmat
FastBack: D. SINGULAR libraries
FastForward: E. Release Notes
Up: D.3.1 matrix_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

D.3.1.5 flatten

Procedure from library matrix.lib (see matrix_lib).

Usage:

flatten(A); A matrix

Return:

ideal, generated by all entries from A

Example:

 
LIB "matrix.lib";
ring r = 0,(x,y,z),ds;
matrix A[2][3] = 1,2,x,y,z,7;
print(A);
→ 1,2,x,
→ y,z,7 
flatten(A);
→ _[1]=1
→ _[2]=2
→ _[3]=x
→ _[4]=y
→ _[5]=z
→ _[6]=7

Top Back: D.3.1.4 dsum Forward: D.3.1.6 genericmat FastBack: D. SINGULAR libraries FastForward: E. Release Notes Up: D.3.1 matrix_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.