函数语法:
XCOPY( N, X, INCX, Y, INCY)
功能:
COPY copies a vector X to a vector Y.
BLAS level 1 function
参数:
Input, int N, the number of elements in DX and DY.
Input, double X[*], the first vector.
Input, int incX, the increment between successive entries of X.
Output, double Y[*], the second vector.
Input, int incY, the increment between successive entries of Y.
void cblas_dcopy(const int N, const double *X, const int incX, double *Y,
const int incY)
{
if (N <= 0)

这篇博客介绍了BLAS库中COPY函数的基本用法,包括其函数语法和参数含义。COPY函数用于将一个向量X复制到另一个向量Y,属于BLAS级别1的功能。文中还提到了如何使用f2c转换出dcopy函数的代码。
最低0.47元/天 解锁文章
906

被折叠的 条评论
为什么被折叠?



