00001 // This file is part of Eigen, a lightweight C++ template library 00002 // for linear algebra. Eigen itself is part of the KDE project. 00003 // 00004 // Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr> 00005 // 00006 // Eigen is free software; you can redistribute it and/or 00007 // modify it under the terms of the GNU Lesser General Public 00008 // License as published by the Free Software Foundation; either 00009 // version 3 of the License, or (at your option) any later version. 00010 // 00011 // Alternatively, you can redistribute it and/or 00012 // modify it under the terms of the GNU General Public License as 00013 // published by the Free Software Foundation; either version 2 of 00014 // the License, or (at your option) any later version. 00015 // 00016 // Eigen is distributed in the hope that it will be useful, but WITHOUT ANY 00017 // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00018 // FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License or the 00019 // GNU General Public License for more details. 00020 // 00021 // You should have received a copy of the GNU Lesser General Public 00022 // License and a copy of the GNU General Public License along with 00023 // Eigen. If not, see <http://www.gnu.org/licenses/>. 00024 00025 #ifdef EIGEN_EXTERN_INSTANTIATIONS 00026 #undef EIGEN_EXTERN_INSTANTIATIONS 00027 #endif 00028 00029 #include "../../Core" 00030 00031 namespace Eigen 00032 { 00033 00034 #define EIGEN_INSTANTIATE_PRODUCT(TYPE) \ 00035 template void ei_cache_friendly_product<TYPE>( \ 00036 int _rows, int _cols, int depth, \ 00037 bool _lhsRowMajor, const TYPE* _lhs, int _lhsStride, \ 00038 bool _rhsRowMajor, const TYPE* _rhs, int _rhsStride, \ 00039 bool resRowMajor, TYPE* res, int resStride) 00040 00041 EIGEN_INSTANTIATE_PRODUCT(float); 00042 EIGEN_INSTANTIATE_PRODUCT(double); 00043 EIGEN_INSTANTIATE_PRODUCT(int); 00044 EIGEN_INSTANTIATE_PRODUCT(std::complex<float>); 00045 EIGEN_INSTANTIATE_PRODUCT(std::complex<double>); 00046 00047 }