gradf.func: Gradient function of quardratic loss

View source: R/Functions_LpS.R

gradf.funcR Documentation

Gradient function of quardratic loss

Description

Gradient function of quardratic loss

Usage

gradf.func(x, AtA, Atb)

Arguments

x

A vector, or matrix, indicating the model parameter

AtA

A p by p Gram matrix for corresponding design matrix A

Atb

An inner product for design matrix A and corresponding matrix (vector) b

Value

Value of gradients


VARDetect documentation built on May 10, 2022, 9:07 a.m.