49 template<
typename dtype>
62 for (
uint32 i = 0; i <
d.shape().rows; ++i)
64 dPlus(i, i) = 1. /
d(i, i);
#define STATIC_ASSERT_ARITHMETIC_OR_COMPLEX(dtype)
Definition StaticAsserts.hpp:56
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:139
self_type transpose() const
Definition NdArrayCore.hpp:4958
self_type dot(const self_type &inOtherArray) const
Definition NdArrayCore.hpp:2795
Definition cholesky.hpp:41
NdArray< double > pinv(const NdArray< dtype > &inArray)
Definition pinv.hpp:50
void svd(const NdArray< dtype > &inArray, NdArray< double > &outU, NdArray< double > &outS, NdArray< double > &outVt)
Definition svd.hpp:51
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition arange.hpp:59
std::uint32_t uint32
Definition Types.hpp:40