◆ CoreFittingTarget()
◆ gradient()
Should return the derivative of the function.
Reimplemented from madness::OptimizationTargetInterface.
References madness::CorePotential::alpha, calc, Calculation::calc_deriv(), cp, madness::WorldGopInterface::fence(), madness::g, madness::World::gop, print(), r, tensor2vec(), value(), and world.
◆ provides_gradient()
bool CoreFittingTarget::provides_gradient |
( |
| ) |
const |
|
inlinevirtual |
◆ value()
double CoreFittingTarget::value |
( |
const tensorT & |
x | ) |
|
|
inlinevirtual |
Should return the value of the objective function.
Implements madness::OptimizationTargetInterface.
References madness::CorePotential::alpha, Calculation::amo, Calculation::bmo, calc, Calculation::calc_optimal_coeffs(), Calculation::compute_residuals(), madness::copy(), cp, e(), madness::WorldGopInterface::fence(), madness::World::gop, lastx, Calculation::nbeta, print(), r, Calculation::spin_restricted, madness::Tensor< T >::sumsq(), tensor2vec(), Calculation::vamo, Calculation::vbmo, world, and xsq.
Referenced by gradient().
◆ calc
◆ cp
◆ lastx
double CoreFittingTarget::r |
|
mutable |
◆ world
World& CoreFittingTarget::world |
◆ xsq
double CoreFittingTarget::xsq |
|
mutable |
The documentation for this struct was generated from the following file: