cudamat/cudamat — pull request #4 by f0k (2013-08-23 14:10:29+00:00)
Title: Expose alpha and beta arguments of cublasSgemm

This exposes the `alpha` and `beta` arguments of `cublasSgemm` (the dot product routine) whereever possible. This allows, for example, to update the velocity term of a weight matrix learned with momentum in a single `cudamat.dot()` call. It also allows for an efficient computation of the mean of a matrix along an axis, added for convenience.