 |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
53 template<
typename dtype>
64 auto lMatrix = inMatrix.template astype<double>();
70 lMatrix(row, col) = 0.0;
76 const double& a_kk = lMatrix(k, k);
84 lMatrix(i, k) /= lMatrix(k, k);
88 lMatrix(i,
j) -= lMatrix(i, k) * lMatrix(
j, k);
bool issquare() const noexcept
Definition: Core/Shape.hpp:123
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4356
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:37
auto sqrt(dtype inValue) noexcept
Definition: sqrt.hpp:50
Shape shape(const NdArray< dtype > &inArray) noexcept
Definition: Functions/Shape.hpp:44
constexpr auto j
Definition: Constants.hpp:45
std::uint32_t uint32
Definition: Types.hpp:40
uint32 cols
Definition: Core/Shape.hpp:45
#define THROW_RUNTIME_ERROR(msg)
Definition: Error.hpp:37
Definition: Coordinate.hpp:44
NdArray< double > cholesky(const NdArray< dtype > &inMatrix)
Definition: cholesky.hpp:54
uint32 rows
Definition: Core/Shape.hpp:44