quintic

Calculates the result of the quintic polynomial function, commonly used in smooth interpolation.

The function is defined as t^3 * (t * (t * 6 - 15) + 10), where t is the input value.

Return

The result of the quintic polynomial for the given input value.

Parameters

t

The input value for which the quintic function is to be calculated.