tesseract  5.0.0
tesseract::HPrime Struct Reference

#include <functions.h>

Public Member Functions

TFloat operator() (TFloat y) const
 

Detailed Description

Definition at line 145 of file functions.h.

Member Function Documentation

◆ operator()()

TFloat tesseract::HPrime::operator() ( TFloat  y) const
inline

Definition at line 146 of file functions.h.

146  {
147  TFloat u = Tanh(y);
148  return 1 - u * u;
149  }
TFloat Tanh(TFloat x)
Definition: functions.h:44
double TFloat
Definition: tesstypes.h:39

The documentation for this struct was generated from the following file: