With amsmath you have \hdotsfor:
\documentclass[11pt,a4paper]{article}
\usepackage{mathtools}
\begin{document}
$\begin{vmatrix}
a_{11} & \dots & a_{1r} & \dots & a_{1n}\\
\hdotsfor{5} \\
a_{n1} & \dots & a_{nr} & \dots & a_{nn}
\end{vmatrix}$
$\begingroup\addtolength{\arraycolsep}{-3pt}\begin{vmatrix}
a_{11} & \dots & a_{1r} & \dots & a_{1n}\\
\hdotsfor{5} \\
a_{n1} & \dots & a_{nr} & \dots & a_{nn}
\end{vmatrix}\endgroup$
\end{document}
In the second example I reduced the default intercolumn space.

If you prefer centered dots, here's a \hcdotsfor command (the same as \hdotsfor, except that \cdot is used).
\documentclass[11pt,a4paper]{article}
\usepackage{mathtools}
\makeatletter
\newcommand{\hcdotsfor}[1]{%
\ifx[#1\@xp\shcdots@for\else\hcdots@for\@ne{#1}\fi}
\def\shcdots@for#1]{\hcdots@for{#1}}
\def\hcdots@for#1#2{\multicolumn{#2}c%
{\m@th\dotsspace@1.5mu\mkern-#1\dotsspace@
\xleaders\hbox{$\m@th\mkern#1\dotsspace@\cdot\mkern#1\dotsspace@$}%
\hfill
\mkern-#1\dotsspace@}%
}
\makeatother
\begin{document}
$\begin{vmatrix}
a_{11} & \cdots & a_{1r} & \cdots & a_{1n}\\
\hcdotsfor{5} \\
a_{n1} & \cdots & a_{nr} & \cdots & a_{nn}
\end{vmatrix}$
$\begingroup\addtolength{\arraycolsep}{-3pt}\begin{vmatrix}
a_{11} & \cdots & a_{1r} & \cdots & a_{1n}\\
\hcdotsfor{5} \\
a_{n1} & \cdots & a_{nr} & \cdots & a_{nn}
\end{vmatrix}\endgroup$
\end{document}

amsmath(which is automatically loaded bymathtools). – egreg Sep 11 '14 at 15:04