// -*-C++-*- // Copyright (C) 2004 // Christian Stimming // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation; either version 2, or (at // your option) any later version. // This library 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 Lesser General Public License for more details. // You should have received a copy of the GNU Lesser General Public License along // with this library; see the file COPYING. If not, write to the Free // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, // USA. // LAPACK++ (V. 1.1) // requires // #ifdef HAVE_CONFIG_H # include "config.h" #endif #include "lafnames.h" #include LA_EXCEPTION_H #include "blas1pp.h" #include "blas2pp.h" #include "blas3pp.h" #include #include LA_VECTOR_DOUBLE_H #include LA_BAND_MAT_DOUBLE_H #include LA_LOWER_TRIANG_MAT_DOUBLE_H #include LA_SPD_MAT_DOUBLE_H #include LA_SYMM_BAND_MAT_DOUBLE_H #include LA_SYMM_MAT_DOUBLE_H #include LA_SYMM_TRIDIAG_MAT_DOUBLE_H #include LA_TRIDIAG_MAT_DOUBLE_H #include LA_UNIT_LOWER_TRIANG_MAT_DOUBLE_H #include LA_UNIT_UPPER_TRIANG_MAT_DOUBLE_H #include LA_UPPER_TRIANG_MAT_DOUBLE_H #include "blaspp.h" #include "blas3.h" // Only enable this when LA_NO_DEPRECATED is not defined #ifndef LA_NO_DEPRECATED //------------------------------------- // Vector/Vector operators //------------------------------------- LaVectorDouble operator*(const LaVectorDouble &x, double a) { int N = x.size(); LaVectorDouble t(N); for (int i=0; i