Skip to main content

CrossProduct

Trait CrossProduct 

Source
pub trait CrossProduct<T> {
    type Output;

    // Required method
    fn cross(self, other: T) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn cross(self, other: T) -> Self::Output

Returns the cross product with another rank-1 tensor.

Implementors§

Source§

impl<const I: usize> CrossProduct<&TensorRank1<3, I>> for &TensorRank1<3, I>

Source§

impl<const I: usize> CrossProduct<TensorRank1<3, I>> for &TensorRank1<3, I>