pub type SimplePsuedoScalar<T, N> = SimpleBlade<T, N, N>;
Expand description

A N-dimensional psuedoscalar

Implementations

Creates a psuedoscalar directly from its component

use wedged::subspace::*;
use wedged::base::U3;

let x = 6.2831;
let s = SimpleBlade::<_,U3,U3>::new_psuedoscalar(x);

assert_eq!(s.value, x);
assert_eq!(s.grade(), 3);

Returns the unit psuedoscalar in dimension N