Dear students,
In the homework video I suggested you to consider two examples, which you can use for myfunc:
Example1. phi(Ax): You can create an arbitrary matrix A and choose some arbitrary function phi of several variables, like x1*sin(x2+x3)
Example2. phi(f(x)): Create your own arbitrary function of several variables f(x) and function of one variable phi(x)
Michael
On Mon, Apr 12, 2010 at 12:28 AM, Yaron Shulamy <yaron.shulamy@gmail.com> wrote:
In the homework video I suggested you to consider two examples, which you can use for myfunc:
Example1. phi(Ax): You can create an arbitrary matrix A and choose some arbitrary function phi of several variables, like x1*sin(x2+x3)
Example2. phi(f(x)): Create your own arbitrary function of several variables f(x) and function of one variable phi(x)
Michael
On Mon, Apr 12, 2010 at 12:28 AM, Yaron Shulamy <yaron.shulamy@gmail.com> wrote:
Hi Michael,
Thank you for the reply.
I didn't understand what we should do in "myfunc", it gets parameters and point, but what does it do?
I can see how to do a function that gets a function and a point and calculate the gradient and Hessian numerically, but i don't understand what "myfunc" should be like
Thanks again,
Yaron Shulamy
No comments:
Post a Comment