Learn R Programming

BayesNSGP (version 0.2.0)

R_sparse_crossprod: nimble_sparse_crossprod

Description

nimble_sparse_crossprod

Usage

R_sparse_crossprod(i, j, x, z, n, subset = -1, transp = 1)

Arguments

i

Vector of row indices.

j

Vector of column indices.

x

Vector of values in the matrix.

z

Vector to calculate the cross-product with.

n

Length of the vector

subset

Optional vector of rows to include in the calculation.

transp

Optional indicator of using the transpose