shogun-toolbox/shogun — pull request #652 by koenvandesande (2012-07-16 22:37:22+00:00)
Title: Use CBLAS optimized vector multiplication inside SGVector::vec1_plus_scalar_times_vec2

The function SGVector::vec1_plus_scalar_times_vec2 maps nicely onto
cblas_saxpy and cblas_daxpy, which are significantly faster.
The generic template for vec1_plus_scalar_times_vec2 is commented out, but it is not used anyway. Other (unoptimized) instantiations are trivial to write based on the commented out version, should they be needed in the future.