Ipopt Documentation  
 
Loading...
Searching...
No Matches
IpLapack.hpp
Go to the documentation of this file.
1// Copyright (C) 2005, 2009 International Business Machines and others.
2// All Rights Reserved.
3// This code is published under the Eclipse Public License.
4//
5// Authors: Andreas Waechter IBM 2005-12-25
6
7#ifndef __IPLAPACK_HPP__
8#define __IPLAPACK_HPP__
9
10#include "IpUtils.hpp"
11#include "IpException.hpp"
12
13namespace Ipopt
14{
15DECLARE_STD_EXCEPTION(LAPACK_NOT_INCLUDED);
16
23 Index ndim,
24 Index nrhs,
25 const Number* a,
26 Index lda,
27 Number* b,
28 Index ldb
29);
30
37 Index ndim,
38 Number* a,
39 Index lda,
40 Index& info
41);
42
50 bool compute_eigenvectors,
51 Index ndim,
52 Number* a,
53 Index lda,
54 Number* w,
55 Index& info
56);
57
64 Index ndim,
65 Number* a,
66 Index* ipiv,
67 Index lda,
68 Index& info
69);
70
76 Index ndim,
77 Index nrhs,
78 const Number* a,
79 Index lda,
80 Index* ipiv,
81 Number* b,
82 Index ldb
83);
84
92 Index ndim,
93 Index nrhs,
94 const Number* a,
95 Number* b,
96 Index ldb,
97 Index& info
98);
99
100} // namespace Ipopt
101
102#endif
#define DECLARE_STD_EXCEPTION(__except_type)
#define IPOPTLIB_EXPORT
This file contains a base class for all exceptions and a set of macros to help with exceptions.
IPOPTLIB_EXPORT void IpLapackDpotrs(Index ndim, Index nrhs, const Number *a, Index lda, Number *b, Index ldb)
Wrapper for LAPACK subroutine DPOTRS.
IPOPTLIB_EXPORT void IpLapackDsyev(bool compute_eigenvectors, Index ndim, Number *a, Index lda, Number *w, Index &info)
Wrapper for LAPACK subroutine DSYEV.
IPOPTLIB_EXPORT void IpLapackDgetrs(Index ndim, Index nrhs, const Number *a, Index lda, Index *ipiv, Number *b, Index ldb)
Wrapper for LAPACK subroutine DGETRS.
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17
IPOPTLIB_EXPORT void IpLapackDpotrf(Index ndim, Number *a, Index lda, Index &info)
Wrapper for LAPACK subroutine DPOTRF.
double Number
Type of all numbers.
Definition: IpTypes.hpp:15
IPOPTLIB_EXPORT void IpLapackDgetrf(Index ndim, Number *a, Index *ipiv, Index lda, Index &info)
Wrapper for LAPACK subroutine DGETRF.
IPOPTLIB_EXPORT void IpLapackDppsv(Index ndim, Index nrhs, const Number *a, Number *b, Index ldb, Index &info)
Wrapper for LAPACK subroutine DPPSV.