Vector.SizeFromArray Method

Overload List

#SignatureDescription
1procedure SizeFromArray(const Src: Math387.TByteArray); overload;Sets the size of the vector to match an array.
2procedure SizeFromArray(const Src: TCplxArray); overload;Sets the size of the vector to match an array.
3procedure SizeFromArray(const Src: TDoubleArray); overload;Sets the size of the vector to match an array.
4procedure SizeFromArray(const Src: TIntegerArray); overload;Sets the size of the vector to match an array.
5procedure SizeFromArray(const Src: TSingleArray); overload;Sets the size of the vector to match an array.
6procedure SizeFromArray(const Src: TSmallIntArray); overload;Sets the size of the vector to match an array.

Overload 1: procedure SizeFromArray(const Src: Math387.TByteArray); overload;

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcMath387.TByteArray

Result: stored in self (calling object)

Remarks:

Sets the size (Length) of the calling vector to match the length of the array. The Vector.Complex is set to false.

Overload 2: procedure SizeFromArray(const Src: TCplxArray); overload;

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcTCplxArray

Result: stored in self (calling object)

Remarks:

Sets the Length of the calling vector to match the length of the array. The Vector.Complex is set to True.

Overload 3: procedure SizeFromArray(const Src: TDoubleArray); overload;

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcTDoubleArray

Result: stored in self (calling object)

Remarks:

Sets the Length of the calling vector to match the length of the array. The Vector.Complex is set to false.

Overload 4: procedure SizeFromArray(const Src: TIntegerArray); overload;

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcTIntegerArray

Result: stored in self (calling object)

Remarks:

Sets the Length of the calling vector to match the length of the array. The Vector.Complex is set to false.

Overload 5: procedure SizeFromArray(const Src: TSingleArray); overload;

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcTSingleArray

Result: stored in self (calling object)

Remarks:

Sets the Length of the calling vector to match the length of the array. The Vector.Complex is set to false.

Overload 6: procedure SizeFromArray(const Src: TSmallIntArray); overload;

Sets the size of the vector to match an array.

#NameTypeDescription
1SrcTSmallIntArray

Result: stored in self (calling object)

Remarks:

Sets the Length of the calling vector to match the length of the array. The Vector.Complex is set to false.