 |
NumCpp
2.1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
54 template<
typename dtype>
65 auto lMatrix = inMatrix.template astype<double>();
71 lMatrix(row, col) = 0.0;
77 const double& a_kk = lMatrix(k, k);
85 lMatrix(i, k) /= lMatrix(k, k);
89 lMatrix(i,
j) -= lMatrix(i, k) * lMatrix(
j, k);
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4312
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:38
auto sqrt(dtype inValue) noexcept
Definition: sqrt.hpp:51
Shape shape(const NdArray< dtype > &inArray) noexcept
Definition: Functions/Shape.hpp:45
constexpr bool issquare() const noexcept
Definition: Core/Shape.hpp:124
constexpr auto j
Definition: Constants.hpp:46
std::uint32_t uint32
Definition: Types.hpp:41
uint32 cols
Definition: Core/Shape.hpp:46
#define THROW_RUNTIME_ERROR(msg)
Definition: Error.hpp:38
Definition: Coordinate.hpp:45
NdArray< double > cholesky(const NdArray< dtype > &inMatrix)
Definition: cholesky.hpp:55
uint32 rows
Definition: Core/Shape.hpp:45