How to Calculate norm of a vector?

Write your question here.
I cant write program which Calculates norm of a vector ( with class-es).help Please
If you mean Euclidean norm, then it can be easily calculated using the formula

Norm(v) = sqrt( x1^2 + x2^2 + ...+ xN^2 )
Topic archived. No new replies allowed.