TSparseMtx.CopyFromArray Method

Overload List

#SignatureDescription
1function CopyFromArray(const Src: TCplxArray): TMtxVec;Copies values from an array.
└ indexed: function CopyFromArray(const Src: TCplxArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
2function CopyFromArray(const Src: TSCplxArray): TMtxVec;Copies values from an array.
└ indexed: function CopyFromArray(const Src: TSCplxArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
3function CopyFromArray(const Src: TByteArray): TMtxVec;Copies values from a 1 byte unsigned integer type Src array.
└ indexed: function CopyFromArray(const Src: TByteArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
4function CopyFromArray(const Src: TDoubleArray): TMtxVec;Copies values from a real Src array.
└ indexed: function CopyFromArray(const Src: TDoubleArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
5function CopyFromArray(const Src: TSmallIntArray): TMtxVec;Copies values from an 2 byte signed integer type Src array.
└ indexed: function CopyFromArray(const Src: TSmallIntArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
6function CopyFromArray(const Src: TIntegerArray): TMtxVec;Copies values from an integer type Src array.
└ indexed: function CopyFromArray(const Src: TIntegerArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
7function CopyFromArray(const Src: TSingleArray): TMtxVec;Copies values from a real single precision floating point Src array.
└ indexed: function CopyFromArray(const Src: TSingleArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Overload 1: function CopyFromArray(const Src: TCplxArray): TMtxVec;

Copies values from an array.

#NameTypeDescription
1SrcTCplxArray

Result: stored in self (calling object), returns self for chaining

Remarks:

Copies values from a complex array. The size and TMtxVec.Complex properties of the calling object are set implicitely.

Indexed: function CopyFromArray(const Src: TCplxArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Copies values from the Src array [SrcIndex]..[SrcIndex+Len-1] to the calling object values [Index]..[Index+len-1].

#NameTypeDescription
1SrcTCplxArray
2SrcIndexIntegersource start index
3IndexIntegerstart index
4LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the calling object is not changed. If the array border are overrun an exception will be raised.

Overload 2: function CopyFromArray(const Src: TSCplxArray): TMtxVec;

Copies values from an array.

#NameTypeDescription
1SrcTSCplxArray

Result: stored in self (calling object), returns self for chaining

Remarks:

Copies values from a complex array. The size and TMtxVec.Complex properties of the calling object are set implicitely.

Indexed: function CopyFromArray(const Src: TSCplxArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Copies values from the Src array [SrcIndex]..[SrcIndex+Len-1] to the calling object values [Index]..[Index+len-1].

#NameTypeDescription
1SrcTSCplxArray
2SrcIndexIntegersource start index
3IndexIntegerstart index
4LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the calling object is not changed. If the array border are overrun an exception will be raised.

Overload 3: function CopyFromArray(const Src: TByteArray): TMtxVec;

Copies values from a 1 byte unsigned integer type Src array.

#NameTypeDescription
1SrcTByteArray

Result: stored in self (calling object), returns self for chaining

Remarks:

The size and TMtxVec.Complex properties of the calling object are set implicitely.

Indexed: function CopyFromArray(const Src: TByteArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Copies values from a 1 byte unsigned integer type Src array [SrcIndex]..[SrcIndex+Len-1] to the calling object values [Index]..[Index+len-1].

#NameTypeDescription
1SrcTByteArray
2SrcIndexIntegersource start index
3IndexIntegerstart index
4LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the calling object is not changed. If the array border are overrun an exception will be raised.

Overload 4: function CopyFromArray(const Src: TDoubleArray): TMtxVec;

Copies values from a real Src array.

#NameTypeDescription
1SrcTDoubleArray

Result: stored in self (calling object), returns self for chaining

Remarks:

The size and TMtxVec.Complex properties of the calling object are set implicitely.

Indexed: function CopyFromArray(const Src: TDoubleArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Copies values from the double precision floating point Src array [SrcIndex]..[SrcIndex+Len-1] to the calling object values [Index]..[Index+len-1].

#NameTypeDescription
1SrcTDoubleArray
2SrcIndexIntegersource start index
3IndexIntegerstart index
4LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the calling object is not changed. If the array border are overrun an exception will be raised.

Overload 5: function CopyFromArray(const Src: TSmallIntArray): TMtxVec;

Copies values from an 2 byte signed integer type Src array.

#NameTypeDescription
1SrcTSmallIntArray

Result: stored in self (calling object), returns self for chaining

Remarks:

The size and TMtxVec.Complex properties of the calling object are set implicitely.

Indexed: function CopyFromArray(const Src: TSmallIntArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Copies values from a 2 byte signed integer type Src array [SrcIndex]..[SrcIndex+Len-1] to the calling object values [Index]..[Index+len-1].

#NameTypeDescription
1SrcTSmallIntArray
2SrcIndexIntegersource start index
3IndexIntegerstart index
4LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the calling object is not changed. If the array border are overrun an exception will be raised.

Overload 6: function CopyFromArray(const Src: TIntegerArray): TMtxVec;

Copies values from an integer type Src array.

#NameTypeDescription
1SrcTIntegerArray

Result: stored in self (calling object), returns self for chaining

Remarks:

The size and TMtxVec.Complex properties of the calling object are set implicitely.

Indexed: function CopyFromArray(const Src: TIntegerArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Copies values from a 4 byte signed integer type Src array [SrcIndex]..[SrcIndex+Len-1].

#NameTypeDescription
1SrcTIntegerArray
2SrcIndexIntegersource start index
3IndexIntegerstart index
4LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

Store the results to the calling object values [Index]..[Index+len-1]. The size of the calling object is not changed. If the array border are overrun an exception will be raised.

Overload 7: function CopyFromArray(const Src: TSingleArray): TMtxVec;

Copies values from a real single precision floating point Src array.

#NameTypeDescription
1SrcTSingleArray

Result: stored in self (calling object), returns self for chaining

Remarks:

The size and TMtxVec.Complex properties of the calling object are set implicitely.

Indexed: function CopyFromArray(const Src: TSingleArray; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Copies values from the single precision floating point Src array [SrcIndex]..[SrcIndex+Len-1] to the calling object values [Index]..[Index+len-1].

#NameTypeDescription
1SrcTSingleArray
2SrcIndexIntegersource start index
3IndexIntegerstart index
4LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

The size of the calling object is not changed. If the array border are overrun an exception will be raised.