build/browser/index.js
/**
     * Reduce to the SpinorE3 data structure.
     * If the value of the spinor is 1, return void 0.
     */
Reduce to the SpinorE3 data structure.
If the value of the spinor is 1, return void 0.
Reduce to the SpinorE3 data structure . If the value of the spinor is 1 return void 0 .
function simplify(spinor) {
        if (spinor.a !== 1 || spinor.xy !== 0 || spinor.yz !== 0 || spinor.zx !== 0) {
            return { a: spinor.a, xy: spinor.xy, yz: spinor.yz, zx: spinor.zx };
        }
        else {
            return void 0;
        }
    }
function simplify ( spinor ) { if ( spinor . a !== 1 || spinor . xy !== 0 || spinor . yz !== 0 || spinor . zx !== 0 ) { return { a : spinor . a , xy : spinor . xy , yz : spinor . yz , zx : spinor . zx } ; } else { return void 0 ; } }
Reduce to the SpinorE3 data structure.
Reduce to the SpinorE3 data structure .