Mercurial > hg > octave-nkf
view liboctave/MArray-ch.cc @ 1931:c91f81d5f72c
[project @ 1996-02-11 23:02:16 by jwe]
author | jwe |
---|---|
date | Sun, 11 Feb 1996 23:02:16 +0000 |
parents | 1281a23a34dd |
children | a9abae46d75f |
line wrap: on
line source
// MArray-ch.cc -*- C++ -*- /* Copyright (C) 1996 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 MArrays of char values. #define NO_DIAG_ARRAY 1 #include "MArray.h" #include "MArray.cc" template class MArray<char>; template class MArray2<char>; #ifndef NO_DIAG_ARRAY template class MDiagArray<char>; #endif template MArray<char> operator + (const MArray<char>& a, const char& s); template MArray<char> operator - (const MArray<char>& a, const char& s); template MArray<char> operator * (const MArray<char>& a, const char& s); template MArray<char> operator / (const MArray<char>& a, const char& s); template MArray<char> operator + (const char& s, const MArray<char>& a); template MArray<char> operator - (const char& s, const MArray<char>& a); template MArray<char> operator * (const char& s, const MArray<char>& a); template MArray<char> operator / (const char& s, const MArray<char>& a); template MArray<char> operator + (const MArray<char>& a, const MArray<char>& b); template MArray<char> operator - (const MArray<char>& a, const MArray<char>& b); template MArray<char> product (const MArray<char>& a, const MArray<char>& b); template MArray<char> quotient (const MArray<char>& a, const MArray<char>& b); template MArray<char> operator - (const MArray<char>& a); template MArray2<char> operator + (const MArray2<char>& a, const char& s); template MArray2<char> operator - (const MArray2<char>& a, const char& s); template MArray2<char> operator * (const MArray2<char>& a, const char& s); template MArray2<char> operator / (const MArray2<char>& a, const char& s); template MArray2<char> operator + (const char& s, const MArray2<char>& a); template MArray2<char> operator - (const char& s, const MArray2<char>& a); template MArray2<char> operator * (const char& s, const MArray2<char>& a); template MArray2<char> operator / (const char& s, const MArray2<char>& a); template MArray2<char> operator + (const MArray2<char>& a, const MArray2<char>& b); template MArray2<char> operator - (const MArray2<char>& a, const MArray2<char>& b); template MArray2<char> product (const MArray2<char>& a, const MArray2<char>& b); template MArray2<char> quotient (const MArray2<char>& a, const MArray2<char>& b); template MArray2<char> operator - (const MArray2<char>& a); #ifndef NO_DIAG_ARRAY template MDiagArray<char> operator * (const MDiagArray<char>& a, const char& s); template MDiagArray<char> operator / (const MDiagArray<char>& a, const char& s); template MDiagArray<char> operator * (const char& s, const MDiagArray<char>& a); template MDiagArray<char> operator + (const MDiagArray<char>& a, const MDiagArray<char>& b); template MDiagArray<char> operator - (const MDiagArray<char>& a, const MDiagArray<char>& b); template MDiagArray<char> product (const MDiagArray<char>& a, const MDiagArray<char>& b); template MDiagArray<char> operator - (const MDiagArray<char>& a); #endif /* ;;; Local Variables: *** ;;; mode: C++ *** ;;; page-delimiter: "^/\\*" *** ;;; End: *** */