/*---------------------------------------------------------------------------*
 *                                   IT++			             *
 *---------------------------------------------------------------------------*
 * Copyright (c) 1995-2004 by Tony Ottosson, Thomas Eriksson, Pål Frenger,   *
 * Tobias Ringström, and Jonas Samuelsson.                                   *
 *                                                                           *
 * Permission to use, copy, modify, and distribute this software and its     *
 * documentation under the terms of the GNU General Public License is hereby *
 * granted. No representations are made about the suitability of this        *
 * software for any purpose. It is provided "as is" without expressed or     *
 * implied warranty. See the GNU General Public License for more details.    *
 *---------------------------------------------------------------------------*/

/*! 
  \file 
  \brief Sparse Vector Class implementation
  \author Tony Ottosson, and Tobias Ringström

  1.11

  2003/05/22 08:55:20
*/

#include "base/svec.h"

namespace itpp {
  //! Template instantiation of Sparse_Vec<int>
  template class Sparse_Vec<int>;

  //! Template instantiation of Sparse_Vec<double>
  template class Sparse_Vec<double>;

// # ifdef _MSC_VER
// #pragma warning (disable: 4660)
// #endif
  //! Template instantiation of Sparse_Vec<complex<double> >
  template class Sparse_Vec<complex<double> >;
// #ifdef _MSC_VER
// #pragma warning( default:4660)
// #endif

  //! Template instantiation of operator+
  template sparse_ivec operator+(const sparse_ivec &, const sparse_ivec &);
  //! Template instantiation of operator+
  template sparse_vec operator+(const sparse_vec &, const sparse_vec &);
  //! Template instantiation of operator+
  template sparse_cvec operator+(const sparse_cvec &, const sparse_cvec &);

  //! Template instantiation of operator*
  template int operator*(const sparse_ivec &, const sparse_ivec &);
  //! Template instantiation of operator*
  template double operator*(const sparse_vec &, const sparse_vec &);
  //! Template instantiation of operator*
  template complex<double> operator*(const sparse_cvec &, const sparse_cvec &);

  //! Template instantiation of operator*
  template int operator*(const sparse_ivec &, const ivec &);
  //! Template instantiation of operator*
  template double operator*(const sparse_vec &, const vec &);
  //! Template instantiation of operator*
  template complex<double> operator*(const sparse_cvec &, const cvec &);

  //! Template instantiation of operator*
  template int operator*(const ivec &, const sparse_ivec &);
  //! Template instantiation of operator*
  template double operator*(const vec &, const sparse_vec &);
  //! Template instantiation of operator*
  template complex<double> operator*(const cvec &, const sparse_cvec &);

  //! Template instantiation of elem_mult
  template sparse_ivec elem_mult(const sparse_ivec &, const sparse_ivec &);
  //! Template instantiation of elem_mult
  template sparse_vec elem_mult(const sparse_vec &, const sparse_vec &);
  //! Template instantiation of elem_mult
  template sparse_cvec elem_mult(const sparse_cvec &, const sparse_cvec &);

  //! Template instantiation of elem_mult
  template ivec elem_mult(const sparse_ivec &, const ivec &);
  //! Template instantiation of elem_mult
  template vec elem_mult(const sparse_vec &, const vec &);
  //! Template instantiation of elem_mult
  template cvec elem_mult(const sparse_cvec &, const cvec &);

  //! Template instantiation of elem_mult_s
  template sparse_ivec elem_mult_s(const sparse_ivec &, const ivec &);
  //! Template instantiation of elem_mult_s
  template sparse_vec elem_mult_s(const sparse_vec &, const vec &);
  //! Template instantiation of elem_mult_s
  template sparse_cvec elem_mult_s(const sparse_cvec &, const cvec &);

  //! Template instantiation of elem_mult
  template ivec elem_mult(const ivec &, const sparse_ivec &);
  //! Template instantiation of elem_mult
  template vec elem_mult(const vec &, const sparse_vec &);
  //! Template instantiation of elem_mult
  template cvec elem_mult(const cvec &, const sparse_cvec &);

  //! Template instantiation of elem_mult_s
  template sparse_ivec elem_mult_s(const ivec &, const sparse_ivec &);
  //! Template instantiation of elem_mult_s
  template sparse_vec elem_mult_s(const vec &, const sparse_vec &);
  //! Template instantiation of elem_mult_s
  template sparse_cvec elem_mult_s(const cvec &, const sparse_cvec &);

} //namespace itpp


syntax highlighted by Code2HTML, v. 0.9.1