Home | History | Annotate | Download | only in blas

Lines Matching refs:incx

12 int EIGEN_BLAS_FUNC(axpy)(const int *n, const RealScalar *palpha, const RealScalar *px, const int *incx, RealScalar *py, const int *incy)
20 if(*incx==1 && *incy==1) make_vector(y,*n) += alpha * make_vector(x,*n);
21 else if(*incx>0 && *incy>0) make_vector(y,*n,*incy) += alpha * make_vector(x,*n,*incx);
22 else if(*incx>0 && *incy<0) make_vector(y,*n,-*incy).reverse() += alpha * make_vector(x,*n,*incx);
23 else if(*incx<0 && *incy>0) make_vector(y,*n,*incy) += alpha * make_vector(x,*n,-*incx).reverse();
24 else if(*incx<0 && *incy<0) make_vector(y,*n,-*incy).reverse() += alpha * make_vector(x,*n,-*incx).reverse();
29 int EIGEN_BLAS_FUNC(copy)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy)
36 // be carefull, *incx==0 is allowed !!
37 if(*incx==1 && *incy==1)
41 if(*incx<0) x = x - (*n-1)*(*incx);
46 x += *incx;
54 int EIGEN_CAT(EIGEN_CAT(i,SCALAR_SUFFIX),amax_)(int *n, RealScalar *px, int *incx)
60 if(*incx==1) make_vector(x,*n).cwiseAbs().maxCoeff(&ret);
61 else make_vector(x,*n,std::abs(*incx)).cwiseAbs().maxCoeff(&ret);
65 int EIGEN_CAT(EIGEN_CAT(i,SCALAR_SUFFIX),amin_)(int *n, RealScalar *px, int *incx)
71 if(*incx==1) make_vector(x,*n).cwiseAbs().minCoeff(&ret);
72 else make_vector(x,*n,std::abs(*incx)).cwiseAbs().minCoeff(&ret);
139 int EIGEN_BLAS_FUNC(scal)(int *n, RealScalar *palpha, RealScalar *px, int *incx)
146 if(*incx==1) make_vector(x,*n) *= alpha;
147 else make_vector(x,*n,std::abs(*incx)) *= alpha;
152 int EIGEN_BLAS_FUNC(swap)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy)
159 if(*incx==1 && *incy==1) make_vector(y,*n).swap(make_vector(x,*n));
160 else if(*incx>0 && *incy>0) make_vector(y,*n,*incy).swap(make_vector(x,*n,*incx));
161 else if(*incx>0 && *incy<0) make_vector(y,*n,-*incy).reverse().swap(make_vector(x,*n,*incx));
162 else if(*incx<0 && *incy>0) make_vector(y,*n,*incy).swap(make_vector(x,*n,-*incx).reverse());
163 else if(*incx<0 && *incy<0) make_vector(y,*n,-*incy).reverse().swap(make_vector(x,*n,-*incx).reverse());