Vector::Min Method

Overload List

#SignatureDescription
1double Min() const;Minimum value.
2double Min(int Index, int Len) const;Calculate the minimum value from calling object elements [Index]..[Index+Len-1].
3void Min(double &AMin, int Index, int Len) const;Calculate the minimum value from calling object elements [Index]..[Index+Len-1].
4void Min(double &AMin, int &AIndex, int Index, int Len) const;Calculate the minimum value of calling object elements [Index]..[Index+Len-1].
5void Min(double &AMin, int &AIndex) const;Calculate the minimum value of all calling object elements.

Overload 1: double Min() const;

Minimum value.

Remarks:

Calculate the minimum value of all calling object elements. The result is a real value. An exception is raised if calling object Vector::Complex property is true.

See Also: Vector::Max, Vector::Minc
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: double Min(int Index, int Len) const;

Calculate the minimum value from calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1Indexint
2Lenint
Remarks:

The result is a real value. An exception is raised if calling object Vector::Complex property is true or array borders are overrun.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 3: void Min(double &AMin, int Index, int Len) const;

Calculate the minimum value from calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1AMindouble &
2Indexint
3Lenint
Remarks:

The result AMin is a real value. An exception is raised if calling object Vector::Complex property is true or array borders are overrun.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 4: void Min(double &AMin, int &AIndex, int Index, int Len) const;

Calculate the minimum value of calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1AMindouble &
2AIndexint &
3Indexint
4Lenint
Remarks:

The AMin parameter returns the minimum value. The AIndex parameter returns the Index of minimum value. An exception is raised if calling object Vector::Complex property is true or array borders are overrud/underrun.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 5: void Min(double &AMin, int &AIndex) const;

Calculate the minimum value of all calling object elements.

#NameTypeDescription
1AMindouble &
2AIndexint &
Remarks:

The AMin parameter returns the minimum value. The AIndex parameter returns the Index of minimum value. An exception is raised if calling object Vector::Complex property is true.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler