Next: Level 3 GSL BLAS Interface, Previous: Level 1 GSL BLAS Interface, Up: GSL BLAS Interface
These functions compute the matrix-vector product and sum y = \alpha op(A) x + \beta y, where op(A) = A, A^T, A^H for TransA =
CblasNoTrans
,CblasTrans
,CblasConjTrans
.
These functions compute the matrix-vector product x =\alpha op(A) x for the triangular matrix A, where op(A) = A, A^T, A^H for TransA =
CblasNoTrans
,CblasTrans
,CblasConjTrans
. When Uplo isCblasUpper
then the upper triangle of A is used, and when Uplo isCblasLower
then the lower triangle of A is used. If Diag isCblasNonUnit
then the diagonal of the matrix is used, but if Diag isCblasUnit
then the diagonal elements of the matrix A are taken as unity and are not referenced.
These functions compute inv(op(A)) x for x, where op(A) = A, A^T, A^H for TransA =
CblasNoTrans
,CblasTrans
,CblasConjTrans
. When Uplo isCblasUpper
then the upper triangle of A is used, and when Uplo isCblasLower
then the lower triangle of A is used. If Diag isCblasNonUnit
then the diagonal of the matrix is used, but if Diag isCblasUnit
then the diagonal elements of the matrix A are taken as unity and are not referenced.
These functions compute the matrix-vector product and sum y = \alpha A x + \beta y for the symmetric matrix A. Since the matrix A is symmetric only its upper half or lower half need to be stored. When Uplo is
CblasUpper
then the upper triangle and diagonal of A are used, and when Uplo isCblasLower
then the lower triangle and diagonal of A are used.
These functions compute the matrix-vector product and sum y = \alpha A x + \beta y for the hermitian matrix A. Since the matrix A is hermitian only its upper half or lower half need to be stored. When Uplo is
CblasUpper
then the upper triangle and diagonal of A are used, and when Uplo isCblasLower
then the lower triangle and diagonal of A are used. The imaginary elements of the diagonal are automatically assumed to be zero and are not referenced.
These functions compute the rank-1 update A = \alpha x y^T + A of the matrix A.
These functions compute the conjugate rank-1 update A = \alpha x y^H + A of the matrix A.
These functions compute the symmetric rank-1 update A = \alpha x x^T + A of the symmetric matrix A. Since the matrix A is symmetric only its upper half or lower half need to be stored. When Uplo is
CblasUpper
then the upper triangle and diagonal of A are used, and when Uplo isCblasLower
then the lower triangle and diagonal of A are used.
These functions compute the hermitian rank-1 update A = \alpha x x^H + A of the hermitian matrix A. Since the matrix A is hermitian only its upper half or lower half need to be stored. When Uplo is
CblasUpper
then the upper triangle and diagonal of A are used, and when Uplo isCblasLower
then the lower triangle and diagonal of A are used. The imaginary elements of the diagonal are automatically set to zero.
These functions compute the symmetric rank-2 update A = \alpha x y^T + \alpha y x^T + A of the symmetric matrix A. Since the matrix A is symmetric only its upper half or lower half need to be stored. When Uplo is
CblasUpper
then the upper triangle and diagonal of A are used, and when Uplo isCblasLower
then the lower triangle and diagonal of A are used.
These functions compute the hermitian rank-2 update A = \alpha x y^H + \alpha^* y x^H A of the hermitian matrix A. Since the matrix A is hermitian only its upper half or lower half need to be stored. When Uplo is
CblasUpper
then the upper triangle and diagonal of A are used, and when Uplo isCblasLower
then the lower triangle and diagonal of A are used. The imaginary elements of the diagonal are automatically set to zero.