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{
16
24 Index ndim,
25 Index nrhs,
26 const Number* a,
27 Index lda,
28 Number* b,
30);
31
40inline void IpLapackDpotrs(
41 Index ndim,
42 Index nrhs,
43 const Number* a,
44 Index lda,
45 Number* b,
47)
48{
50}
51
59 Index ndim,
60 Number* a,
61 Index lda,
62 Index& info
63);
64
73inline void IpLapackDpotrf(
74 Index ndim,
75 Number* a,
76 Index lda,
77 Index& info
78)
79{
81}
82
92 Index ndim,
93 Number* a,
94 Index lda,
95 Number* w,
96 Index& info
97);
98
108inline void IpLapackDsyev(
110 Index ndim,
111 Number* a,
112 Index lda,
113 Number* w,
114 Index& info
115)
116{
118}
119
127 Index ndim,
128 Number* a,
129 Index* ipiv,
130 Index lda,
131 Index& info
132);
133
142inline void IpLapackDgetrf(
143 Index ndim,
144 Number* a,
145 Index* ipiv,
146 Index lda,
147 Index& info
148)
149{
151}
152
159 Index ndim,
160 Index nrhs,
161 const Number* a,
162 Index lda,
163 Index* ipiv,
164 Number* b,
165 Index ldb
166);
167
175inline void IpLapackDgetrs(
176 Index ndim,
177 Index nrhs,
178 const Number* a,
179 Index lda,
180 Index* ipiv,
181 Number* b,
182 Index ldb
183)
184{
186}
187
196 Index ndim,
197 Index nrhs,
198 const Number* a,
199 Number* b,
200 Index ldb,
201 Index& info
202);
203
213inline void IpLapackDppsv(
214 Index ndim,
215 Index nrhs,
216 const Number* a,
217 Number* b,
218 Index ldb,
219 Index& info
220)
221{
223}
224
225} // namespace Ipopt
226
227#endif
#define DECLARE_STD_EXCEPTION(__except_type)
#define IPOPT_DEPRECATED
macro to declare symbols as deprecated
Definition IpTypes.h:25
Templated class which stores one entry for the CachedResult class.
#define IPOPTLIB_EXPORT
This file contains a base class for all exceptions and a set of macros to help with exceptions.
IPOPTLIB_EXPORT void IpLapackPotrs(Index ndim, Index nrhs, const Number *a, Index lda, Number *b, Index ldb)
Wrapper for LAPACK subroutine XPOTRS.
IPOPT_DEPRECATED void IpLapackDppsv(Index ndim, Index nrhs, const Number *a, Number *b, Index ldb, Index &info)
Wrapper for LAPACK subroutine DPPSV.
Definition IpLapack.hpp:213
ipindex Index
Type of all indices of vectors, matrices etc.
Definition IpTypes.hpp:20
IPOPTLIB_EXPORT void IpLapackPpsv(Index ndim, Index nrhs, const Number *a, Number *b, Index ldb, Index &info)
Wrapper for LAPACK subroutine XPPSV.
IPOPTLIB_EXPORT void IpLapackSyev(bool compute_eigenvectors, Index ndim, Number *a, Index lda, Number *w, Index &info)
Wrapper for LAPACK subroutine XSYEV.
IPOPTLIB_EXPORT void IpLapackGetrf(Index ndim, Number *a, Index *ipiv, Index lda, Index &info)
Wrapper for LAPACK subroutine XGETRF.
IPOPT_DEPRECATED void IpLapackDgetrf(Index ndim, Number *a, Index *ipiv, Index lda, Index &info)
Wrapper for LAPACK subroutine DGETRF.
Definition IpLapack.hpp:142
ipnumber Number
Type of all numbers.
Definition IpTypes.hpp:17
IPOPT_DEPRECATED void IpLapackDpotrf(Index ndim, Number *a, Index lda, Index &info)
Wrapper for LAPACK subroutine DPOTRF.
Definition IpLapack.hpp:73
IPOPT_DEPRECATED void IpLapackDsyev(bool compute_eigenvectors, Index ndim, Number *a, Index lda, Number *w, Index &info)
Wrapper for LAPACK subroutine DSYEV.
Definition IpLapack.hpp:108
IPOPTLIB_EXPORT void IpLapackGetrs(Index ndim, Index nrhs, const Number *a, Index lda, Index *ipiv, Number *b, Index ldb)
Wrapper for LAPACK subroutine XGETRS.
IPOPT_DEPRECATED void IpLapackDgetrs(Index ndim, Index nrhs, const Number *a, Index lda, Index *ipiv, Number *b, Index ldb)
Wrapper for LAPACK subroutine DGETRS.
Definition IpLapack.hpp:175
IPOPT_DEPRECATED void IpLapackDpotrs(Index ndim, Index nrhs, const Number *a, Index lda, Number *b, Index ldb)
Wrapper for LAPACK subroutine DPOTRS.
Definition IpLapack.hpp:40
IPOPTLIB_EXPORT void IpLapackPotrf(Index ndim, Number *a, Index lda, Index &info)
Wrapper for LAPACK subroutine XPOTRF.