Template Function otyca::sq

Function Documentation

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

Computes the square of a number.

Template Parameters:

T – The numeric type.

Parameters:

x – The input value.

Returns:

The square of x.