Normalize cols

normalize_cols is a function that scales each column of a matrix so that it has norm 1. That is, each column of the matrix is divided by its norm.

Syntax

 * Y = normalize_cols(X)

Argument descriptions

 * X: A matrix to have its columns normalized.