Trait peroxide::traits::math::VectorProduct

source ·
pub trait VectorProduct: Vector {
    // Required methods
    fn cross(&self, other: &Self) -> Self;
    fn outer(&self, other: &Self) -> Matrix;
}
Expand description

Vector Products

Required Methods§

source

fn cross(&self, other: &Self) -> Self

source

fn outer(&self, other: &Self) -> Matrix

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl VectorProduct for Vec<f64>

source§

fn cross(&self, other: &Self) -> Self

source§

fn outer(&self, other: &Self) -> Matrix

Implementors§