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

Hyperbolic tangens.

Pascal
function Tanh: TOpenCLMtxVec; overload;

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

var a: clMatrix; begin a.CopyFromArray(2,2,TSingleArray.Create(1,1.5,2,0.3)); a.Tanh; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!