Trait nalgebra::CrossMatrix [] [src]

pub trait CrossMatrix<M> {
    fn cross_matrix(&self) -> M;
}

Trait of elements having a cross product operation which can be expressed as a matrix.

Required Methods

fn cross_matrix(&self) -> M

The matrix associated to any cross product with this vector. I.e. v.cross(anything) = v.cross_matrix().rmul(anything).

Implementors