cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
Namespaces | Functions
svd.hpp File Reference
#include <prc/config.hpp>
#include <prc/algorithms/jacobi_rotation.hpp>
#include <prc/core/basic/functions/min.hpp>
#include <prc/core/functors/max.hpp>
#include <prc/core/functors/min.hpp>
#include <prc/core/tensor/functions/chip.hpp>
#include <prc/core/tensor/functions/reduce.hpp>
#include <prc/core/tensor/functions/slice.hpp>
#include <prc/core/tensor/operator/functions/extract_diagonal.hpp>
#include <prc/core/tensor/operator/functions/from_diagonal.hpp>
#include <prc/core/tensor/operator/functions/is_unitary.hpp>
#include <prc/core/tensor/type_traits.hpp>
#include <prc/core/value/functions/is_approx.hpp>
#include <prc/core/value/limits.hpp>

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<class X , class R = RemoveReference<X>, If< IsTensorish< R > > = 0, If< IsFloat< typename R::Value > > = 0, If< IsSatisfied<(typename R::Dimension()==2)> > = 0>
static constexpr auto pRC::svd (X &&input)
 
template<Size C, class X , class R = RemoveReference<X>, If< IsTensorish< R > > = 0, class V = typename R::Value, class VT = V, If< All< IsFloat< V >, IsFloat< VT > > > = 0, If< IsSatisfied<(typename R::Dimension()==2)> > = 0, If< IsSatisfied<(C< min(R::size(0), R::size(1)))> > = 0>
static constexpr auto pRC::svd (X &&input, VT const &tolerance=NumericLimits< VT >::tolerance())