BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
Spinor Class Reference

Public Member Functions

 Spinor (complex_t u_, complex_t v_)
 
Spinor operator* (complex_t) const
 
Spinor operator+ (const Spinor &) const
 
Spinor operator- (const Spinor &) const
 
Spinor operator/ (complex_t) const
 

Static Public Member Functions

static Spinor Zero ()
 

Public Attributes

complex_t u
 
complex_t v
 

Constructor & Destructor Documentation

◆ Spinor()

Spinor::Spinor ( complex_t  u_,
complex_t  v_ 
)

Member Function Documentation

◆ operator*()

Spinor Spinor::operator* ( complex_t  ) const

◆ operator+()

Spinor Spinor::operator+ ( const Spinor ) const

◆ operator-()

Spinor Spinor::operator- ( const Spinor ) const

◆ operator/()

Spinor Spinor::operator/ ( complex_t  ) const

◆ Zero()

static Spinor Spinor::Zero ( )
static

Member Data Documentation

◆ u

complex_t Spinor::u

◆ v

complex_t Spinor::v