SyTen

◆ underThreshold()

template<typename Scalar , typename ThresholdType >
bool syten::underThreshold ( Scalar const &  x,
ThresholdType const &  threshold 
)
inline

Returns true if the argument is not over the threshold.

References isnan(), and syten::Caching::threshold.

Referenced by addScaled(), syten::OffsetDenseTensorImpl::addScaled(), syten::Krylov::TensorNetworksImpl::VarApplyOrtho::apply(), syten::MPS::apply_op_orthogonalise_fit(), syten::T3N::DMRG::Run::checkNormAndStabilise(), syten::T3N::RDMs::OrbRDM::checkValidity(), syten::MPS::RDMs::OrbRDM::checkValidity(), clip(), syten::Deparallelise::cols(), syten::Delinearise::cols_only(), syten::MPS::SymConv::SU2::Converter_SU2U1::decompose(), eigenDavidson(), eliminate_to_zero(), syten::MPS::DMRG::Worker::expand_to_left(), syten::MPS::expand_to_left(), syten::MPS::expand_to_left_lbo(), syten::MPS::DMRG::Worker::expand_to_right(), syten::MPS::expand_to_right(), syten::MPS::expand_to_right_lbo(), syten::MPS::expand_to_top(), syten::T3N::DMRG::Run::expandBranch(), syten::T3N::DMRG::Run::expandPhysical(), exponentialTensorSym(), syten::MPS::State::leftnorm(), syten::MPS::norm(), syten::Krylov::ClassicImpl::OrthoMat< Lanczos >::operator()(), syten::Krylov::ClassicImpl::Classic< Matrix, Vector, Solver, Ortho >::operator()(), syten::MPS::Operator::operator*=(), syten::SparseTensor< rank, Scalar >::operator+=(), syten::SparseTensor< rank, Scalar >::operator-=(), syten::MPS::RDMs::OrbRDM::OrbRDM(), syten::T3N::RDMs::OrbRDM::OrbRDM(), orthogonalise_solve_svd(), syten::MPS::orthogonalise_variational(), syten::Krylov::OrthoPolicies::Variational::orthonormalise(), syten::Krylov::OrthoPolicies::TwoSiteVariational::orthonormalise(), syten::Krylov::OrthoPolicies::Arithmetic::orthonormalise(), syten::QR::positify_diagonal(), syten::Delinearise::postprocess_coefficient(), prodS(), prune_small_reim(), syten::Tensor< rank >::reduce(), syten::MPS::State::rightnorm(), syten::Deparallelise::rows(), syten::MPS::TDVP::LBOWorker::run(), syten::Krylov::Evolution::run_evolution(), syten::MPS::schmidt_values(), select_cutoff_relative(), syten::Krylov::Standard< Matrix, Vector, OrthoPolicy, SolverPolicy >::solve(), sort_cols_sparsity(), syten::MPS::DMRG::Worker::sync(), to_string_rd(), and trace().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: