void syten::Cuda::scale | ( | CudaDynArray< std::complex< double > > & | a, |
double const | f | ||
) |
Scales the entries of a
by f
.
References get_handle(), handle_error(), syten::Cuda::CudaStream::sync_destroy(), SYTEN_BLAS_THREADS_SETUP, and SYTEN_BLAS_THREADS_TEARDOWN.