get_coef: Get the nonzero coefficients

Description Usage Arguments Value Author(s)

Description

Extracting nonzero coefficients from list (of lists) of matrices

Usage

1
get_coef(object, index = 1:length(object))

Arguments

object

a list of lists of matrices or a list of matrices

index

indices to be extracted from

Value

a list (of lists) with the nonzero coefficients

Author(s)

Martin Vincent


sglOptim documentation built on May 8, 2019, 1:02 a.m.