::hwat::math::VectorMagnitude

Given a list of values returns the square root of the sum of the squares.

Syntax

::hwat::math::VectorMagnitude {valuelist}

Arguments

valuelist
Tcl list of values.

Returns

Success
Magnitude
Failure
{}

Example

HWAT::MATH::VectorMagnitude [list 1.0 7.5 3.0]