17 static const functype
func[2] = {
24 const Scalar*
a =
reinterpret_cast<const Scalar*
>(pa);
25 const Scalar*
x =
reinterpret_cast<const Scalar*
>(
px);
26 Scalar*
y =
reinterpret_cast<Scalar*
>(
py);
27 Scalar
alpha = *
reinterpret_cast<const Scalar*
>(
palpha);
28 Scalar beta = *
reinterpret_cast<const Scalar*
>(pbeta);
33 else if(*
n<0) info = 2;
35 else if(*
incx==0) info = 7;
36 else if(*
incy==0) info = 10;
53 if(code>=2 || func[code]==0)
58 if(actual_x!=x)
delete[] actual_x;
68 typedef void (*functype)(
int,
Scalar*,
int,
const Scalar*,
const Scalar*,
const Scalar&);
69 static const functype
func[2] = {
76 const Scalar*
x =
reinterpret_cast<const Scalar*
>(
px);
77 Scalar*
c =
reinterpret_cast<Scalar*
>(
pc);
78 Scalar
alpha = *
reinterpret_cast<const Scalar*
>(
palpha);
82 else if(*
n<0) info = 2;
83 else if(*
incx==0) info = 5;
88 if(*
n==0 || alpha==
Scalar(0))
return 1;
94 if(code>=2 || func[code]==0)
99 if(x_cpy!=x)
delete[] x_cpy;
108 static const functype
func[2] = {
115 const Scalar*
x =
reinterpret_cast<const Scalar*
>(
px);
116 const Scalar*
y =
reinterpret_cast<const Scalar*
>(
py);
117 Scalar*
c =
reinterpret_cast<Scalar*
>(
pc);
118 Scalar
alpha = *
reinterpret_cast<const Scalar*
>(
palpha);
122 else if(*
n<0) info = 2;
123 else if(*
incx==0) info = 5;
124 else if(*
incy==0) info = 7;
136 if(code>=2 || func[code]==0)
141 if(x_cpy!=x)
delete[] x_cpy;
142 if(y_cpy!=y)
delete[] y_cpy;
189 static const functype
func[2] = {
196 Scalar*
x =
reinterpret_cast<Scalar*
>(
px);
197 Scalar* ap =
reinterpret_cast<Scalar*
>(pap);
202 else if(*
n<0) info = 2;
203 else if(*
incx==0) info = 5;
213 if(code>=2 || func[code]==0)
218 if(x_cpy!=x)
delete[] x_cpy;
232 typedef void (*functype)(
int,
Scalar*,
const Scalar*,
const Scalar*,
Scalar);
233 static const functype
func[2] = {
240 Scalar*
x =
reinterpret_cast<Scalar*
>(
px);
241 Scalar*
y =
reinterpret_cast<Scalar*
>(
py);
242 Scalar* ap =
reinterpret_cast<Scalar*
>(pap);
247 else if(*
n<0) info = 2;
248 else if(*
incx==0) info = 5;
249 else if(*
incy==0) info = 7;
260 if(code>=2 || func[code]==0)
265 if(x_cpy!=x)
delete[] x_cpy;
266 if(y_cpy!=y)
delete[] y_cpy;
287 else if(*
n<0) info = 2;
288 else if(*
incx==0) info = 5;
289 else if(*
incy==0) info = 7;
300 internal::general_rank1_update<Scalar,int,ColMajor,false,false>::run(*
m, *
n, a, *
lda, x_cpy, y_cpy, alpha);
302 if(x_cpy!=x)
delete[] x_cpy;
303 if(y_cpy!=y)
delete[] y_cpy;
int EIGEN_BLAS_FUNC() spr2(char *uplo, int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pap)
int EIGEN_BLAS_FUNC() syr2(const char *uplo, const int *n, const RealScalar *palpha, const RealScalar *px, const int *incx, const RealScalar *py, const int *incy, RealScalar *pc, const int *ldc)
int RealScalar int RealScalar int RealScalar * pc
RealScalar RealScalar int * incx
T * copy_back(T *x_cpy, T *x, int n, int incx)
#define EIGEN_BLAS_FUNC(X)
int EIGEN_BLAS_FUNC() spr(char *uplo, int *n, Scalar *palpha, Scalar *px, int *incx, Scalar *pap)
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
int EIGEN_BLAS_FUNC() ger(int *m, int *n, Scalar *palpha, Scalar *px, int *incx, Scalar *py, int *incy, Scalar *pa, int *lda)
NumTraits< Scalar >::Real RealScalar
int EIGEN_BLAS_FUNC() symv(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)
Map< Matrix< T, Dynamic, 1 >, 0, InnerStride< Dynamic > > make_vector(T *data, int size, int incr)
int EIGEN_BLAS_FUNC() syr(const char *uplo, const int *n, const RealScalar *palpha, const RealScalar *px, const int *incx, RealScalar *pc, const int *ldc)
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 RealScalar int RealScalar int * incy