Dew MtxVec NET
TMtxVec.Sin Methods
Summary
Sine.

Class
TMtxVec

Declaration
Function Sin(X: TMtxVec; XIndex: integer; Index: integer; Len: integer): TMtxVec;

Description
Calculate the sine of X object elements [XIndex]...[XIndex+Len-1]. The results are stored in calling object elements [Index]...[Index+Len-1]. Size and Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun.
Declaration
Function Sin(Index: integer; Len: integer): TMtxVec;

Description
Calculate the sine of calling object elements [Index]...[Index+Len-1] in-place. An exception is raised if array borders are overrun.
Declaration
Function Sin: TMtxVec;

Description
Calculate the sine of all caling object elements in-place.
 See Also 
ArcSin 
SinCos 

Example 1

var a: TVec; begin CreateIt(a); try a.SetIt(True,[1,-2,3,4]); a.Sin; // Computes complex sine finally FreeIt(a); end; end;


Declaration
Function Sin(X: TMtxVec): TMtxVec;

Description
Calculate the sine of all X object elements and store the results in calling object. Size and
Complex properties of calling object are adjusted automatically.

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