Vector.CopyFromArray Method

Overload List

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

Overload 1: TMtxVec CopyFromArray(TCplx[] Src)

Copies values from an array.

#NameTypeDescription
1SrcTCplx[]

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

Remarks:

Copies values from a complex array. The size and Dew.Math.Vector.Complex properties of the calling object are set implicitly.

See Also: Vector.Copy, Vector.CopyTo, Vector.Round, Vector.Trunc, Vector.CopyToArray

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

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

#NameTypeDescription
1SrcTCplx[]
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 2: TMtxVec 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

Remarks:

The size and Dew.Math.Vector.Complex properties of the calling object are set implicitely.

Indexed: TMtxVec 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: TMtxVec CopyFromArray(Double[] Src)

Copies values from a real Src array.

#NameTypeDescription
1SrcDouble[]

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

Remarks:

The size and Dew.Math.Vector.Complex properties of the calling object are set implicitely.

Indexed: TMtxVec CopyFromArray(Double[] Src, 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[]
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 4: TMtxVec 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 and Dew.Math.Vector.Complex properties of the calling object are set implicitely.

Indexed: TMtxVec 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: TMtxVec CopyFromArray(Int32[] Src)

Copies values from an integer type Src array.

#NameTypeDescription
1SrcInt32[]

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

Remarks:

The size and Dew.Math.Vector.Complex properties of the calling object are set implicitely.

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

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

#NameTypeDescription
1SrcInt32[]
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 6: TMtxVec CopyFromArray(Single[] Src)

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

#NameTypeDescription
1SrcSingle[]

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

Remarks:

The size and Dew.Math.Vector.Complex properties of the calling object are set implicitely.

Indexed: TMtxVec CopyFromArray(Single[] Src, 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[]
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.