blob: 137b9ad7053369629b90ed1cf9da0b10f0073d7e [file] [log] [blame]
Austin Schuh16ce3c72018-01-28 16:17:08 -08001/**************************************************************************************************
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
26void dgemv_n_3l(int m, int n, double *A, int lda , double *x, double *z);
27void dgemm_nn_3l(int m, int n, int k, double *A, int lda , double *B, int ldb, double *C, int ldc);
28void daxpy_3l(int n, double da, double *dx, double *dy);
29void dscal_3l(int n, double da, double *dx);
30
31/* copies a matrix into another matrix */
32void dmcopy(int row, int col, double *ptrA, int lda, double *ptrB, int ldb);
33
34/* solution of a system of linear equations */
35void dgesv_3l(int n, int nrhs, double *A, int lda, int *ipiv, double *B, int ldb, int *info);
36
37/* matrix exponential */
38void expm(int row, double *A);