Math387::Swap Function

Overload List

#SignatureDescription
1void Swap(TCplx &X, TCplx &Y);Exchange two numbers.
2void Swap(TSCplx &X, TSCplx &Y);
3void Swap(double &X, double &Y);Exchange two numbers.
4void Swap(int &X, int &Y);Exchange two numbers.
5void Swap(unsigned char &X, unsigned char &Y);

Overload 1: void Swap(TCplx &X, TCplx &Y);

Exchange two numbers.

#NameTypeDescription
1XTCplx &
2YTCplx &
Remarks:

Exchanges two complex numbers X swaps Y.

Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 2: void Swap(TSCplx &X, TSCplx &Y);

#NameTypeDescription
1XTSCplx &
2YTSCplx &
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 3: void Swap(double &X, double &Y);

Exchange two numbers.

#NameTypeDescription
1Xdouble &
2Ydouble &
Remarks:

Exchanges two real numbers X swaps Y.

Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 4: void Swap(int &X, int &Y);

Exchange two numbers.

#NameTypeDescription
1Xint &
2Yint &
Remarks:

Exchanges two integer numbers X swaps Y.

Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 5: void Swap(unsigned char &X, unsigned char &Y);

#NameTypeDescription
1Xunsigned char &
2Yunsigned char &
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler