VF_tanhVD_tanhVE_tanh
VCF_tanhVCD_tanhVCE_tanh
VFx_tanhVDx_tanhVEx_tanh
VCFx_tanhVCDx_tanhVCEx_tanh
FunktionHyperbel-Tangens
Syntax C/C++#include <VFmath.h>
int VF_tanh( fVector Y, fVector X, ui size );
int VFx_tanh( fVector Y, fVector X, ui size, float A, float B, float C );
C++ VecObj#include <OptiVec.h>
int vector<T>::tanh( const vector<T>& X );
int vector<T>::x_tanh( const vector<T>& X, const T& A, const T& B, const T& C );
Pascal/Delphiuses VFmath;
function VF_tanh( Y, X:fVector; size:UIntSize ): IntBool;
function VFx_tanh( Y, X:fVector; size:UIntSize; A, B, C:Single ): IntBool;
Beschreibungnormale Versionen:
Yi =  tanh( Xi )
     =  exp( Xi ) - exp( -Xi )
exp( Xi ) + exp( -Xi )
 
erweiterte Versionen:
Yi = C * tanh( A*Xi+B )
FehlerbehandlungEs dürften keine Fehler auftreten.
Rückgabewertimmer FALSE(0).
QuerverweisVF_sinh,   VF_exp,   tanh

VectorLib Inhaltsverzeichnis  OptiVec Home