> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NormVector

Normalization of a vector.

Returns a vector of length 1 with the same direction. If the vector has length zero, returns the same vector.

![](https://mintlify.s3.us-west-1.amazonaws.com/synopsys-00a47cbc/docs/scade-one/scade-one-standard-libraries/2025-r1/libraries/images/vector__normvector_00.svg)

## Interface

| Name | Kind | Type | Comment |
| - | :-: | - | - |
| N | P | N/A | Size of the vector |
| a | I | float^N | Input vector |
| b | O | float^N | Normalized vector |

**Parent topic:**[Math::Vector](https://developer.synopsys.com/docs/scade-one/scade-one-standard-libraries/2025-r1/libraries/vector/math_vector)
