Dew MtxVec NET
TMtxVec.Csc Methods
Summary
Cosecant.

Class
TMtxVec

Declaration
Function Csc: TMtxVec;

Description
Calculate the cosecant of all caling object elements in-place.
 See Also 
ArcCsc 
Sec 

Example 1

var a: TVec; begin CreateIt(a); try a.SetIt(True,[1,-2,3,4]); // a = [1-2i, 3+4i] a.Csc; // Computes complex cosecant finally FreeIt(a); end; end;


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

Description
Calculate the cosecant 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 Csc(X: TMtxVec): TMtxVec;

Description
Calculate the cosecant of all X object elements and store the results in the calling object. Size and Complex properties of calling object are adjusted automatically.
Declaration
Function Csc(Index, Len: integer): TMtxVec;

Description
Calculate the cosecant of calling object elements [Index]...[Index+Len-1] in-place. An exception is raised if array borders are overrun.

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