syrgpu: syrgpu

Description Usage Arguments Value See Also

View source: R/L2blas.R

Description

This function performs rank 1 update, A = a x x T + A, where A is symmetric matrix, x is vector, a is scalar by using CUDA cublas function cublasDsyr

Usage

1
syrgpu(fillmode = 1, alpha = 1, x, A)

Arguments

fillmode

indicates if matrix A lower or upper part is stored, the other symmetric part is not referenced and is inferred from the stored elements. if fillmode == 1 then the symmetric banded matrix A is stored in lower mode if fillmode == 2 then the symmetric banded matrix A is stored in upper mode

alpha

scale factor a of symmetric banded matrix A; default 1

x

input vector; list of R external GPU pointer and dimension

A

input matrix; list of R external GPU pointer and dimension

Value

updated matrix A

See Also

gergpu


yuanli22/RCUDA documentation built on May 4, 2019, 6:35 p.m.