Daniel@0: Daniel@0:
Daniel@0:linef(lambda, fn, x, d)
calculates the value of the function
Daniel@0: fn
at the point x+lambda*d
. Here x
is a row vector
Daniel@0: and lambda
is a scalar.
Daniel@0:
Daniel@0: linef(lambda, fn, x, d, p1, p2, ...)
allows additional
Daniel@0: arguments to be passed to fn()
.
Daniel@0: This function is used for convenience in some of the optimisation routines.
Daniel@0:
Daniel@0:
linemin
.
Daniel@0:
Daniel@0: gradchek
, linemin
Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: