50 template<
typename dtype>
55 const auto svd =
SVD{ inArray };
59 outVT = std::move(
svd.v().transpose());
#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
size_type numCols() const noexcept
Definition: NdArrayCore.hpp:3545
size_type numRows() const noexcept
Definition: NdArrayCore.hpp:3557
A Class for slicing into NdArrays.
Definition: Slice.hpp:45
Performs the singular value decomposition of a general matrix.
Definition: svd/SVD.hpp:50
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 > min(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: min.hpp:44