11using namespace Geometry;
26 const auto &latticeDomain =
dynamic_cast<const LatticeDomain &
>(domain);
29 }
catch (
const std::bad_cast &) {
30 throw std::invalid_argument(
"ILatticeFunction expects domain of type LatticeDomain.");
46 const auto &latticeDomain =
dynamic_cast<const LatticeDomain &
>(domain);
49 }
catch (
const std::bad_cast &) {
50 throw std::invalid_argument(
"ILatticeFunction expects domain of type LatticeDomain.");
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
Base class that represents the domain of a function.
FunctionParameterDecorator.
A class to store values calculated by a function.
void calNumericalDeriv(const FunctionDomain &domain, Jacobian &jacobian)
Calculate numerical derivatives.
void functionDeriv(const FunctionDomain &domain, Jacobian &jacobian) override
Implementation of IFunction::functionDeriv.
virtual void functionDerivLattice(const LatticeDomain &latticeDomain, Jacobian &jacobian)
Default implementation, throws NotImplementedError.
void function(const FunctionDomain &domain, FunctionValues &values) const override
Implementation of IFunction::function.
virtual void functionLattice(const LatticeDomain &latticeDomain, FunctionValues &values) const =0
Function that should calculate d-values for the HKLs provided in the domain.
Represents the Jacobian in IFitFunction::functionDeriv.
Marks code as not implemented yet.