Dew MtxVec NET
TMtxVec.CopyFromArray Methods
Summary
Copies values from an array.

Class
TMtxVec

Declaration
Function CopyFromArray(const Src: TIntegerArray): TMtxVec;

Description
Copies values from an integer type Src array. The size and Complex properties of the calling object are set implicitely.
Declaration
Function CopyFromArray(const Src: TDoubleArray): TMtxVec;

Description
Copies values from a real Src array. The size and Complex properties of the calling object are set implicitely.
Declaration
Function CopyFromArray(const Src: Math387.TByteArray): TMtxVec;

Description
Copies values from a 1 byte unsigned integer type Src array. The size and Complex properties of the calling object are set implicitely.
Declaration
Function CopyFromArray(const Src: TCplxArray; SrcIndex, Index, Len: integer): TMtxVec;

Description
Copies values from the Src array [SrcIndex]..[SrcIndex+Len-1] 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.
Declaration
Function CopyFromArray(const Src: TCplxArray): TMtxVec;

Description
Copies values from a complex array. The size and Complex properties of the calling object are set implicitely.
 See Also 
IntToFloat 
FloatToInt 
Round 
Trunc 
CopyToArray 

Declaration
Function CopyFromArray(const Src: TSmallIntArray; SrcIndex, Index, Len: integer): TMtxVec;

Description
Copies values from a 2 byte signed integer type Src array [SrcIndex]..[SrcIndex+Len-1] 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.
Declaration
Function CopyFromArray(const Src: TIntegerArray; SrcIndex, Index, Len: integer): TMtxVec;

Description
Copies values from a 4 byte signed integer type Src array [SrcIndex]..[SrcIndex+Len-1] 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.
Declaration
Function CopyFromArray(const Src: TSmallIntArray): TMtxVec;

Description
Copies values from an 2 byte signed integer type Src array. The size and Complex properties of the calling object are set implicitely.
Declaration
Function CopyFromArray(const Src: Math387.TByteArray; SrcIndex, Index, Len: integer): TMtxVec;

Description
Copies values from a 1 byte unsigned integer type Src array [SrcIndex]..[SrcIndex+Len-1] 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.
Declaration
Function CopyFromArray(const Src: TSingleArray): TMtxVec;

Description
Copies values from a real single precision floating point Src array. The size and Complex properties of the calling object are set implicitely.
Declaration
Function CopyFromArray(const Src: TSingleArray; SrcIndex, Index, Len: integer): TMtxVec;

Description
Copies values from the single precision floating point Src array [SrcIndex]..[SrcIndex+Len-1] 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.
Declaration
Function CopyFromArray(const Src: TDoubleArray; SrcIndex, Index, Len: integer): TMtxVec;

Description
Copies values from the double precision floating point Src array [SrcIndex]..[SrcIndex+Len-1] 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.

Copyright 2008 Dew Research
http://www.dewresearch.com