Matrix.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)
2void CopyFromArray(TCplx[][] Src)Sizes the matrix to match the size of the 2D array and copies all the values.
3TMtxVec 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)
4TMtxVec CopyFromArray(Double[] Src)Copies values from a real Src array.
└ indexed: TMtxVec CopyFromArray(Double[] Src, Int32 SrcIndex, Int32 Index, Int32 Len)
5void CopyFromArray(Double[][] Src)Copies the matrix from a 2D array.
6TMtxVec 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)
7TMtxVec CopyFromArray(Int32[] Src)Copies values from an integer type Src array.
└ indexed: TMtxVec CopyFromArray(Int32[] Src, Int32 SrcIndex, Int32 Index, Int32 Len)
8TMtxVec 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.Matrix.Complex properties of the calling object are set implicitely.

See Also: Matrix.Copy, Matrix.CopyTo, Matrix.Round, Matrix.Trunc, Matrix.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: void CopyFromArray(TCplx[][] Src)

Sizes the matrix to match the size of the 2D array and copies all the values.

#NameTypeDescription
1SrcTCplx[][]

Result: stored in self (calling object)

Overload 3: 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.Matrix.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 4: 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.Matrix.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 5: void CopyFromArray(Double[][] Src)

Copies the matrix from a 2D array.

#NameTypeDescription
1SrcDouble[][]

Result: stored in self (calling object)

Remarks:

Sizes the matrix to match the size of the 2D array and copies all the values.

Overload 6: 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.Matrix.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 7: 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.Matrix.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 8: 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.Matrix.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.