23 static const functype
func[2] = {
30 const Scalar*
a =
reinterpret_cast<const Scalar*
>(pa);
31 const Scalar*
x =
reinterpret_cast<const Scalar*
>(
px);
32 Scalar*
y =
reinterpret_cast<Scalar*
>(
py);
33 Scalar
alpha = *
reinterpret_cast<const Scalar*
>(
palpha);
34 Scalar beta = *
reinterpret_cast<const Scalar*
>(pbeta);
39 else if(*
n<0) info = 2;
41 else if(*
incx==0) info = 7;
42 else if(*
incy==0) info = 10;
61 if(code>=2 || func[code]==0)
67 if(actual_x!=x)
delete[] actual_x;
108 static const functype
func[2] = {
115 Scalar*
x =
reinterpret_cast<Scalar*
>(
px);
116 Scalar* ap =
reinterpret_cast<Scalar*
>(pap);
121 else if(*
n<0) info = 2;
122 else if(*
incx==0) info = 5;
132 if(code>=2 || func[code]==0)
137 if(x_cpy!=x)
delete[] x_cpy;
151 typedef void (*functype)(
int,
Scalar*,
const Scalar*,
const Scalar*,
Scalar);
152 static const functype
func[2] = {
159 Scalar*
x =
reinterpret_cast<Scalar*
>(
px);
160 Scalar*
y =
reinterpret_cast<Scalar*
>(
py);
161 Scalar* ap =
reinterpret_cast<Scalar*
>(pap);
166 else if(*
n<0) info = 2;
167 else if(*
incx==0) info = 5;
168 else if(*
incy==0) info = 7;
179 if(code>=2 || func[code]==0)
184 if(x_cpy!=x)
delete[] x_cpy;
185 if(y_cpy!=y)
delete[] y_cpy;
199 typedef void (*functype)(
int,
Scalar*,
int,
const Scalar*,
const Scalar*,
const Scalar&);
200 static const functype
func[2] = {
207 Scalar*
x =
reinterpret_cast<Scalar*
>(
px);
208 Scalar*
a =
reinterpret_cast<Scalar*
>(pa);
213 else if(*
n<0) info = 2;
214 else if(*
incx==0) info = 5;
225 if(code>=2 || func[code]==0)
230 matrix(a,*n,*n,*lda).diagonal().imag().setZero();
232 if(x_cpy!=x)
delete[] x_cpy;
247 static const functype
func[2] = {
254 Scalar*
x =
reinterpret_cast<Scalar*
>(
px);
255 Scalar*
y =
reinterpret_cast<Scalar*
>(
py);
256 Scalar*
a =
reinterpret_cast<Scalar*
>(pa);
261 else if(*
n<0) info = 2;
262 else if(*
incx==0) info = 5;
263 else if(*
incy==0) info = 7;
275 if(code>=2 || func[code]==0)
280 matrix(a,*n,*n,*lda).diagonal().imag().setZero();
282 if(x_cpy!=x)
delete[] x_cpy;
283 if(y_cpy!=y)
delete[] y_cpy;
304 else if(*
n<0) info = 2;
305 else if(*
incx==0) info = 5;
306 else if(*
incy==0) info = 7;
317 internal::general_rank1_update<Scalar,int,ColMajor,false,false>::run(*
m, *
n, a, *
lda, x_cpy, y_cpy, alpha);
319 if(x_cpy!=x)
delete[] x_cpy;
320 if(y_cpy!=y)
delete[] y_cpy;
341 else if(*
n<0) info = 2;
342 else if(*
incx==0) info = 5;
343 else if(*
incy==0) info = 7;
354 internal::general_rank1_update<Scalar,int,ColMajor,false,Conj>::run(*
m, *
n, a, *
lda, x_cpy, y_cpy, alpha);
356 if(x_cpy!=x)
delete[] x_cpy;
357 if(y_cpy!=y)
delete[] y_cpy;
int EIGEN_BLAS_FUNC() gerc(int *m, int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pa, int *lda)
RealScalar RealScalar int * incx
int EIGEN_BLAS_FUNC() her2(char *uplo, int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pa, int *lda)
T * copy_back(T *x_cpy, T *x, int n, int incx)
int EIGEN_BLAS_FUNC() her(char *uplo, int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *pa, int *lda)
int EIGEN_BLAS_FUNC() hpr(char *uplo, int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *pap)
#define EIGEN_BLAS_FUNC(X)
T * get_compact_vector(T *x, int n, int incx)
int RealScalar int RealScalar * py
EIGEN_WEAK_LINKING int xerbla_(const char *msg, int *info, int)
RealScalar RealScalar * px
NumTraits< Scalar >::Real RealScalar
Map< Matrix< T, Dynamic, 1 >, 0, InnerStride< Dynamic > > make_vector(T *data, int size, int incr)
int EIGEN_BLAS_FUNC() geru(int *m, int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pa, int *lda)
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
void run(Expr &expr, Dev &dev)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
int EIGEN_BLAS_FUNC() hemv(const char *uplo, const int *n, const RealScalar *palpha, const RealScalar *pa, const int *lda, const RealScalar *px, const int *incx, const RealScalar *pbeta, RealScalar *py, const int *incy)
int RealScalar int RealScalar int * incy
int EIGEN_BLAS_FUNC() hpr2(char *uplo, int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pap)