 |
NumCpp
2.1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
57 template<
typename dtype>
73 lMatrix(col, col) = 1;
77 const double& divisor = uMatrix(col, col);
83 lMatrix(row, col) = uMatrix(row, col) / divisor;
87 uMatrix(row, col2) -= lMatrix(row, col) * uMatrix(col, col2);
92 return std::make_pair(lMatrix, uMatrix);
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4312
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:38
Shape shape(const NdArray< dtype > &inArray) noexcept
Definition: Functions/Shape.hpp:45
bool essentiallyEqual(dtype inValue1, dtype inValue2) noexcept
Definition: essentiallyEqual.hpp:53
std::pair< NdArray< double >, NdArray< double > > lu_decomposition(const NdArray< dtype > &inMatrix)
Definition: lu_decomposition.hpp:58
constexpr bool issquare() const noexcept
Definition: Core/Shape.hpp:124
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
uint32 rows
Definition: Core/Shape.hpp:45