50 template<
typename dtype>
55 SVD svdSolver(inArray.template astype<double>());
59 outVt = std::move(vt);
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:39
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:139
self_type transpose() const
Definition: NdArrayCore.hpp:4882
Definition: SVDClass.hpp:47
const NdArray< double > & s() noexcept
Definition: SVDClass.hpp:96
const NdArray< double > & v() noexcept
Definition: SVDClass.hpp:85
const NdArray< double > & u() noexcept
Definition: SVDClass.hpp:74
Definition: cholesky.hpp:41
void svd(const NdArray< dtype > &inArray, NdArray< double > &outU, NdArray< double > &outS, NdArray< double > &outVt)
Definition: svd.hpp:51
NdArray< dtype > diagflat(const NdArray< dtype > &inArray, int32 k=0)
Definition: diagflat.hpp:51