.. index:: pair: struct; gpr::optim::SpectralTrustRegionStep .. _doxid-structgpr_1_1optim_1_1_spectral_trust_region_step: struct gpr::optim::SpectralTrustRegionStep ========================================== .. toctree:: :hidden: Overview ~~~~~~~~ The trust-region step of a first-order saddle search on a quadratic model given by its spectrum. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct SpectralTrustRegionStep { // fields bool :target:`valid` = false; Eigen::VectorXd :target:`step`; double :target:`sigma` = 0.0; double :target:`length` = 0.0; Eigen::Index :ref:`flat` = 0; double :ref:`flat_residual_sq` = 0.0; double :target:`kept_residual_sq` = 0.0; Eigen::Index :ref:`request` = -1; bool :ref:`descends_measured` = false; }; .. _details-structgpr_1_1optim_1_1_spectral_trust_region_step: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ The trust-region step of a first-order saddle search on a quadratic model given by its spectrum. Fields ------ .. index:: pair: variable; flat .. _doxid-structgpr_1_1optim_1_1_spectral_trust_region_step_1a67f91dafdc4bf7e81aaa546ac7856eb0: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::Index flat = 0 Transverse modes with nonpositive curvature the step left out. .. index:: pair: variable; flat_residual_sq .. _doxid-structgpr_1_1optim_1_1_spectral_trust_region_step_1a8e1c63ba08963bee6b67d5e5f9c0999d: .. ref-code-block:: cpp :class: doxyrest-title-code-block double flat_residual_sq = 0.0 Squared residual carried by the left-out modes and by the modes the step acted on. .. index:: pair: variable; request .. _doxid-structgpr_1_1optim_1_1_spectral_trust_region_step_1adcb462b5676857f708ee179a1c05d13a: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::Index request = -1 The left-out mode carrying the most residual, or -1. .. index:: pair: variable; descends_measured .. _doxid-structgpr_1_1optim_1_1_spectral_trust_region_step_1a06367185cef0e01308ef21493d5ec196: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool descends_measured = false The step descends along a measured negative transverse direction.