functionunitVector
returns a unit vector
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | ith | ith component is one | |
| Integer | n | size of the vector |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | ei | e_i unit vector |
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | ith | ith component is one | |
| Integer | n | size of the vector |
| Type | Name | Default | Description |
|---|---|---|---|
| Real | ei | e_i unit vector |