Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Swap(ref TCplx X, ref TCplx Y) | Exchange two numbers. |
| 2 | void Swap(ref TSCplx X, ref TSCplx Y) | |
| 3 | void Swap(ref Byte X, ref Byte Y) | |
| 4 | void Swap(ref Double X, ref Double Y) | Exchange two numbers. |
| 5 | void Swap(ref Int32 X, ref Int32 Y) | Exchange two numbers. |
| 6 | void Swapf(ref Single X, ref Single Y) | Exchange two numbers. |
Overload 1: void Swap(ref TCplx X, ref TCplx Y)
Exchange two numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TCplx (ref) | output |
| 2 | Y | TCplx (ref) | output |
Result: stored in self (calling object)
Remarks:
Exchanges two complex numbers X swaps Y.
Overload 2: void Swap(ref TSCplx X, ref TSCplx Y)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TSCplx (ref) | |
| 2 | Y | TSCplx (ref) |
Result: stored in self (calling object)
Overload 3: void Swap(ref Byte X, ref Byte Y)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Byte (ref) | |
| 2 | Y | Byte (ref) |
Result: stored in self (calling object)
Overload 4: void Swap(ref Double X, ref Double Y)
Exchange two numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Double (ref) | output |
| 2 | Y | Double (ref) | output |
Result: stored in self (calling object)
Remarks:
Exchanges two real numbers X swaps Y.
Overload 5: void Swap(ref Int32 X, ref Int32 Y)
Exchange two numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Int32 (ref) | output |
| 2 | Y | Int32 (ref) | output |
Result: stored in self (calling object)
Remarks:
Exchanges two integer numbers X swaps Y.
Overload 6: void Swapf(ref Single X, ref Single Y)
Exchange two numbers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Single (ref) | |
| 2 | Y | Single (ref) |
Result: stored in self (calling object)
Remarks:
Exchanges two real numbers X swaps Y.