Trait nphysics3d::utils::GeneralizedCross[][src]

pub trait GeneralizedCross {
    type Rhs;
    type CrossVector;
    type CrossMatrix;
    type CrossMatrixTr;
    fn gcross(&self, rhs: &Self::Rhs) -> Self::CrossVector;
fn gcross_matrix(&self) -> Self::CrossMatrix;
fn gcross_matrix_tr(&self) -> Self::CrossMatrixTr; }
Expand description

This is a non-standard generalization of the cross product design exclusively to group the 3D cross product and the 2D perpendicular product behind the same interface.

Associated Types

The right-hand-side of this cross product.

The result type of the this (non-standard) generalized cross product.

The matrix representation of this (non-standard) generalized cross product.

The transposed matrix representation of this (non-standard) generalized cross product.

Required methods

Computes this (non-standard) generalized cross product.

Computes the matrix represenattion of this (non-standard) generalized cross product.

Computes the transposed matrix represenattion of this (non-standard) generalized cross product.

Implementations on Foreign Types

Implementors