linear function

double linear(
  1. double t
)

Applies a linear interpolation function to the input value t. Returns the input value unchanged.

Implementation

double linear(double t) {
  return t;
}