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