Austin Schuh | 16ce3c7 | 2018-01-28 16:17:08 -0800 | [diff] [blame^] | 1 | /************************************************************************************************** |
| 2 | * * |
| 3 | * This file is part of HPIPM. * |
| 4 | * * |
| 5 | * HPIPM -- High Performance Interior Point Method. * |
| 6 | * Copyright (C) 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, gianluca.frison (at) imtek.uni-freiburg.de * |
| 25 | * * |
| 26 | **************************************************************************************************/ |
| 27 | |
| 28 | |
| 29 | |
| 30 | #if defined(RUNTIME_CHECKS) |
| 31 | #include <stdlib.h> |
| 32 | #endif |
| 33 | |
| 34 | #include <blasfeo_target.h> |
| 35 | #include <blasfeo_common.h> |
| 36 | #include <blasfeo_d_aux.h> |
| 37 | |
| 38 | #include "../include/hpipm_d_ocp_qp.h" |
| 39 | |
| 40 | |
| 41 | |
| 42 | #define CREATE_STRMAT d_create_strmat |
| 43 | #define CREATE_STRVEC d_create_strvec |
| 44 | #define CVT_MAT2STRMAT d_cvt_mat2strmat |
| 45 | #define CVT_TRAN_MAT2STRMAT d_cvt_tran_mat2strmat |
| 46 | #define CVT_VEC2STRVEC d_cvt_vec2strvec |
| 47 | #define GECP_LIBSTR dgecp_libstr |
| 48 | #define OCP_QP d_ocp_qp |
| 49 | #define REAL double |
| 50 | #define STRMAT d_strmat |
| 51 | #define STRVEC d_strvec |
| 52 | #define SIZE_STRMAT d_size_strmat |
| 53 | #define SIZE_STRVEC d_size_strvec |
| 54 | #define VECCP_LIBSTR dveccp_libstr |
| 55 | |
| 56 | #define CAST_OCP_QP d_cast_ocp_qp |
| 57 | #define COPY_OCP_QP d_copy_ocp_qp |
| 58 | #define CREATE_OCP_QP d_create_ocp_qp |
| 59 | #define CVT_COLMAJ_TO_OCP_QP d_cvt_colmaj_to_ocp_qp |
| 60 | #define CVT_ROWMAJ_TO_OCP_QP d_cvt_rowmaj_to_ocp_qp |
| 61 | #define MEMSIZE_OCP_QP d_memsize_ocp_qp |
| 62 | |
| 63 | |
| 64 | |
| 65 | #include "x_ocp_qp.c" |