Home | History | Annotate | Download | only in blas

Lines Matching defs:alpha

14   *     y := alpha*A*x + beta*y,
16 * where alpha and beta are scalars, x and y are n element vectors and
24 Scalar alpha = *reinterpret_cast<Scalar*>(palpha);
49 if(alpha!=Scalar(0))
52 if(UPLO(*uplo)==UP) vector(actual_y,*n).noalias() += matrix(a,*n,*n,*lda).selfadjointView<Upper>() * (alpha * vector(actual_x,*n));
53 else if(UPLO(*uplo)==LO) vector(actual_y,*n).noalias() += matrix(a,*n,*n,*lda).selfadjointView<Lower>() * (alpha * vector(actual_x,*n));
64 * y := alpha*A*x + beta*y,
66 * where alpha and beta are scalars, x and y are n element vectors and
69 // int EIGEN_BLAS_FUNC(hbmv)(char *uplo, int *n, int *k, RealScalar *alpha, RealScalar *a, int *lda,
77 * y := alpha*A*x + beta*y,
79 * where alpha and beta are scalars, x and y are n element vectors and
82 // int EIGEN_BLAS_FUNC(hpmv)(char *uplo, int *n, RealScalar *alpha, RealScalar *ap, RealScalar *x, int *incx, RealScalar *beta, RealScalar *y, int *incy)
89 * A := alpha*x*conjg( x' ) + A,
91 * where alpha is a real scalar, x is an n element vector and A is an
94 // int EIGEN_BLAS_FUNC(hpr)(char *uplo, int *n, RealScalar *alpha, RealScalar *x, int *incx, RealScalar *ap)
101 * A := alpha*x*conjg( y' ) + conjg( alpha )*y*conjg( x' ) + A,
103 * where alpha is a scalar, x and y are n element vectors and A is an
113 * A := alpha*x*conjg( x' ) + A,
115 * where alpha is a real scalar, x is an n element vector and A is an
122 RealScalar alpha = *reinterpret_cast<RealScalar*>(palpha);
132 if(alpha==RealScalar(0))
138 // if(UPLO(*uplo)==LO) matrix(a,*n,*n,*lda).selfadjointView<Lower>().rankUpdate(vector(x_cpy,*n), alpha);
139 // else if(UPLO(*uplo)==UP) matrix(a,*n,*n,*lda).selfadjointView<Upper>().rankUpdate(vector(x_cpy,*n), alpha);
143 matrix(a,*n,*n,*lda).col(j).tail(*n-j) += alpha * internal::conj(x_cpy[j]) * vector(x_cpy+j,*n-j);
146 matrix(a,*n,*n,*lda).col(j).head(j+1) += alpha * internal::conj(x_cpy[j]) * vector(x_cpy,j+1);
157 * A := alpha*x*conjg( y' ) + conjg( alpha )*y*conjg( x' ) + A,
159 * where alpha is a scalar, x and y are n element vectors and A is an n
167 Scalar alpha = *reinterpret_cast<Scalar*>(palpha);
178 if(alpha==Scalar(0))
185 if(UPLO(*uplo)==LO) matrix(a,*n,*n,*lda).selfadjointView<Lower>().rankUpdate(vector(x_cpy,*n),vector(y_cpy,*n),alpha);
186 else if(UPLO(*uplo)==UP) matrix(a,*n,*n,*lda).selfadjointView<Upper>().rankUpdate(vector(x_cpy,*n),vector(y_cpy,*n),alpha);
198 * A := alpha*x*y' + A,
200 * where alpha is a scalar, x is an m element vector, y is an n element
208 Scalar alpha = *reinterpret_cast<Scalar*>(palpha);
219 if(alpha==Scalar(0))
226 matrix(a,*m,*n,*lda) += alpha * vector(x_cpy,*m) * vector(y_cpy,*n).transpose();
236 * A := alpha*x*conjg( y' ) + A,
238 * where alpha is a scalar, x is an m element vector, y is an n element
246 Scalar alpha = *reinterpret_cast<Scalar*>(palpha);
257 if(alpha==Scalar(0))
264 matrix(a,*m,*n,*lda) += alpha * vector(x_cpy,*m) * vector(y_cpy,*n).adjoint();