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

Divide [NumIndex]..[NumIndex+Len-1] Num elements with [DenIndex]..[DenIndex+Len-1] elements in Den.

Pascal
function Divide(Num: TOpenCLMtxVec; Den: TOpenCLMtxVec; NumIndex: integer; DenIndex: integer; Index: integer; Len: integer): TOpenCLMtxVec; overload;

and store result in the calling vector at positions [Index]..[Index+Len-1] Size and Complex property of the calling object are not changed. An exception is raised if array borders are overrun or underrun. 

The result of division by zero will be the INF constant. Division of zero by zero will result in NAN.

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