Math387::Min Function

Overload List

#SignatureDescription
1TCplx Min(const TCplx &X, const TCplx &Y);Minimum of two numbers.
2TSCplx Min(const TSCplx &X, const TSCplx &Y);
3double Min(double X, double Y);Minimum of two real numbers X and Y.
4int Min(int X, int Y);Minimum of two integer numbers X and Y.
5long long Min(long long X, long long Y);Minimum of two 64bit integer numbers X and Y.
6long long Min(long long X, int Y);
7long long Min(int X, long long Y);
8double Min(int X, double Y);
9double Min(double X, int Y);

Overload 1: TCplx Min(const TCplx &X, const TCplx &Y);

Minimum of two numbers.

#NameTypeDescription
1Xconst TCplx &
2Yconst TCplx &

Returns: the minimum of two complex numbers X and Y.

Remarks:

Complex numbers are first compared by the absolute value. If they are equal they are further compared by the unwrapped phase -PI,PI angle.

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

Overload 2: TSCplx Min(const TSCplx &X, const TSCplx &Y);

#NameTypeDescription
1Xconst TSCplx &
2Yconst TSCplx &
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 3: double Min(double X, double Y);

Minimum of two real numbers X and Y.

#NameTypeDescription
1Xdouble
2Ydouble

Returns: the minimum of two real numbers X and Y.

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

Overload 4: int Min(int X, int Y);

Minimum of two integer numbers X and Y.

#NameTypeDescription
1Xint
2Yint

Returns: the minimum of two integer numbers X and Y.

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

Overload 5: long long Min(long long X, long long Y);

Minimum of two 64bit integer numbers X and Y.

#NameTypeDescription
1Xlong long
2Ylong long

Returns: the minimum of two 64bit integer numbers X and Y.

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

Overload 6: long long Min(long long X, int Y);

#NameTypeDescription
1Xlong long
2Yint
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 7: long long Min(int X, long long Y);

#NameTypeDescription
1Xint
2Ylong long
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 8: double Min(int X, double Y);

#NameTypeDescription
1Xint
2Ydouble
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 9: double Min(double X, int Y);

#NameTypeDescription
1Xdouble
2Yint
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler