Dear All,
To reproduce
x = {1,1}'
catch eval numhess(x,x'*x)
catch eval fdjac(x,x'*x)
catch eval fdjac(x,(x'*x))
function matrix i(matrix x)
return x
end function
eval numhess(x,i(x'*x))
eval fdjac(x,i(x'*x))
Why it may look trivial, I spent
some time to guess to use
identity function
I can imagine 2 possibilities:
1) to include native identity
function in hansl
2)fdjac and numhess should do
something similar inside
???
Oleh