![]() |
|
#include "common.h"
Go to the source code of this file.
Functions | |
if (UPLO(*uplo)==INVALID) info | |
else if * | lda (1, *n)) info=5;else if(*incx==0) info=7;else if(*incy==0) info=10;if(info) return xerbla_(SCALAR_SUFFIX_UP "SYMV ", &info |
if (beta !=Scalar(1)) | |
if (code >=2||func[code]==0) return | |
if (actual_x !=x) delete[] actual_x | |
if (actual_y !=y) delete[] copy_back(actual_y | |
else if * | ldc (1, *n)) info=7;if(info) return xerbla_(SCALAR_SUFFIX_UP "SYR ", &info |
if * | n (0)) return;const Scalar *x_cpy=get_compact_vector(x, *n, *incx |
if (x_cpy !=x) delete[] x_cpy | |
if (alpha==Scalar(0)) return | |
if (y_cpy !=y) delete[] y_cpy | |
EIGEN_BLAS_FUNC() | spr (char *uplo, int *n, Scalar *palpha, Scalar *px, int *incx, Scalar *pap) |
if (info) return xerbla_(SCALAR_SUFFIX_UP "SPR2 " | |
Variables | |
const char * | uplo |
const char const int * | n |
const char const int const RealScalar * | palpha |
const char const int const RealScalar const RealScalar * | pa |
const char const int const RealScalar const RealScalar const int * | lda |
const char const int const RealScalar const RealScalar const int const RealScalar * | px |
const char const int const RealScalar const RealScalar const int const RealScalar const int * | incx |
const char const int const RealScalar const RealScalar const int const RealScalar const int const RealScalar * | pbeta |
const char const int const RealScalar const RealScalar const int const RealScalar const int const RealScalar RealScalar * | py |
const char const int const RealScalar const RealScalar const int const RealScalar const int const RealScalar RealScalar const int * | incy |
static const functype | func [2] |
const Scalar * | a = reinterpret_cast<const Scalar *>(pa) |
const Scalar * | x = reinterpret_cast<const Scalar *>(px) |
Scalar * | y = reinterpret_cast<Scalar *>(py) |
Scalar | alpha = *reinterpret_cast<const Scalar *>(palpha) |
Scalar | beta = *reinterpret_cast<const Scalar *>(pbeta) |
int | info = 0 |
if n | return |
const Scalar * | actual_x = get_compact_vector(x, *n, *incx) |
Scalar * | actual_y = get_compact_vector(y, *n, *incy) |
int | code = UPLO(*uplo) |
const char const int const RealScalar const RealScalar const int RealScalar * | pc |
const char const int const RealScalar const RealScalar const int RealScalar const int * | ldc |
Scalar * | c = reinterpret_cast<Scalar *>(pc) |
const Scalar * | x_cpy = get_compact_vector(x, *n, *incx) |
const Scalar * | y_cpy = get_compact_vector(y, *n, *incy) |
char int RealScalar RealScalar int RealScalar int RealScalar * | pap |
Scalar * | ap = reinterpret_cast<Scalar *>(pap) |
int * | m |
References actual_y, beta, make_vector(), and n.
if | ( | code >=2|| | func[code] = =0 | ) |
if | ( | info | ) |
if* n | ( | 0 | ) | const |
EIGEN_BLAS_FUNC() spr | ( | char * | uplo, |
int * | n, | ||
Scalar * | palpha, | ||
Scalar * | px, | ||
int * | incx, | ||
Scalar * | pap | ||
) |
DSBMV performs the matrix-vector operation
y := alpha*A*x + beta*y,
where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric band matrix, with k super-diagonals. DSPMV performs the matrix-vector operation
y := alpha*A*x + beta*y,
where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric matrix, supplied in packed form. DSPR performs the symmetric rank 1 operation
A := alpha*x*x' + A,
where alpha is a real scalar, x is an n element vector and A is an n by n symmetric matrix, supplied in packed form.
References alpha, ap, code, get_compact_vector(), incx, info, int(), INVALID, n, palpha, pap, px, SCALAR_SUFFIX_UP, UPLO, uplo, x, x_cpy, and xerbla_().
const Scalar* actual_x = get_compact_vector(x, *n, *incx) |
|
static |
const char const char const int const int const RealScalar const RealScalar const int const RealScalar const int const RealScalar RealScalar const int * ldc |
Eigen::internal::general_rank1_update<Scalar, int, Eigen::ColMajor, false, false>::run* m |
DGER performs the rank 1 operation
A := alpha*x*y' + A,
where alpha is a scalar, x is an m element vector, y is an n element vector and A is an m by n matrix.
const char const int const RealScalar const RealScalar const int const RealScalar const int const RealScalar* pbeta |
const char const int const RealScalar const RealScalar const int const RealScalar const int RealScalar* pc |
char* uplo |
DSPR2 performs the symmetric rank 2 operation
A := alpha*x*y' + alpha*y*x' + A,
where alpha is a scalar, x and y are n element vectors and A is an n by n symmetric matrix, supplied in packed form.
Referenced by spr().
Scalar* y_cpy = get_compact_vector(y, *n, *incy) |