fn
sgemv
void sgemv(bool transA, int M, int N, float alpha, const float * A, int lda, const float * x, int incx, float beta, float * y, int incy)Single-precision general matrix-vector multiply (GEMV).
Computes in row-major layout via
Accelerate's cblas_sgemv. Significantly cheaper than sgemm for
vector right-hand sides because the inner loop stays in cache.
Math
References
Accelerate.framework cblas_sgemv.
Parameters
transAboolIf true, compute instead.
M, Nint. When
transA is false, has elements and has ; reversed when transA is true.alpha, betafloatLinear-combination coefficients.
Aconst float*Row-major matrix buffer.
xconst float*Input vector buffer (stride
incx).yfloat*Output vector buffer (stride
incy); updated in place.ldaintLeading dimension (row stride) of .
incx, incyintElement stride within the input/output vectors.