You are here: Symbol Reference > clMtxExpr Namespace > Classes > clMatrix Record > public > SinCos Method > clMatrix.SinCos Method (TOpenCLMtxVec, TOpenCLMtxVec, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
clMatrix.SinCos Method (TOpenCLMtxVec, TOpenCLMtxVec, integer, integer, integer, integer)

Calculates the sine and cosine for calling object elements [Index]..[Index+Len-1].

Pascal
procedure SinCos(SinX: TOpenCLMtxVec; CosX: TOpenCLMtxVec; SinXIndex: integer; CosXIndex: integer; Index: integer; Len: integer); overload;

stores the sines to SinX elemets [SinXIndex]..[SinXIndex+Len-1] and cosines to CosX elements [CosXIndex]..[CosXIndex+Len-1] elements. Size and Complex property of SinX and CosX objects are not set automatically. An exception is raised if array borders are overrun/underun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!