Line segment (source code)

= Line segment
{wiki}

The line segment joining vectors $x$ and $y$ is
$$
\{(1-t)x+ty:0\leq t\leq1\}.
$$