Manuals/calci/MATRIXREPLACECOLUMN

From ZCubes Wiki
Revision as of 16:46, 27 June 2017 by Devika (talk | contribs) (Created page with "<div style="font-size:30px">'''MATRIXREPLACECOLUMN (a,Column,ColumnIndex)'''</div><br/> *<math>a</math> is any matrix. ==Description== *This function replace the column entri...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
MATRIXREPLACECOLUMN (a,Column,ColumnIndex)


  • is any matrix.

Description

  • This function replace the column entries with the given values in the given matrix.
  • In , is a matrix with any order.
  • is the entries to be replaced in the given matrix.
  • is the number of the column to be replaced.
  • Suppose the column of the given matrix is more than the replaced column then the remaining entries will be displayed as Null.

Examples

1. MATRIXREPLACECOLUMN([[1,-1,2,-1],[2,-2,3,-3],[1,1,1,0],[1,-1,4,3]],[-8,-20,-2,4],3)

1 -1 2 -8
2 -2 3 -20
1 1 1 -2
1 -1 4 4

2. MATRIXREPLACECOLUMN([[1,-1,2,-1],[2,-2,3,-3],[1,1,1,0],[1,-1,4,3]],[-8,-2,4,9,31],3)

1 -1 2 -8
2 -2 3 -2
1 1 1 4
1 -1 4 9

See Also


References