You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Tanh Method > Matrix.Tanh Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.Tanh Method ()

Hyperbolic tangens.

Syntax
C#
Visual Basic
public TMtxVec Tanh();

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

var a,b: Matrix; begin a.SetIt(2,2,False,[1,1.5,2,0.3]); a.Tanh; //or a := Tanh(a); //same as a.Tanh (in place operation) b := Tanh(a); //not in place b.Tanh(a); //not in place end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!