函数语法:
XGER( M, N, ALPHA, X, INCX, Y, INCY, A, LDA)
功能:
GER performs the rank 1 operation
A := alpha*x*y' + A,
C语言版SGER
C programming language version of SGER method with row primary order data storage.
源代码:
/*
Purpose:
SGER computes A := alpha*x*y' + A.
Discussion:
SGER 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.
Licensing:
This code is distributed under the GNU LGPL license.
Modified:
2017
Author:
Original FORTRAN77 version by Jack Dongarra, Jeremy Du Croz,
Sven Hammarling, Richard Hanson.
This C version by Chunfeng Yang, John Burkardt

本文介绍了BLAS库中的GER函数,详细讲解了C语言版本的SGER方法,该方法用于进行rank 1操作A := alpha*x*y' + A,并提供了源代码实现及测试结果。
最低0.47元/天 解锁文章
967

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



