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

Implement atleast_2d and friends #18

Closed
rpadams opened this issue Apr 24, 2015 · 0 comments
Closed

Implement atleast_2d and friends #18

rpadams opened this issue Apr 24, 2015 · 0 comments

Comments

@rpadams
Copy link

rpadams commented Apr 24, 2015

http://docs.scipy.org/doc/numpy/reference/generated/numpy.atleast_2d.html

Sometimes I want a piece of code that can run on a stack of vectors. Other times I want it to work on a single vector, where I'd also like a gradient. Specific use case: I write a function handle for log likelihood. I might want its gradient, but I might also want to produce a contour plot without looping.

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

No branches or pull requests

1 participant