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

Support derivatives of maps #3

Closed
dlfivefifty opened this issue Sep 12, 2017 · 6 comments
Closed

Support derivatives of maps #3

dlfivefifty opened this issue Sep 12, 2017 · 6 comments

Comments

@dlfivefifty
Copy link
Member

I like overriding ctranspose so that

m = LinearMap(5)
m' # returns `ConstantMap` or something
@dlfivefifty dlfivefifty mentioned this issue Sep 12, 2017
8 tasks
@dlfivefifty
Copy link
Member Author

I think this should be done via DualNumbers.jl for scalar maps. Maybe ForwardDiff.jl for Jacobians?

Should m' give the Jacobian in general?

@daanhb
Copy link
Member

daanhb commented Sep 18, 2017

There is some work to do on maps. Currently, Jacobians are not implemented for any map other than a linear one. This syntax looks good to me, it is not unlike abusing ctranspose to compute the derivative of a function.

@daanhb
Copy link
Member

daanhb commented Jul 26, 2018

Jacobians for some maps are functional now in the development branch. The idea is that the jacobian of a map returns a new map. There is now a ConstantMap and a ZeroMap to support this for affine maps.
I believe the development branch has been made 0.7 compatible by @vincentcp also, in the meantime.

@dlfivefifty
Copy link
Member Author

Ive been using master on 0.7 without issues

@vincentcp
Copy link
Contributor

vincentcp commented Jul 26, 2018 via email

@daanhb
Copy link
Member

daanhb commented Jul 26, 2018

Okay, I guess this issue can be closed then. Support for derivatives of maps is not complete, but the framework is there and it is clear (hopefully).

@daanhb daanhb closed this as completed Jul 26, 2018
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

3 participants