SyTen
tensor_svd.h File Reference

SVD of Tensor objects. More...

+ Include dependency graph for tensor_svd.h:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  syten::SVD::Pick_U_SV
 
struct  syten::SVD::Pick_US_V_
 

Namespaces

 syten
 Syten namespace.
 
 syten::SVD
 Singular Value Decomposition.
 

Macros

#define tsvd(...)   SVD::svd(__VA_ARGS__)
 A previously-used macro to auto-generate SVD names. More...
 

Functions

template<Rank rank>
SRDef syten::SVD::svd (Tensor< rank > const &in, Index uncombinedLeg, Tensor< 2 > &u, Tensor< 2 > &s, Tensor< rank > &v, Truncation const &trunc=Truncation(), DecompRescaleCGC const rescaleCGC=DecompRescaleCGC::Yes, GaugeFixSVD gf=GaugeFixSVD::n(), Pick_US_V_=Pick_US_V_(), SourceLocation location=SourceLocation::current())
 (Legacy) right-normalising SVD. More...
 
template<Rank rank>
SRDef syten::SVD::svd (Tensor< rank > const &in, Index uncombinedLeg, Tensor< rank > &u, Tensor< 2 > &s, Tensor< 2 > &v, Truncation const &trunc=Truncation(), DecompRescaleCGC const rescaleCGC=DecompRescaleCGC::Yes, GaugeFixSVD gf=GaugeFixSVD::n(), Pick_U_SV=Pick_U_SV(), SourceLocation location=SourceLocation::current())
 Left-normalising SVD. More...
 
template<Rank rank>
std::tuple< SRDef, Tensor< rank >, Tensor< 2 >, Tensor< 2 > > syten::SVD::svd (Tensor< rank > const &in, Index uncombinedLeg, Truncation const &trunc=Truncation(), DecompRescaleCGC const rescale=DecompRescaleCGC::Yes, GaugeFixSVD gf=GaugeFixSVD::n(), SourceLocation location=SourceLocation::current())
 A nicer interface to a named left-normalising SVD. More...
 

Detailed Description

SVD of Tensor objects.