sqrt_inv_d2_lambda: Compute the square root of the inverse of (d^2 + lambda).

View source: R/fit.R

sqrt_inv_d2_lambdaR Documentation

Compute the square root of the inverse of (d^2 + lambda).

Description

Compute the square root of the inverse of (d^2 + lambda).

Usage

sqrt_inv_d2_lambda(d, lambda)

Arguments

d

A scalar of singular value of X.

lambda

A scalar of the ridge penalty.

Value

A scalar of the square root of the inverse of (d^2 + lambda).


rrda documentation built on June 8, 2025, 12:09 p.m.