Mercurial > hg > octave-lyh
diff liboctave/Array-s.cc @ 1573:403c60daa8c7
[project @ 1995-10-19 04:34:20 by jwe]
Initial revision
author | jwe |
---|---|
date | Thu, 19 Oct 1995 04:34:20 +0000 |
parents | |
children | d2ee993d40cd |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/liboctave/Array-s.cc @@ -0,0 +1,50 @@ +// Array-s.cc -*- C++ -*- +/* + +Copyright (C) 1993, 1994, 1995 John W. Eaton + +This file is part of Octave. + +Octave is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +Octave is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Octave; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ + +// Instantiate Arrays of short int values. + +#define NO_DIAG_ARRAY 1 + +#include "Array.h" +#include "Array.cc" + +template class ArrayRep<short>; +template class Array<short>; +template class Array2<short>; + +#ifndef NO_DIAG_ARRAY +template class DiagArray<short>; +#endif + +template void assign (Array<short>&, const Array<short>&); +template void assign (Array<short>&, const Array<char>&); + +template void assign (Array2<short>&, const Array2<short>&); +template void assign (Array2<short>&, const Array2<char>&); + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/