![]()  | 
  
    BornAgain
    1.19.79
    
   Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering 
   | 
 
Public Member Functions | |
| SpinMatrix () | |
| Contructs the null matrix.  More... | |
| SpinMatrix (complex_t a_, complex_t b_, complex_t c_, complex_t d_) | |
| Constructs matrix with rows (a_,b_) and (c_,d_).  More... | |
| SpinMatrix | adjoint () const | 
| bool | allFinite () const | 
| Spinor | col0 () const | 
| Spinor | col1 () const | 
| complex_t | determinant () const | 
| SpinMatrix | operator* (complex_t) const | 
| SpinMatrix | operator* (const SpinMatrix &) const | 
| Spinor | operator* (const Spinor &) const | 
| SpinMatrix | operator* (double) const | 
| SpinMatrix | operator*= (complex_t) | 
| SpinMatrix | operator*= (const SpinMatrix &) | 
| SpinMatrix | operator*= (double) | 
| SpinMatrix | operator+ (const SpinMatrix &) const | 
| SpinMatrix | operator+= (const SpinMatrix &) | 
| SpinMatrix | operator- () const | 
| SpinMatrix | operator- (const SpinMatrix &) const | 
| SpinMatrix | operator/ (complex_t) const | 
| SpinMatrix | operator/ (double) const | 
| SpinMatrix | operator/= (complex_t) | 
| SpinMatrix | operator/= (double) | 
| complex_t | trace () const | 
Static Public Member Functions | |
| static SpinMatrix | Diag (complex_t a_, complex_t d_) | 
| static SpinMatrix | FromBlochVector (const R3 &v) | 
| Constructs matrix (I+v*s)/2, where s is the Pauli vector.  More... | |
| static SpinMatrix | One () | 
Public Attributes | |
| complex_t | a | 
| complex_t | b | 
| complex_t | c | 
| complex_t | d | 
| SpinMatrix::SpinMatrix | ( | complex_t | a_, | 
| complex_t | b_, | ||
| complex_t | c_, | ||
| complex_t | d_ | ||
| ) | 
Constructs matrix with rows (a_,b_) and (c_,d_).
| SpinMatrix::SpinMatrix | ( | ) | 
Contructs the null matrix.
| SpinMatrix SpinMatrix::adjoint | ( | ) | const | 
| bool SpinMatrix::allFinite | ( | ) | const | 
| Spinor SpinMatrix::col0 | ( | ) | const | 
| Spinor SpinMatrix::col1 | ( | ) | const | 
| complex_t SpinMatrix::determinant | ( | ) | const | 
      
  | 
  static | 
      
  | 
  static | 
Constructs matrix (I+v*s)/2, where s is the Pauli vector.
      
  | 
  static | 
| SpinMatrix SpinMatrix::operator* | ( | complex_t | ) | const | 
| SpinMatrix SpinMatrix::operator* | ( | const SpinMatrix & | ) | const | 
| SpinMatrix SpinMatrix::operator* | ( | double | ) | const | 
| SpinMatrix SpinMatrix::operator*= | ( | complex_t | ) | 
| SpinMatrix SpinMatrix::operator*= | ( | const SpinMatrix & | ) | 
| SpinMatrix SpinMatrix::operator*= | ( | double | ) | 
| SpinMatrix SpinMatrix::operator+ | ( | const SpinMatrix & | ) | const | 
| SpinMatrix SpinMatrix::operator+= | ( | const SpinMatrix & | ) | 
| SpinMatrix SpinMatrix::operator- | ( | ) | const | 
| SpinMatrix SpinMatrix::operator- | ( | const SpinMatrix & | ) | const | 
| SpinMatrix SpinMatrix::operator/ | ( | complex_t | ) | const | 
| SpinMatrix SpinMatrix::operator/ | ( | double | ) | const | 
| SpinMatrix SpinMatrix::operator/= | ( | complex_t | ) | 
| SpinMatrix SpinMatrix::operator/= | ( | double | ) | 
| complex_t SpinMatrix::trace | ( | ) | const | 
| complex_t SpinMatrix::a | 
| complex_t SpinMatrix::b | 
| complex_t SpinMatrix::c | 
| complex_t SpinMatrix::d |