Learn R Programming

BayesNSGP (version 0.2.0)

R_sparse_tcrossprod: nimble_sparse_tcrossprod

Description

nimble_sparse_tcrossprod

Usage

R_sparse_tcrossprod(i, j, x, subset = -1)

Arguments

i

Vector of row indices.

j

Vector of column indices.

x

Vector of values in the matrix.

subset

Optional vector of rows to include in the calculation.