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

Calculates reminder after division X/Y.

Pascal
function Rem(const X: TOpenCLMtxVec; Y: double): TOpenCLMtxVec; overload;

Reminder is calculated by using the following formula: 

x[i]-y*Trunc(x[i]/y). 

X must be a real. The results will be saved to the calling vector. Size and Complex properties of the calling vector are set implicitly to match the X object.

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