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

Divide calling vector elements [Index]...[Index+Len-1] with corresponding elements [VecIndex]...[VecIndex+Len-1] from the Vec object.

Pascal
function Divide(const Vec: TOpenCLMtxVec; VecIndex: integer; Index: integer; Len: integer): TOpenCLMtxVec; overload;

Store the result in the claling vector. The TOpenCLBase.LengthLengthof the calling vector is 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-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!