Description Usage Arguments Value See Also
This function computes symmetric banded matrix-vector multipication y = a A x + b y by using CUDA cublas function cublasDsbmv
1 |
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 column by column, with the main diagonal of the matrix stored in row 1, the first subdiagonal in row 2 (starting at first position), the second subdiagonal in row 3 (starting at first position), etc. if fillmode == 2 then the symmetric banded matrix A is stored column by column, with the main diagonal of the matrix stored in row k+1, the first superdiagonal in row k (starting at second position), the second superdiagonal in row k-1 (starting at third position), etc. |
k |
number of subdiagonals |
alpha |
scale factor a of symmetric banded matrix A; default 1 |
A |
input matrix; list of R external GPU pointer and dimension |
x |
input vector; list of R external GPU pointer and dimension |
beta |
scale factor b of vector y; default 0 |
y |
input/output vector; list of R external GPU pointer and dimension |
vector y, a list consisting of
ptr: GPU pointer
m: length of vector y
n: 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.