You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > SinCos Method > Vector.SinCos Method (TMtxVec, TMtxVec, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.SinCos Method (TMtxVec, TMtxVec, integer, integer, integer, integer)

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

Pascal
procedure SinCos(SinX: TMtxVec; CosX: TMtxVec; 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 ConditionCheck and array borders are overrun/underun.

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