SparseM_solve: Helper function to slm_fit_csr

View source: R/utils.R

SparseM_solveR Documentation

Helper function to slm_fit_csr

Description

This function performs some checks and takes action to ensure positive definiteness of matrices passed to SparseM functions.

Usage

SparseM_solve(x, y, ...)

Arguments

x

A slm.fit.csr

y

A slm.fit.csr

...

A slm.fit.csr

Value

list containing coefficients (vector or matrix), the Cholesky decomposition (of class matrix.csr.chol), and a vector specifying the indices of which values on the diagonal of x'x are nonzero. These are named "coef", "chol" and "gramian_reduction_index", respectively.


RItools documentation built on June 8, 2025, 10:41 a.m.