100 else if(*incx<0 && *incy>0) *res = (
make_vector(x,*n,-*incx).reverse().cwiseProduct(
make_vector(y,*n,*incy))).sum();
int EIGEN_BLAS_FUNC() rot(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pc, RealScalar *ps)
RealScalar EIGEN_CAT(REAL_SCALAR_SUFFIX, EIGEN_BLAS_FUNC(asum))(int *n
#define EIGEN_EMPTY_STRUCT_CTOR(X)
StridedVectorType vy(make_vector(y, *n, std::abs(*incy)))
Reverse< StridedVectorType > rvy(vy)
RealScalar EIGEN_BLAS_FUNC() asum(int *n, RealScalar *px, int *incx)
A matrix or vector expression mapping an existing array of data.
int RealScalar int RealScalar int RealScalar * pc
RealScalar RealScalar int * incx
EIGEN_DEVICE_FUNC void apply_rotation_in_the_plane(DenseBase< VectorX > &xpr_x, DenseBase< VectorY > &xpr_y, const JacobiRotation< OtherScalar > &j)
Namespace containing all symbols from the Eigen library.
Rotation given by a cosine-sine pair.
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
int EIGEN_BLAS_FUNC() dotuw(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pres)
int RealScalar int RealScalar int RealScalar RealScalar * ps
std::complex< RealScalar > Complex
#define REAL_SCALAR_SUFFIX
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
int EIGEN_BLAS_FUNC(EIGEN_CAT(REAL_SCALAR_SUFFIX, rot))(int *n
int RealScalar int RealScalar * py
StridedVectorType vx(make_vector(x, *n, std::abs(*incx)))
RealScalar RealScalar * px
int EIGEN_BLAS_FUNC() dotcw(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pres)
Scalar EIGEN_BLAS_FUNC() nrm2(int *n, RealScalar *px, int *incx)
NumTraits< Scalar >::Real RealScalar
Reverse< StridedVectorType > rvx(vx)
if incx return make_vector(x, *n).unaryExpr< scalar_norm1_op >().sum()
EIGEN_DEFAULT_DENSE_INDEX_TYPE DenseIndex
void reverse(const MatrixType &m)
Expression of the reverse of a vector or matrix.
int RealScalar int RealScalar int * incy
int EIGEN_BLAS_FUNC() scal(int *n, RealScalar *palpha, RealScalar *px, int *incx)