00001 /* 00002 ------------------------------------------------------------------- 00003 00004 Copyright (C) 2006, 2007, 2008, Andrew W. Steiner 00005 00006 This file is part of O2scl. 00007 00008 O2scl is free software; you can redistribute it and/or modify 00009 it under the terms of the GNU General Public License as published by 00010 the Free Software Foundation; either version 3 of the License, or 00011 (at your option) any later version. 00012 00013 O2scl is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with O2scl. If not, see <http://www.gnu.org/licenses/>. 00020 00021 ------------------------------------------------------------------- 00022 */ 00023 #ifndef O2SCL_CBLAS_H 00024 #define O2SCL_CBLAS_H 00025 00026 #include <cmath> 00027 #include <o2scl/permutation.h> 00028 00029 /** \file cblas2.h 00030 \brief O2scl basic linear algebra function templates 00031 00032 \todo Finish dgemm() 00033 \future Convert to size_t and add float and complex versions 00034 */ 00035 00036 /// Namespace for O2scl CBLAS function templates with operator[] 00037 namespace o2scl_cblas { 00038 00039 #define O2SCL_IX(V,i) V[i] 00040 #define O2SCL_IX2(M,i,j) M[i][j] 00041 #include <o2scl/cblas_base.h> 00042 #undef O2SCL_IX 00043 #undef O2SCL_IX2 00044 00045 } 00046 00047 /// Namespace for O2scl CBLAS function templates with operator() 00048 namespace o2scl_cblas_paren { 00049 00050 #define O2SCL_IX(V,i) V(i) 00051 #define O2SCL_IX2(M,i,j) M(i,j) 00052 #include <o2scl/cblas_base.h> 00053 #undef O2SCL_IX 00054 #undef O2SCL_IX2 00055 00056 } 00057 00058 #endif
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page