Matrix.js
function removeColumn(values, col, colsPerRow) {
  var n = 0;
  for (var i = 0, l = values.length; i < l; i++) {
    if (i % colsPerRow !== col) values[n++] = values[i];
  }
  values.length = n;
}
function removeColumn(values, col, colsPerRow) {
  var n = 0;
  for (var i = 0, l = values.length; i < l; i++) {
    if (i % colsPerRow !== col) values[n++] = values[i];
  }
  values.length = n;
}
function removeColumn ( values , col , colsPerRow ) { var n = 0 ; for ( var i = 0 , l = values . length ; i < l ; i ++ ) { if ( i % colsPerRow !== col ) values [ n ++ ] = values [ i ] ; } values . length = n ; }
Remove a column from the values array.

@param {Array} values Array of values.
@param {number} col Index of the column.
@param {number} colsPerRow Number of columns per row.

@private
Remove a column from the values array .