pub trait Signum {
    type Output;

    // Required method
    fn signum(self) -> Self::Output;
}
Expand description

Direction without magnitude (set to scalar -1.0 or 1.0)

Also called sign or normalize

Required Associated Types§

Required Methods§

source

fn signum(self) -> Self::Output

Implementations on Foreign Types§

source§

impl Signum for f32

§

type Output = f32

source§

fn signum(self) -> f32

Implementors§

source§

impl Signum for ComplexNumber

source§

impl Signum for geometric_algebra::epga2d::IdealPoint

source§

impl Signum for geometric_algebra::epga2d::Motor

source§

impl Signum for geometric_algebra::epga2d::MotorDual

source§

impl Signum for geometric_algebra::epga2d::MultiVector

source§

impl Signum for geometric_algebra::epga2d::Plane

source§

impl Signum for geometric_algebra::epga2d::Point

source§

impl Signum for geometric_algebra::epga2d::Rotor

source§

impl Signum for geometric_algebra::epga2d::Translator

source§

impl Signum for geometric_algebra::epga3d::IdealPoint

source§

impl Signum for geometric_algebra::epga3d::Line

§

type Output = Line

source§

impl Signum for geometric_algebra::epga3d::Motor

source§

impl Signum for geometric_algebra::epga3d::MultiVector

source§

impl Signum for geometric_algebra::epga3d::Plane

source§

impl Signum for geometric_algebra::epga3d::Point

source§

impl Signum for geometric_algebra::epga3d::PointAndPlane

source§

impl Signum for geometric_algebra::epga3d::Rotor

source§

impl Signum for geometric_algebra::epga3d::Translator

source§

impl Signum for SplitComplexNumber

source§

impl Signum for geometric_algebra::hpga2d::IdealPoint

source§

impl Signum for geometric_algebra::hpga2d::Motor

source§

impl Signum for geometric_algebra::hpga2d::MotorDual

source§

impl Signum for geometric_algebra::hpga2d::MultiVector

source§

impl Signum for geometric_algebra::hpga2d::Plane

source§

impl Signum for geometric_algebra::hpga2d::Point

source§

impl Signum for geometric_algebra::hpga2d::Rotor

source§

impl Signum for geometric_algebra::hpga2d::Translator

source§

impl Signum for geometric_algebra::hpga3d::IdealPoint

source§

impl Signum for geometric_algebra::hpga3d::Line

§

type Output = Line

source§

impl Signum for geometric_algebra::hpga3d::Motor

source§

impl Signum for geometric_algebra::hpga3d::MultiVector

source§

impl Signum for geometric_algebra::hpga3d::Plane

source§

impl Signum for geometric_algebra::hpga3d::Point

source§

impl Signum for geometric_algebra::hpga3d::PointAndPlane

source§

impl Signum for geometric_algebra::hpga3d::Rotor

source§

impl Signum for geometric_algebra::hpga3d::Translator

source§

impl Signum for DualNumber

source§

impl Signum for geometric_algebra::ppga2d::Motor

source§

impl Signum for geometric_algebra::ppga2d::MotorDual

source§

impl Signum for geometric_algebra::ppga2d::MultiVector

source§

impl Signum for geometric_algebra::ppga2d::Plane

source§

impl Signum for geometric_algebra::ppga2d::Point

source§

impl Signum for geometric_algebra::ppga2d::Rotor

source§

impl Signum for geometric_algebra::ppga2d::Translator

source§

impl Signum for geometric_algebra::ppga3d::Line

§

type Output = Line

source§

impl Signum for geometric_algebra::ppga3d::Motor

source§

impl Signum for geometric_algebra::ppga3d::MultiVector

source§

impl Signum for geometric_algebra::ppga3d::Plane

source§

impl Signum for geometric_algebra::ppga3d::Point

source§

impl Signum for geometric_algebra::ppga3d::PointAndPlane

source§

impl Signum for geometric_algebra::ppga3d::Rotor

source§

impl Signum for geometric_algebra::ppga3d::Translator