 |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
56 template<
typename dtype>
72 lMatrix(col, col) = 1;
76 const double& divisor = uMatrix(col, col);
82 lMatrix(row, col) = uMatrix(row, col) / divisor;
86 uMatrix(row, col2) -= lMatrix(row, col) * uMatrix(col, col2);
91 return std::make_pair(lMatrix, uMatrix);
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
Shape shape(const NdArray< dtype > &inArray) noexcept
Definition: Functions/Shape.hpp:44
bool essentiallyEqual(dtype inValue1, dtype inValue2) noexcept
Definition: essentiallyEqual.hpp:52
std::pair< NdArray< double >, NdArray< double > > lu_decomposition(const NdArray< dtype > &inMatrix)
Definition: lu_decomposition.hpp:57
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
uint32 rows
Definition: Core/Shape.hpp:44