Vector.Meanc Method

Overload List

#SignatureDescription
1function Meanc: TCplx; overload;Mean value.
└ indexed: function Meanc(Index, Len: integer): TCplx; overload;
2procedure Meanc(out AMean: TCplx); overload;Calculate the mean value from all calling object complex elements.
└ indexed: procedure Meanc(out AMean: TCplx; Index, Len: integer); overload;

Overload 1: function Meanc: TCplx; overload;

Mean value.

Returns: TCplx (complex)

Remarks:

Returns the mean value of all calling object complex elements. The result is a complex value. An exception is raised is calling object Vector.Complex is False.

See Also: Vector.Mean, Vector.Mean, Vector.Mean

Indexed: function Meanc(Index, Len: integer): TCplx; overload;

Returns complex mean value from calling object complex elements [Index]..[Index+Len-1].

#NameTypeDescription
1Indexintegerstart index
2Lenintegerelement count

Returns: TCplx (complex)

Remarks:

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

Overload 2: procedure Meanc(out AMean: TCplx); overload;

Calculate the mean value from all calling object complex elements.

#NameTypeDescription
1AMeanTCplxpre-computed mean

Result: stored in self (calling object)

Remarks:

The result AMean is a complex value. An exception is raised if calling object Vector.Complex property is False.

Indexed: procedure Meanc(out AMean: TCplx; Index, Len: integer); overload;

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

#NameTypeDescription
1AMeanTCplxpre-computed mean
2Indexintegerstart index
3Lenintegerelement count

Result: stored in self (calling object)

Remarks:

The result AMean is a complex value. An exception is raised if calling object Vector.Complex property is False or array borders are overrun/underrun.