[x] tile function: tile(a, […]) to repeat an array should be easy
[x] row concatenation function (first n-1 dimensions must match, concatenates along last dimension)
[x] column concatenation function (last n-1 dimensions must match, concatenates along first dimension
[ ] convenience wrapper for linear algebra. They manage memory well, but it wasn't until I tried to summarize quickly how to use them that I realized it's really pretty opaque
[ ] apply condition to ndarrays—equivalent of, e.g. a[numpy.where(a < 0.5)] = 0. Maybe it returns a list of index tuples and there's a function that knows how to iterate over those pairs. Maybe a sparse array somehow?
[ ] function to create interleaved complex ndarray—could just add a trailing dimension, I think. Does dimension ordering complicate this? Also then a function to create real and a imaginary views. Wouldn't do anything special or force any convention upon anyone; just a convenience function that makes complex numbers consistent and predictable if interleaving works for you.
[x] linspace
[ ] meshgrid
[x] squeeze (and unsqueeze since reshape would be nice, but it's a slightly more complicated operation (requires copying, right?) than adding a singleton dimension.)
[ ] rfft
[ ] fftfreq for simplifying dealing with fft frequency
For starters:
tile(a, […])
to repeat an array should be easya[numpy.where(a < 0.5)] = 0
. Maybe it returns a list of index tuples and there's a function that knows how to iterate over those pairs. Maybe a sparse array somehow?linspace
meshgrid
squeeze
(andunsqueeze
sincereshape
would be nice, but it's a slightly more complicated operation (requires copying, right?) than adding a singleton dimension.)rfft
fftfreq
for simplifying dealing with fft frequency