Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
qpe::anonymous_namespace{quantumhalledge2d.cpp} Namespace Reference

Functions

bool finite (double v) noexcept
 Performs finite.
 
void fail (std::string *reason, const char *text)
 Performs fail.
 
double coordinate (std::size_t i, std::size_t n, double d)
 Performs coordinate.
 
double meanXOf (const ComplexField2D &field)
 Performs mean x of.
 

Function Documentation

◆ coordinate()

double qpe::anonymous_namespace{quantumhalledge2d.cpp}::coordinate ( std::size_t i,
std::size_t n,
double d )

Performs coordinate.

Parameters
iThe i value used by the operation.
nThe n value used by the operation.
dThe d value used by the operation.

Definition at line 41 of file quantumhalledge2d.cpp.

◆ fail()

void qpe::anonymous_namespace{quantumhalledge2d.cpp}::fail ( std::string * reason,
const char * text )

Performs fail.

Parameters
reasonThe reason value used by the operation.
reasonThe reason value used by the operation.

Definition at line 33 of file quantumhalledge2d.cpp.

◆ finite()

bool qpe::anonymous_namespace{quantumhalledge2d.cpp}::finite ( double v)
noexcept

Performs finite.

Parameters
vThe v value used by the operation.

Definition at line 27 of file quantumhalledge2d.cpp.

◆ meanXOf()

double qpe::anonymous_namespace{quantumhalledge2d.cpp}::meanXOf ( const ComplexField2D & field)

Performs mean x of.

Parameters
fieldField data to read or modify.

Definition at line 50 of file quantumhalledge2d.cpp.

References qpe::ComplexField2D::dx(), qpe::ComplexField2D::dy(), qpe::ComplexField2D::empty(), qpe::ComplexField2D::height(), meanXOf(), and qpe::ComplexField2D::width().

Referenced by meanXOf().