Skip to content

File squareroot.h

FileList > algebra > operators > squareroot.h

Go to the source code of this file

  • #include "TempLat/lattice/algebra/operators/power.h"
  • #include "TempLat/lattice/algebra/constants/halftype.h"

Namespaces

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

Classes

Type Name
struct SafeSqrt <typename R>
A function which applies a square root, by forwarding to power(x, 0.5), with 0.5 templated explicitly. Holds the expression, only evaluates for a single element when you call SquareRoot::get(pIterCoords).

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