Austin Schuh | 9a24b37 | 2018-01-28 16:12:29 -0800 | [diff] [blame^] | 1 | /************************************************************************************************** |
| 2 | * * |
| 3 | * This file is part of BLASFEO. * |
| 4 | * * |
| 5 | * BLASFEO -- BLAS For Embedded Optimization. * |
| 6 | * Copyright (C) 2016-2017 by Gianluca Frison. * |
| 7 | * Developed at IMTEK (University of Freiburg) under the supervision of Moritz Diehl. * |
| 8 | * All rights reserved. * |
| 9 | * * |
| 10 | * HPMPC is free software; you can redistribute it and/or * |
| 11 | * modify it under the terms of the GNU Lesser General Public * |
| 12 | * License as published by the Free Software Foundation; either * |
| 13 | * version 2.1 of the License, or (at your option) any later version. * |
| 14 | * * |
| 15 | * HPMPC is distributed in the hope that it will be useful, * |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * |
| 18 | * See the GNU Lesser General Public License for more details. * |
| 19 | * * |
| 20 | * You should have received a copy of the GNU Lesser General Public * |
| 21 | * License along with HPMPC; if not, write to the Free Software * |
| 22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * |
| 23 | * * |
| 24 | * Author: Gianluca Frison, giaf (at) dtu.dk * |
| 25 | * gianluca.frison (at) imtek.uni-freiburg.de * |
| 26 | * * |
| 27 | **************************************************************************************************/ |
| 28 | |
| 29 | #include <stdlib.h> |
| 30 | #include <stdio.h> |
| 31 | |
| 32 | #if defined(LA_BLAS) |
| 33 | #include "d_blas.h" |
| 34 | #endif |
| 35 | |
| 36 | #include "../include/blasfeo_common.h" |
| 37 | #include "../include/blasfeo_d_aux.h" |
| 38 | |
| 39 | |
| 40 | |
| 41 | #define REAL double |
| 42 | |
| 43 | #define STRMAT d_strmat |
| 44 | #define STRVEC d_strvec |
| 45 | |
| 46 | #define GEMV_N_LIBSTR dgemv_n_libstr |
| 47 | #define GEMV_NT_LIBSTR dgemv_nt_libstr |
| 48 | #define GEMV_T_LIBSTR dgemv_t_libstr |
| 49 | #define SYMV_L_LIBSTR dsymv_l_libstr |
| 50 | #define TRMV_LNN_LIBSTR dtrmv_lnn_libstr |
| 51 | #define TRMV_LTN_LIBSTR dtrmv_ltn_libstr |
| 52 | #define TRMV_UNN_LIBSTR dtrmv_unn_libstr |
| 53 | #define TRMV_UTN_LIBSTR dtrmv_utn_libstr |
| 54 | #define TRSV_LNN_LIBSTR dtrsv_lnn_libstr |
| 55 | #define TRSV_LNN_MN_LIBSTR dtrsv_lnn_mn_libstr |
| 56 | #define TRSV_LNU_LIBSTR dtrsv_lnu_libstr |
| 57 | #define TRSV_LTN_LIBSTR dtrsv_ltn_libstr |
| 58 | #define TRSV_LTN_MN_LIBSTR dtrsv_ltn_mn_libstr |
| 59 | #define TRSV_LTU_LIBSTR dtrsv_ltu_libstr |
| 60 | #define TRSV_UNN_LIBSTR dtrsv_unn_libstr |
| 61 | #define TRSV_UTN_LIBSTR dtrsv_utn_libstr |
| 62 | |
| 63 | #define COPY dcopy_ |
| 64 | #define GEMV dgemv_ |
| 65 | #define SYMV dsymv_ |
| 66 | #define TRMV dtrmv_ |
| 67 | #define TRSV dtrsv_ |
| 68 | |
| 69 | |
| 70 | |
| 71 | #include "x_blas2_lib.c" |