col_replace

Replace the column of the given matrix.

Arguments

  1. Vector or matrix
  2. Replaceing vector
  3. Column, zero indexed integer

Output

Vector or matrix

Examples

col_replace