You are here: Symbol Reference > clMtxExpr Namespace > Classes > clVector Record > public > Tanh Method > clVector.Tanh Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
clVector.Tanh Method ()

Hyperbolic tangens.

Pascal
function Tanh: TOpenCLMtxVec; overload;

Calculate the hyperbolic tangens of all caling object elements in-place.

var A,B: clVector; begin A.CopyFromArray(TSingleArray.Create(1,0, 2,0, 2,0 4,1)); B.Tanh(A); end;
Examples on GitHub
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!