nncg {SSPA} | R Documentation |
Non-negative conjugate gradient algorithm
nncg(A, b, type = 1, trace = FALSE)
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. |
C-implementation, details follow.
list containg regression coefficients and some additional information.
Maarten van Iterson