Top
Back: D.3.1.18 addrow
Forward: D.3.1.20 multrow
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.19 multcol

Procedure from library matrix.lib (see matrix_lib).

Usage:

addcol(A,c,p); A matrix, p poly, c positive integer

Return:

matrix, A being modified by multiplying column c with p

Example:

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

Top Back: D.3.1.18 addrow Forward: D.3.1.20 multrow 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.