> ## 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://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/scade-one/scade-one-standard-libraries/libraries/images/vector__normvector_00.svg?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=d3e63d968da04d944c7af79ee19feefb)

## 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:**[Vector](https://developer.synopsys.com/docs/scade-one/scade-one-standard-libraries/libraries/vector/vector)
