//! Trust-Krylov algorithm trait.
use crateDType;
use Var;
use Result as NumrResult;
use Runtime;
use Tensor;
use ;
use crateOptimizeResult;
/// Trust-Krylov: Trust region with GLTR (Generalized Lanczos Trust Region).
///
/// Uses Lanczos iteration to build a tridiagonal approximation of H,
/// then solves the trust region subproblem in the reduced Krylov space.
/// Memory: O(kn) where k is the Lanczos iteration count.