einsums::blas::copy#
Note
Generated from the C++ headers by apiary --emit-cpp-docs-json.
Defined in header Einsums/BLAS.hpp.
-
template<typename T>
void copy(int_t n, const T *x, int_t inc_x, T *y, int_t inc_y)# Copy data from one vector to another.
Added in version 2.0.0.
- Template Parameters:
T – The type this function handles.
- Parameters:
n – The number of elements to copy.
x – The input vector.
inc_x – The skip value for the input vector. If negative, the vector is traversed backwards. If zero, the values are broadcast to the output vector.
y – The output vector.
inc_y – The skip value for the output vector. If negative, the vector is traversed backwards.