view liboctave/Array-d.cc @ 4337:d56e0d75e7c9 ss-2-1-45

[project @ 2003-02-19 21:20:19 by jwe]
author jwe
date Wed, 19 Feb 2003 21:20:19 +0000
parents b8c1cb5b9fd9
children e944fbe3fff2
line wrap: on
line source

/*

Copyright (C) 1996, 1997 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.

*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

// Instantiate Arrays of double values.

#include "Array.h"
#include "Array.cc"

template class Array<double>;

template int assign (Array<double>&, const Array<double>&);
template int assign (Array<double>&, const Array<int>&);
template int assign (Array<double>&, const Array<short>&);
template int assign (Array<double>&, const Array<char>&);

template int assign (Array<double>&, const Array<double>&, const double&);
template int assign (Array<double>&, const Array<int>&, const double&);
template int assign (Array<double>&, const Array<short>&, const double&);
template int assign (Array<double>&, const Array<char>&, const double&);

#include "Array2.h"
#include "Array2.cc"

template class Array2<double>;

template int assign (Array2<double>&, const Array2<double>&);
template int assign (Array2<double>&, const Array2<int>&);
template int assign (Array2<double>&, const Array2<short>&);
template int assign (Array2<double>&, const Array2<char>&);

template int assign (Array2<double>&, const Array2<double>&, const double&);
template int assign (Array2<double>&, const Array2<int>&, const double&);
template int assign (Array2<double>&, const Array2<short>&, const double&);
template int assign (Array2<double>&, const Array2<char>&, const double&);

#include "ArrayN.h"
#include "ArrayN.cc"

template class ArrayN<double>;
template std::ostream& operator << (std::ostream&, const ArrayN<double>&);

#include "DiagArray2.h"
#include "DiagArray2.cc"

template class DiagArray2<double>;

/*
;;; Local Variables: ***
;;; mode: C++ ***
;;; End: ***
*/