Skip to main content

CrossProduct

Trait CrossProduct 

Source
pub trait CrossProduct<T> {
    type Output;

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

The cross product of two rank-1 tensors.

Required Associated Types§

Source

type Output

The specific return type.

Required Methods§

Source

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

Returns the cross product with another rank-1 tensor.

Implementors§

Source§

impl<'a, I, U, V> CrossProduct<&'a TensorRank1<3, I, V>> for &TensorRank1<3, I, U>
where U: UnitMul<V>,

Source§

type Output = TensorRank1<3, I, <U as UnitMul<V>>::Output>

Source§

impl<I, U, V> CrossProduct<TensorRank1<3, I, V>> for &TensorRank1<3, I, U>
where U: UnitMul<V>,

Source§

type Output = TensorRank1<3, I, <U as UnitMul<V>>::Output>