nncg: Non-negative conjugate gradient algorithm

Description Usage Arguments Details Value Author(s)

View source: R/conjugategradient.R

Description

Non-negative conjugate gradient algorithm

Usage

1
nncg(A, b, type = 1, trace = FALSE)

Arguments

A

the A matrix of the system: Ax = b.

b

the b vector of the system: Ax = b.

type

for the conjugate-gradients method. Takes value '1' for the Fletcher-Reeves update, '2' for Polak-Ribiere and '3' for Beale-Sorenson.

trace

tracing information on the progress of the optimization is produced.

Details

C-implementation, details follow.

Value

list containg regression coefficients and some additional information.

Author(s)

Maarten van Iterson


Rommelio-coli/SSPA documentation built on Dec. 18, 2021, 11 a.m.