Intel® oneAPI Math Kernel Library Developer Reference - C
Performs rotation of points in the plane.
void cblas_srot (const MKL_INT n, float *x, const MKL_INT incx, float *y, const MKL_INT incy, const float c, const float s);
void cblas_drot (const MKL_INT n, double *x, const MKL_INT incx, double *y, const MKL_INT incy, const double c, const double s);
void cblas_csrot (const MKL_INT n, void *x, const MKL_INT incx, void *y, const MKL_INT incy, const float c, const float s);
void cblas_zdrot (const MKL_INT n, void *x, const MKL_INT incx, void *y, const MKL_INT incy, const double c, const double s);
Given two complex vectors x and y, each vector element of these vectors is replaced as follows:
xi = c*xi + s*yi
yi = c*yi - s*xi
Specifies the number of elements in vectors x and y.
Array, size at least (1 + (n-1)*abs(incx)).
Specifies the increment for the elements of x.
Array, size at least (1 + (n -1)*abs(incy)).
Specifies the increment for the elements of y.
A scalar.
A scalar.
Each element is replaced by c*x + s*y.
Each element is replaced by c*y - s*x.