Template Function otyca::sigmoid

Function Documentation

template<typename T>
T otyca::sigmoid(T x)

Computes the sigmoid function.

Template Parameters:

T – The numeric type.

Parameters:

x – The input value.

Returns:

The sigmoid function result.