mamrehn
mamrehn
For non-complex evaluation expressions, a simple workaround for you might be using a numpy [view](https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.view.html). import numpy as np import numexpr as ne a = np.random.random((10,20)) 500000).view(np.uint8) %timeit (a >...
> The `sum` variant was the next best thing I could come up with. You could also use `max` in this case. But it seems to be slower. Interesting. With...
These 5 tests just fail due to hard coded ground truth values. How about a new parameter like `mode` and `rgb2gray(rgb, mode='BT.709-1')` as well as `rgb2gray(rgb, mode='BT.709-6')` (new default) as...
If anyone is still searching, this is a working [solution](http://stackoverflow.com/questions/26217509/cordova-3-6-3-file-plugin-get-local-video-file-on-android/) for files in www/ (or www/videos/ respectively). ``` javascript var myFilename = "testvid.webm"; var myUrl = cordova.file.applicationDirectory + "www/videos/" +...