HyperWorks Tools

::hwat::math::VectorNormalize

::hwat::math::VectorNormalize

Previous topic Next topic No expanding text in this topic  

::hwat::math::VectorNormalize

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::math::VectorNormalize - Given a list of values returns the list after normalization.

 

SYNTAX

::hwat::math::VectorNormalize {valuelist} normvalue

 

ARGUMENTS

valuelist

Tcl list of values to normalize.

normvalue

Optional argument to use for normalization, if you do not want to use the magnitude.

 

RETURNS

Returns a Tcl list of the normalized values if successful, "{}" otherwise.

 

EXAMPLE

::hwat::math::VectorNormalize [list 1.0 7.5 3.0]

 

See also

Math Functions