BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
SpinMatrix.h File Reference

Description

Defines class SpinMatrix.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file SpinMatrix.h.

Include dependency graph for SpinMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SpinMatrix
 

Functions

SpinMatrix operator* (complex_t, const SpinMatrix &)
 
SpinMatrix operator* (double, const SpinMatrix &)
 

Function Documentation

◆ operator*() [1/2]

SpinMatrix operator* ( complex_t  f,
const SpinMatrix m 
)

Definition at line 145 of file SpinMatrix.cpp.

146 {
147  return m * f;
148 }

◆ operator*() [2/2]

SpinMatrix operator* ( double  f,
const SpinMatrix m 
)

Definition at line 150 of file SpinMatrix.cpp.

151 {
152  return m * f;
153 }