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

Description

Implements 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.cpp.

Include dependency graph for SpinMatrix.cpp:

Go to the source code of this file.

Functions

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

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 }