functionunitVector
return 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 |
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | ith | ith component is one | |
| Integer | n | size of the vector |
| Type | Name | Default | Description |
|---|---|---|---|
| Real | ei |