You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > Sgn Method > TOpenCLMtxVec.Sgn Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.Sgn Method ()

Computes signum function of calling object elements.

Pascal
function Sgn: TOpenCLMtxVec; overload;

Signum(X) is 1 for X > 0 , equal to zero for X = 0 and -1 for X < 0.

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