Linear Algebra - Normalization

> Linear Algebra

1 - Vector

Normalizing a vector means scaling it to make its norm 1. Just divide it by its norm.

def normalize(v): return v/sqrt(v*v)
linear_algebra/normalization.txt · Last modified: 2013/09/08 08:48 by gerardnico