Ipopt Documentation  
 
Loading...
Searching...
No Matches
IpBlas.hpp
Go to the documentation of this file.
1// Copyright (C) 2004, 2006 International Business Machines and others.
2// All Rights Reserved.
3// This code is published under the Eclipse Public License.
4//
5// Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
6
7#ifndef __IPBLAS_HPP__
8#define __IPBLAS_HPP__
9
10#include "IpUtils.hpp"
11
12namespace Ipopt
13{
19 Index size,
20 const Number* x,
21 Index incX,
22 const Number* y,
23 Index incY
24);
25
31 Index size,
32 const Number* x,
33 Index incX
34);
35
41 Index size,
42 const Number* x,
43 Index incX
44);
45
51 Index size,
52 const Number* x,
53 Index incX
54);
55
61 Index size,
62 const Number* x,
63 Index incX,
64 Number* y,
65 Index incY
66);
67
73 Index size,
74 Number alpha,
75 const Number* x,
76 Index incX,
77 Number* y,
78 Index incY
79);
80
86 Index size,
87 Number alpha,
88 Number* x,
89 Index incX
90);
91
97 bool trans,
98 Index nRows,
99 Index nCols,
100 Number alpha,
101 const Number* A,
102 Index ldA,
103 const Number* x,
104 Index incX,
105 Number beta,
106 Number* y,
107 Index incY
108);
109
115 Index n,
116 Number alpha,
117 const Number* A,
118 Index ldA,
119 const Number* x,
120 Index incX,
121 Number beta,
122 Number* y,
123 Index incY
124);
125
131 bool transa,
132 bool transb,
133 Index m,
134 Index n,
135 Index k,
136 Number alpha,
137 const Number* A,
138 Index ldA,
139 const Number* B,
140 Index ldB,
141 Number beta,
142 Number* C,
143 Index ldC
144);
145
151 bool trans,
152 Index ndim,
153 Index nrank,
154 Number alpha,
155 const Number* A,
156 Index ldA,
157 Number beta,
158 Number* C,
159 Index ldC
160);
161
167 bool trans,
168 Index ndim,
169 Index nrhs,
170 Number alpha,
171 const Number* A,
172 Index ldA,
173 Number* B,
174 Index ldB
175);
176
177} // namespace Ipopt
178
179#endif
#define IPOPTLIB_EXPORT
This file contains a base class for all exceptions and a set of macros to help with exceptions.
IPOPTLIB_EXPORT void IpBlasDgemv(bool trans, Index nRows, Index nCols, Number alpha, const Number *A, Index ldA, const Number *x, Index incX, Number beta, Number *y, Index incY)
Wrapper for BLAS subroutine DGEMV.
IPOPTLIB_EXPORT void IpBlasDsyrk(bool trans, Index ndim, Index nrank, Number alpha, const Number *A, Index ldA, Number beta, Number *C, Index ldC)
Wrapper for BLAS subroutine DSYRK.
IPOPTLIB_EXPORT int IpBlasIdamax(Index size, const Number *x, Index incX)
Wrapper for BLAS function IDAMAX.
IPOPTLIB_EXPORT void IpBlasDaxpy(Index size, Number alpha, const Number *x, Index incX, Number *y, Index incY)
Wrapper for BLAS subroutine DAXPY.
IPOPTLIB_EXPORT void IpBlasDcopy(Index size, const Number *x, Index incX, Number *y, Index incY)
Wrapper for BLAS subroutine DCOPY.
IPOPTLIB_EXPORT void IpBlasDsymv(Index n, Number alpha, const Number *A, Index ldA, const Number *x, Index incX, Number beta, Number *y, Index incY)
Wrapper for BLAS subroutine DSYMV.
IPOPTLIB_EXPORT void IpBlasDtrsm(bool trans, Index ndim, Index nrhs, Number alpha, const Number *A, Index ldA, Number *B, Index ldB)
Wrapper for BLAS subroutine DTRSM.
IPOPTLIB_EXPORT void IpBlasDscal(Index size, Number alpha, Number *x, Index incX)
Wrapper for BLAS subroutine DSCAL.
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17
IPOPTLIB_EXPORT Number IpBlasDdot(Index size, const Number *x, Index incX, const Number *y, Index incY)
Wrapper for BLAS function DDOT.
IPOPTLIB_EXPORT Number IpBlasDasum(Index size, const Number *x, Index incX)
Wrapper for BLAS function DASUM.
double Number
Type of all numbers.
Definition: IpTypes.hpp:15
IPOPTLIB_EXPORT void IpBlasDgemm(bool transa, bool transb, Index m, Index n, Index k, Number alpha, const Number *A, Index ldA, const Number *B, Index ldB, Number beta, Number *C, Index ldC)
Wrapper for BLAS subroutine DGEMM.
IPOPTLIB_EXPORT Number IpBlasDnrm2(Index size, const Number *x, Index incX)
Wrapper for BLAS function DNRM2.