# columnMult -- multiply a column by a ring element

## Synopsis

• Usage:
columnMult(m,i,a)
• Inputs:
• m,
• i, an integer
• a, , in the same ring as m
• Consequences:
• The i th column of m is modified by multiplying it by a

## Description

 i1 : R = ZZ[a..f] o1 = R o1 : PolynomialRing i2 : m = mutableMatrix genericMatrix(R,a,2,3) o2 = | a c e | | b d f | o2 : MutableMatrix i3 : columnMult(m,0,c) o3 = | ac c e | | bc d f | o3 : MutableMatrix i4 : m o4 = | ac c e | | bc d f | o4 : MutableMatrix