Owning Class: basic
Requires: MathScript RT Module
c = sortconjugate(a)
c = sortconjugate(a, tol)
Legacy Name: cplxpair
Sorts complex numbers by their conjugate pairs.
| Name | Description |
|---|---|
| a | Specifies a complex vector. |
| tol | Specifies when to treat two complex numbers as complex conjugates. The default is 1.0E-14. tol is a positive real number. |
| Name | Description |
|---|---|
| c | Returns a sorted by conjugate pairs. c is a complex vector of the same size as a. |
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | Yes |
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Not characterized |
A = [1-i, 2, 1+i]
B = sortconjugate(A)