Macaulay2 » Documentation
Packages » Macaulay2Doc » matrices » mutable matrices » row and column operations » columnMult
next | previous | forward | backward | up | index | toc

columnMult -- multiply a column by a ring element

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

See also

Ways to use columnMult:

  • columnMult(MutableMatrix,ZZ,Number)
  • columnMult(MutableMatrix,ZZ,RingElement)

For the programmer

The object columnMult is a method function.


The source of this document is in Macaulay2Doc/doc_mutablematrices.m2:256:0.