Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear about the problem 5 #4

Open
JuneZzj opened this issue Jan 10, 2020 · 2 comments
Open

Unclear about the problem 5 #4

JuneZzj opened this issue Jan 10, 2020 · 2 comments

Comments

@JuneZzj
Copy link

JuneZzj commented Jan 10, 2020

@rickecon Hi Dr. Rick,
As I read the problem 5 in the Differential section, I am not sure about which kind of function we are supposed to write. Shall we define a single function which accepts an arbitrary function and calculate its Jacobian matrix (i.e. the parameter can be either "x" or anything else)? Or we can write a set of functions and separate the assignment of assigning the function and the assignment of assigning float h and a point x. I am thinking about whether we need to consider the special case where the unknown parameter should be observed by the function itself. A similar question can be applied to other problems in this problem sets. Are we suppose to consider all the possible cases of the function format and their unknown variables? Thanks.

@rickecon
Copy link
Contributor

rickecon commented Jan 12, 2020

@JuneZzj . In problem 5 in the Numerical Differentiation part of the assignment, you need two write at least two functions--one function that maps R^N to R^M, and one function that takes the three arguments and calculates the Jacobian. The second paragraph of the problem describes the first function you need to write that maps R^N to R^M. In this case, it maps R^2 into R^2.

@rickecon
Copy link
Contributor

@JuneZzj . Oops, I found an error in my previous response and just updated it. The last sentence of my response used to incorrectly read,

In this case, it maps R^2 into R^1.

I have now updated it to correctly read,

In this case, it maps R^2 into R^2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants