Skip to main content

copy_conj_into

Function copy_conj_into 

Source
pub fn copy_conj_into<T: Copy + ElementOpApply + Send + Sync>(
    dest: &mut StridedViewMut<'_, T>,
    src: &StridedView<'_, T>,
    exec: Exec<'_>,
) -> Result<()>
Expand description

Overwriting copy with complex conjugation: dest[i] = conj(src[i]).

ยงErrors

The rejection set of copy_into: StridedError::RankMismatch or StridedError::ShapeMismatch when the views describe different extents, StridedError::OffsetOverflow when the element count of the shape does not fit in usize, and StridedError::NonInjectiveOutputLayout when the destination layout cannot be proven representable and injective. Nothing is written unless validation succeeds.