view liboctave/MArray-ch.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 c5f9b6cea4a8
line wrap: on
line source

// MArray-c.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 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: ***
*/