parallel_vector_copy

Function parallel_vector_copy 

Source
pub fn parallel_vector_copy<T>(
    x: &[T],
    y: &mut [T],
    options: Option<ParallelVectorOptions>,
)
where T: Float + NumAssign + Send + Sync + Copy,
Expand description

Parallel vector copy: y = x

Copies vector x to y using parallel processing when beneficial.

§Arguments

  • x - Source vector
  • y - Destination vector (will be overwritten)
  • options - Optional configuration (uses default if None)

§Panics

Panics if vectors have different lengths