functionpartition
Partition function for the quick sort algorithm
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | A | ||
| Integer | p | ||
| Integer | r | ||
| Integer[:] | I |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | ||
| Real[size(A, 1)] | B | ||
| Integer[size(A, 1)] | J |
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | A | ||
| Integer | p | ||
| Integer | r | ||
| Integer[:] | I |
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | ||
| Real[size(A, 1)] | B | ||
| Integer[size(A, 1)] | J |