VectorInt.CopyFromArray Method

Overload List

#SignatureDescription
1TMtxVecInt CopyFromArray(TCplx[] Src, TRounding Rounding)Copies values from a real Src array.
└ indexed: TMtxVecInt CopyFromArray(TCplx[] Src, TRounding Rounding, Int32 SrcIndex, Int32 Index, Int32 Len)
2TMtxVecInt CopyFromArray(Byte[] Src)Copies values from a 1 byte unsigned integer type Src array.
└ indexed: TMtxVecInt CopyFromArray(Byte[] Src, Int32 SrcIndex, Int32 Index, Int32 Len)
3TMtxVecInt CopyFromArray(Double[] Src, TRounding Rounding)Copies values from a real Src array.
└ indexed: TMtxVecInt CopyFromArray(Double[] Src, TRounding Rounding, Int32 SrcIndex, Int32 Index, Int32 Len)
4TMtxVecInt CopyFromArray(Int16[] Src)Copies values from an 2 byte signed integer type Src array.
└ indexed: TMtxVecInt CopyFromArray(Int16[] Src, Int32 SrcIndex, Int32 Index, Int32 Len)
5TMtxVecInt CopyFromArray(Int32[] Src)Copies values from an integer type Src array.
└ indexed: TMtxVecInt CopyFromArray(Int32[] Src, Int32 SrcIndex, Int32 Index, Int32 Len)
6TMtxVecInt CopyFromArray(Single[] Src, TRounding Rounding)Copies values from a real single precision floating point Src array.
└ indexed: TMtxVecInt CopyFromArray(Single[] Src, TRounding Rounding, Int32 SrcIndex, Int32 Index, Int32 Len)
7TMtxVecInt CopyFromArray(UInt16[] Src)Copies values from Src array.
└ indexed: TMtxVecInt CopyFromArray(UInt16[] Src, Int32 SrcIndex, Int32 Index, Int32 Len)

Overload 1: TMtxVecInt CopyFromArray(TCplx[] Src, TRounding Rounding)

Copies values from a real Src array.

#NameTypeDescription
1SrcTCplx[]
2RoundingTRounding

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

Remarks:

The size of the calling object is set implicitely. The integer precision of the calling object is preserved.

Indexed: TMtxVecInt CopyFromArray(TCplx[] Src, TRounding Rounding, Int32 SrcIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1SrcTCplx[]
2RoundingTRounding
3SrcIndexInt32source start index
4IndexInt32start index
5LenInt32element 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: TMtxVecInt CopyFromArray(Byte[] Src)

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

#NameTypeDescription
1SrcByte[]

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

Indexed: TMtxVecInt CopyFromArray(Byte[] Src, Int32 SrcIndex, Int32 Index, Int32 Len)

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
1SrcByte[]
2SrcIndexInt32source start index
3IndexInt32start index
4LenInt32element 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: TMtxVecInt CopyFromArray(Double[] Src, TRounding Rounding)

Copies values from a real Src array.

#NameTypeDescription
1SrcDouble[]
2RoundingTRounding

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

Remarks:

The size of the calling object is set implicitely. The precision is preserved.

Indexed: TMtxVecInt CopyFromArray(Double[] Src, TRounding Rounding, Int32 SrcIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1SrcDouble[]
2RoundingTRounding
3SrcIndexInt32source start index
4IndexInt32start index
5LenInt32element 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: TMtxVecInt CopyFromArray(Int16[] Src)

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

#NameTypeDescription
1SrcInt16[]

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

Remarks:

The size property of the calling object is set implicitely.

Indexed: TMtxVecInt CopyFromArray(Int16[] Src, Int32 SrcIndex, Int32 Index, Int32 Len)

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
1SrcInt16[]
2SrcIndexInt32source start index
3IndexInt32start index
4LenInt32element 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: TMtxVecInt CopyFromArray(Int32[] Src)

Copies values from an integer type Src array.

#NameTypeDescription
1SrcInt32[]

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

Indexed: TMtxVecInt CopyFromArray(Int32[] Src, Int32 SrcIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1SrcInt32[]
2SrcIndexInt32source start index
3IndexInt32start index
4LenInt32element 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 6: TMtxVecInt CopyFromArray(Single[] Src, TRounding Rounding)

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

#NameTypeDescription
1SrcSingle[]
2RoundingTRounding

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

Remarks:

The size property of the calling object is set implicitely.

Indexed: TMtxVecInt CopyFromArray(Single[] Src, TRounding Rounding, Int32 SrcIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1SrcSingle[]
2RoundingTRounding
3SrcIndexInt32source start index
4IndexInt32start index
5LenInt32element 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 7: TMtxVecInt CopyFromArray(UInt16[] Src)

Copies values from Src array.

#NameTypeDescription
1SrcUInt16[]

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

Remarks:

The size of the calling object is set implicitely. The precision is preserved.

Indexed: TMtxVecInt CopyFromArray(UInt16[] Src, Int32 SrcIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1SrcUInt16[]
2SrcIndexInt32source start index
3IndexInt32start index
4LenInt32element 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.