Skip to content

File divide.h

FileList > algebra > operators > divide.h

Go to the source code of this file

  • #include "TempLat/lattice/algebra/helpers/getderiv.h"
  • #include "TempLat/lattice/algebra/operators/binaryoperator.h"
  • #include "TempLat/lattice/algebra/operators/multiply.h"
  • #include "TempLat/lattice/algebra/operators/subtract.h"
  • #include "TempLat/lattice/algebra/constants/onetype.h"
  • #include "TempLat/lattice/algebra/constants/zerotype.h"

Namespaces

Type Name
namespace TempLat
namespace Operators
Extra namespace, as names such as Add and Subtract are too generic.

Classes

Type Name
class Division <typename R, typename T>
A class which divides two expressions. Holds the expression, only evaluates for a single element when you call Divide::get(pIterCoords).
struct SafeDivision <typename R, typename T>
Check if numerator if roughly zero, don't do the division. Useful for spectrum fluctuation, when normalising with a cutoff.

The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/algebra/operators/divide.h