Commit 3ff172dc authored by Torsten Ensslin's avatar Torsten Ensslin
Browse files

rewriting

parent 24147f38
...@@ -29,12 +29,14 @@ from .simple_linear_operators import VdotOperator ...@@ -29,12 +29,14 @@ from .simple_linear_operators import VdotOperator
class EnergyOperator(Operator): class EnergyOperator(Operator):
""" Basis class EnergyOperator. """ Basis class EnergyOperator.
The NIFTy EnergyOperator class derives from the Operator class. Operator which has a scalar domain as target domain.
An EnergyOperators transforms a field into a scalar, the information energy An EnergyOperator returns a scalar for a field, and a linearized
of the field. Typically, an EnergyOperators is an information Hamiltonian
( = negative log probability) or a Gibbs free energy ( = averaged Typical usage in IFT:
Hamiltonian), aka Kullbach-Leibler divergence. as an information Hamiltonian ( = negative log probability)
or as a Gibbs free energy ( = averaged Hamiltonian), aka Kullbach-Leibler
divergence.
An EnergyOperator can also provide its gradient as an EndomorphicOperator An EnergyOperator can also provide its gradient as an EndomorphicOperator
that converts a field into a field, the gradient of the Hamiltonian at the that converts a field into a field, the gradient of the Hamiltonian at the
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment