Performing matrix-vector product on the form
y = alpha*op(A)*x + beta*y
where op(A) is of size (m x n) (m rows, n columns), alpha and beta are scalars, x and y are vectors.
If incx and incy is different from 1, the size of x and y must be at least:
(1+(n-1)*abs(incx/y)) or (1+(m - 1)*abs(incx/y))
instead of n and m respectively.
Namespace:
DHIMath.Numerics
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public static void dgemv(
BlasTranspose trans,
int m,
int n,
double alpha,
double[] a,
int lda,
double[] x,
int incx,
double beta,
double[] y,
int incy
)
Parameters
- trans
- Type: DHIMath.NumericsBlasTranspose
'N'/'n' for A*x, 'T'/'t' for A'*x, 'C'/'c' for conjg(A')*x - m
- Type: SystemInt32
Number of rows in A - n
- Type: SystemInt32
Number of columns in A - alpha
- Type: SystemDouble
Alpha scalar - a
- Type: SystemDouble
Matrix A in column major order (first column first) - lda
- Type: SystemInt32
Leading dimension of a, usually m, but can be larger. - x
- Type: SystemDouble
Array of size n for trans 'N', otherwise of size m - incx
- Type: SystemInt32
Increment in vector x, usually 1, but can be larger. - beta
- Type: SystemDouble
Beta scalar. When beta = 0, y need not be initialized - y
- Type: SystemDouble
Array of size m for trans='N', otherwise of size n - incy
- Type: SystemInt32
Increment in vector y, usually 1, but can be larger.
See Also