Skip to contents

lpdf$optcg(tol,epoch)

This optimizes the coefficient vector coeff using conjugate gradient. It currently is designed only for quadratic lpdf instances.

Arguments

tol

A positive double representing tolerance, default is 0.001.

epoch

A positive integer representing the maximum number of steps conjugate gradient will take.

Value

nothing is returned, the class instance is updated

See also