lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 27 March 2011 10:53, liam mail <liam.list@googlemail.com> wrote:
>
>
> On 27 March 2011 15:33, Eduardo Ochs <eduardoochs@gmail.com> wrote:
>>
>> norm = function (V) return math.sqrt(V[1]^2 + V[2]^2) end,
>
> Off topic: I though this was just an email typo yet the same is present in
> the link you provide. I am confused why a mathematician would use such a
> name for calculating the magnitude of a vector.

The norm is (roughly speaking) a generalization of the magnitude.

http://en.wikipedia.org/wiki/Vector_norm

This case in particular really is the magnitude though.

    henk