Wessel

Results 126 comments of Wessel

In terms of syntax, I think that something like ```python @convert.dispatch def convert(to: Type[A], b: B): ... ``` and then calling it as `convert(A, b)` would be most similar to...

@ggoretkin-bdai I agree with your message on all points! :) I also think that Plum should define a `convert` function, and ideally this function should be defined without any `invoke`-hacks,...

This is great!! Thanks, @nstarman :)

Hey @kuraga, You're right that it would perhaps be possible to set things up in the way that you describe, and that a construction like that wouldn't be unreasonable. Perhaps...

@nstarman Will do! Will report back here when that's enabled.

@kbarros, depending on what you're after, Hessian-vector products could be implemented [like this](https://github.com/wesselb/fdm/blob/master/fdm/multivariate.py#L154). (That's the Python version of this package.)