# Alternative to cublasCaxpy

Hello,

I’ve a short question concerning CUBLAS.
I need du calculate the following equation (very often): c = a+alpha*b
where a, b, c are complex vectors und alpha is a complex number.

At the moment I copy a to c and then I use cublasCaxpy in order to calculate the equation.
Is there an equivalent function which doesn’t replace a vector like cublasCaxpy, so that I don’t need to copy the vector before?

Thank you very much,

Andy

solved - I wrote the routine on my own.