Returns only the unique elements of the vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(item), | intent(in), | dimension(:) | :: | vec |
a vector of items |
|
| class(item), | intent(out), | dimension(:), allocatable | :: | vec_unique |
unique elements of |
|
| integer, | intent(in), | optional | :: | chunk_size |
chunk size for expanding arrays. if not present, default is 100. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in), | dimension(:) | :: | vec |
a vector |
|
| integer(kind=int32), | intent(out), | dimension(:), allocatable | :: | vec_unique |
unique elements of |
|
| integer, | intent(in), | optional | :: | chunk_size |
chunk size for expanding arrays. if not present, default is 100. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in), | dimension(:) | :: | vec |
a vector |
|
| integer(kind=int64), | intent(out), | dimension(:), allocatable | :: | vec_unique |
unique elements of |
|
| integer, | intent(in), | optional | :: | chunk_size |
chunk size for expanding arrays. if not present, default is 100. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in), | dimension(:) | :: | vec |
a vector |
|
| real(kind=real64), | intent(out), | dimension(:), allocatable | :: | vec_unique |
unique elements of |
|
| integer, | intent(in), | optional | :: | chunk_size |
chunk size for expanding arrays. if not present, default is 100. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in), | dimension(:) | :: | vec |
a vector |
|
| real(kind=real32), | intent(out), | dimension(:), allocatable | :: | vec_unique |
unique elements of |
|
| integer, | intent(in), | optional | :: | chunk_size |
chunk size for expanding arrays. if not present, default is 100. |