Austin Schuh | 9a24b37 | 2018-01-28 16:12:29 -0800 | [diff] [blame^] | 1 | /************************************************************************************************** |
| 2 | * * |
| 3 | * This file is part of HPMPC. * |
| 4 | * * |
| 5 | * HPMPC -- Library for High-Performance implementation of solvers for MPC. * |
| 6 | * Copyright (C) 2014-2015 by Technical University of Denmark. All rights reserved. * |
| 7 | * * |
| 8 | * HPMPC is free software; you can redistribute it and/or * |
| 9 | * modify it under the terms of the GNU Lesser General Public * |
| 10 | * License as published by the Free Software Foundation; either * |
| 11 | * version 2.1 of the License, or (at your option) any later version. * |
| 12 | * * |
| 13 | * HPMPC is distributed in the hope that it will be useful, * |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * |
| 16 | * See the GNU Lesser General Public License for more details. * |
| 17 | * * |
| 18 | * You should have received a copy of the GNU Lesser General Public * |
| 19 | * License along with HPMPC; if not, write to the Free Software * |
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * |
| 21 | * * |
| 22 | * Author: Gianluca Frison, giaf (at) dtu.dk * |
| 23 | * * |
| 24 | **************************************************************************************************/ |
| 25 | |
| 26 | void dgemm_nn_3l(int m, int n, int k, double *A, int lda , double *B, int ldb, double *C, int ldc); |
| 27 | void daxpy_3l(int n, double da, double *dx, double *dy); |
| 28 | void dscal_3l(int n, double da, double *dx); |
| 29 | |
| 30 | /* copies a matrix into another matrix */ |
| 31 | void dmcopy(int row, int col, double *ptrA, int lda, double *ptrB, int ldb); |
| 32 | |
| 33 | /* solution of a system of linear equations */ |
| 34 | void dgesv_3l(int n, int nrhs, double *A, int lda, int *ipiv, double *B, int ldb, int *info); |
| 35 | |
| 36 | /* matrix exponential */ |
| 37 | void expm(int row, double *A); |