SciTools / biggus

:no_entry: [DEPRECATED] Virtual large arrays and lazy evaluation.
http://biggus.readthedocs.io/
GNU Lesser General Public License v3.0
54 stars 27 forks source link

Chained shared evaluation #26

Closed rhattersley closed 10 years ago

rhattersley commented 11 years ago

Compute the mean & standard deviation of the error with a single pass of the data.

>>> error = model - analysis
>>> isinstance(error, biggus.Array)
True
>>> mean_error = biggus.mean(error)
>>> std_error = biggus.std(error)
>>> mean_error, std_error = biggus.ndarrays([mean_error, std_error])
rhattersley commented 10 years ago

Done.