::hwat::math::VectorNormalize - Given a list of values returns the list after normalization.
::hwat::math::VectorNormalize {valuelist} normvalue
valuelist |
Tcl list of values to normalize. |
normvalue |
Optional argument to use for normalization, if you do not want to use the magnitude. |
Returns a Tcl list of the normalized values if successful, "{}" otherwise.
::hwat::math::VectorNormalize [list 1.0 7.5 3.0]