SyTen

◆ truncate_impl()

SRDef syten::MPS::Operator::truncate_impl ( TruncationType const &  type,
Index  max_sweeps = 0,
bool  verbose = false,
SRDef  threshold = NAN,
bool const  nowarn = false 
)
private

Actual implementation of the truncation, sweeps with the specified method until output dimensions don't change any longer if max_sweeps == 0 or until either max_sweeps have been done or the output dimension doesn't change any more.

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

+ Here is the call graph for this function: