SyTen

◆ snorm()

SRDef syten::STensorImpl::snorm ( STensor const &  t,
SourceLocation const &  loc = SourceLocation::current() 
)

Returns the norm of a tensor as a standard scalar.

Remarks
Autodifferentiation information is lost.

References normSqd(), real(), and syten::sqrt().

Referenced by syten::T3N::apply_operator_itrunc(), syten::T3N::block_entropies_rec(), syten::T3N::DMRG::Run::checkNormAndStabilise(), syten::T3N::State::descendantNormaliseNode(), syten::IPEPSv2::directional_svd(), syten::T3N::TDVP::Worker::evolve_bond(), syten::T3N::TDVP::Worker::evolve_branching_1site(), syten::T3N::TDVP::Worker::evolve_phys_1site(), syten::T3N::TDVP::Worker::evolve_phys_2site(), syten::T3N::TDVP::Worker::evolve_phys_branch(), syten::T3N::TDVP::Worker::evolve_phys_branch_phys(), syten::T3N::DMRG::Run::expandBranch(), syten::IPEPSv2::expectation_value(), syten::IPEPSv2::full_update_apply_gate(), syten::IPEPSv2::full_update_cond_num(), syten::IPEPSv2::full_update_gauge_fix(), syten::STensorImpl::Autodiff::ComputeNode::get_output_adjoint(), syten::T3N::TDVP::Worker::norm_bond(), syten::IPEPSv2::operator+=(), syten::T3N::RDMs::OrbRDM::OrbRDM(), syten::IPEPSv2::SumOp::reduce(), syten::T3N::State::rootNormaliseNode(), syten::T3N::VarationalTrunc::run(), syten::T3N::TDVP::Worker::run(), syten::IPEPSv2::simple_update(), syten::T3N::DMRG::Run::sweep(), syten::T3N::TDVP::Worker::update_phys_branch(), syten::T3N::TDVP::Worker::update_phys_branch_phys(), and syten::T3N::TDVP::Worker::update_phys_phys().

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