This project has moved. For the latest updates, please go here.

Vector Norm/Normalize

Coordinator
Jul 12, 2010 at 8:33 AM

Hi Guys,

I'd like to slightly simplify the vector API if everyone's ok with this. I'd like to reduce the functions to

Vector.Norm(int p)

Vector.NormInfinity()

Vector.Normalize(int p)

rather than have Norm, SquaredNorm, Norm1, NormP, NormInfinity, and Normalize (where the last one always does 2-norm). For Norm, I think having 5 methods is a bit overkill. Particularly for Normalize I think we should parameterize as we can't Normalize in 1-norm atm. Is everyone OK if I make those changes?

J

Jul 12, 2010 at 8:43 AM
Hi Jurgen, Makes sense. Marcus