Vector.Range Method

Overload List

#SignatureDescription
1function Range: Double;Calculate the range from all calling object elements.
└ indexed: function Range(Index: Integer; Len: Integer): Double;
2procedure Range(out ARange: Double; Index: Integer; Len: Integer);Calculate the range from calling object elements [Index]..[Index+Len-1]. The result ARange is a real value.

Overload 1: function Range: Double;

Calculate the range from all calling object elements.

Returns: Double

Indexed: function Range(Index: Integer; Len: Integer): Double;

Returns real range value from calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1IndexIntegerstart index
2LenIntegerelement count

Returns: Double

Remarks:

An exception is raised if calling object Vector.Complex property is true or array borders are overrun.

Overload 2: procedure Range(out ARange: Double; Index: Integer; Len: Integer);

Calculate the range from calling object elements [Index]..[Index+Len-1]. The result ARange is a real value.

#NameTypeDescription
1ARangeDouble
2IndexIntegerstart index
3LenIntegerelement count

Result: stored in self (calling object)

Remarks:

An exception is raised if calling object Vector.Complex property is true or array borders are overrun/underrun.