1 /* ffpack_inst.h 2 * Copyright (C) 2015 FFLAS-FFPACK group 3 * Written by Clement Pernet <Clement.Pernet@imag.fr> 4 * 5 * 6 * ========LICENCE======== 7 * This file is part of the library FFLAS-FFPACK. 8 * 9 * FFLAS-FFPACK is free software: you can redistribute it and/or modify 10 * it under the terms of the GNU Lesser General Public 11 * License as published by the Free Software Foundation; either 12 * version 2.1 of the License, or (at your option) any later version. 13 * 14 * This library is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * Lesser General Public License for more details. 18 * 19 * You should have received a copy of the GNU Lesser General Public 20 * License along with this library; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 * ========LICENCE======== 23 *. 24 */ 25 26 #ifndef __FFPACK_INST_H 27 #define __FFPACK_INST_H 28 29 // The ffpack lib should link to the compiled fflas lib 30 #ifndef FFLAS_COMPILED 31 #define FFLAS_COMPILED 32 #endif 33 34 #include "givaro/modular.h" 35 #include "givaro/modular-balanced.h" 36 #include "fflas-ffpack/ffpack/ffpack.h" 37 38 // This is a H file: we do template declarations 39 #ifdef INST_OR_DECL 40 #undef INST_OR_DECL 41 #endif 42 #define INST_OR_DECL <> 43 44 #define FFLAS_FIELD Givaro::ModularBalanced 45 #define FFLAS_ELT double 46 #include "ffpack_inst_implem.inl" 47 #undef FFLAS_ELT 48 #define FFLAS_ELT float 49 #include "ffpack_inst_implem.inl" 50 #undef FFLAS_ELT 51 #define FFLAS_ELT int64_t 52 #include "ffpack_inst_implem.inl" 53 #undef FFLAS_ELT 54 #undef FFLAS_FIELD 55 56 #define FFLAS_FIELD Givaro::Modular 57 #define FFLAS_ELT double 58 #include "ffpack_inst_implem.inl" 59 #undef FFLAS_ELT 60 #define FFLAS_ELT float 61 #include "ffpack_inst_implem.inl" 62 #undef FFLAS_ELT 63 #define FFLAS_ELT int64_t 64 #include "ffpack_inst_implem.inl" 65 #undef FFLAS_ELT 66 #undef FFLAS_FIELD 67 68 #endif //__FFPACK_INST_H 69 /* -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 70 // vim:sts=4:sw=4:ts=4:et:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s 71