diff liboctave/int16NDArray.cc @ 4902:bd043a433918

[project @ 2004-06-14 18:46:20 by jwe]
author jwe
date Mon, 14 Jun 2004 18:49:09 +0000
parents
children c638c144d4da
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/liboctave/int16NDArray.cc	Mon Jun 14 18:49:09 2004 +0000
@@ -0,0 +1,59 @@
+// N-D Array  manipulations.
+/*
+
+Copyright (C) 2004 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.
+
+*/
+
+#if defined (__GNUG__) && defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)
+#pragma implementation
+#endif
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "int16NDArray.h"
+
+#include "intNDArray.cc"
+
+template class intNDArray<octave_int16>;
+
+template
+std::ostream&
+operator << (std::ostream& os, const intNDArray<octave_int16>& a);
+
+template
+std::istream&
+operator >> (std::istream& is, intNDArray<octave_int16>& a);
+
+NDS_CMP_OPS (int16NDArray, , octave_int16, )
+NDS_BOOL_OPS (int16NDArray, octave_int16, octave_int16 (0))
+
+SND_CMP_OPS (octave_int16, , int16NDArray, )
+SND_BOOL_OPS (octave_int16, int16NDArray, octave_int16 (0))
+
+NDND_CMP_OPS (int16NDArray, , int16NDArray, )
+NDND_BOOL_OPS (int16NDArray, int16NDArray, octave_int16 (0))
+
+/*
+;;; Local Variables: ***
+;;; mode: C++ ***
+;;; End: ***
+*/